Skip to content

Commit

Permalink
add documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
dmehala committed May 30, 2024
1 parent ae64c87 commit 8b89a37
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/shared-variables.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Shared Variables

The plugin shares variables that can be accessed by other plugins through [kong.ctx.shared](https://docs.konghq.com/gateway/latest/plugin-development/pdk/kong.ctx/#kongctxshared).

- `kong_shared.datadog_sdk_trace_id` is the TraceID of the current request.
- `kong_shared.datadog_sdk_span_id` is the SpanID of the current request.

0 comments on commit 8b89a37

Please sign in to comment.