From ba512bc8e0170b7ec3477e84318b9a5db6f3fe39 Mon Sep 17 00:00:00 2001 From: lena-larionova Date: Wed, 30 Oct 2024 15:46:15 -0700 Subject: [PATCH] add link to logging module --- app/_hub/kong-inc/opentelemetry/overview/_index.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/_hub/kong-inc/opentelemetry/overview/_index.md b/app/_hub/kong-inc/opentelemetry/overview/_index.md index dde12b216bcc..ed5611daa587 100644 --- a/app/_hub/kong-inc/opentelemetry/overview/_index.md +++ b/app/_hub/kong-inc/opentelemetry/overview/_index.md @@ -160,6 +160,12 @@ In addition to the above, when **tracing** is enabled, request-scoped logs inclu - `TraceID`: Request trace ID. - `SpanID`: Request span ID. - `TraceFlags`: W3C trace flag. + +#### Logging for custom plugins + +The custom plugin PDK [`kong.telemetry.log`](/gateway/latest/plugin-development/pdk/kong.telemetry.log/) module lets you configure OTLP logging for a custom plugin. +The module records a structured log entry, which is reported via the OpenTelemetry plugin. + {% endif_version %} {% if_version gte:3.3.x %}