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