Open Source API Gateway
4. Monitoring, Logging and Statistics

openTelemetry

Version

Creates an OpenTelemetry span for each HTTP request passing through. Sends the tracing data to the speficied OpenTelemetry collector. See also examples/monitoring-tracing/opentelemetry for a demo, including screenshots.

Syntax

openTelemetry:
customAttributes:
- <customAttribute>
logBody: <boolean>
otlpExporter: {}
sampleRate: <number>
openTelemetry:
  customAttributes:
    - <customAttribute>
  logBody: <boolean>
  otlpExporter: {}
  sampleRate: <number>

Attributes

NameRequiredDefaultDescriptionExamples
logBodyfalse---
sampleRatefalse---

Child Structure

ElementCardinalityDescription
customAttribute0..*
otlpExporter0..1

Can be used in