Skip to content

kivra/krakend-otel

 
 

Repository files navigation

KrakenD OpenTelemetry (krakend-otel)

OpenTelemetry building blocks to instrument KrakenD and Lura based API Gateways.

Apache License 2.0

Documentation:

Example

For a quick look at the observability the library can provide, check the example documentation.

Configuration from Lura's ServiceConfig

In order to configure the open telemetry stack to instrument the API Gateway, a new entry must be added to the ExtraConfig root propertry of ServiceConfig using the telemetry/opentelemetry key, with the krakend-otel's configuration.

See the configuration of the component.

In a visual way, this is the relation between the exporters configuration, and how we select as metric_providers or trace_providers:

krakend_otel_exporters.svg

Layers, Traces and Metrics

The most up to date documentation about the different supported layers, and the produced metrics and traces is available in the Understanding OpenTelemetry layers and metrics documentation.

We can differentiate the processing of a request in KrakenD in 3 main stages (each one including or wrapping the inner stage):

Additional information

About

KrakenD component for OpenTelemetry

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 95.7%
  • Makefile 2.1%
  • Shell 1.3%
  • Other 0.9%