Distributed tracing can now be enabled for Haventec IAM starting with version 19.0.2. In order to enable the traces for IAM, the following new environment variables are to be provided at startup. The name and values for these environment variables depends on the type of selected exporter.
Selected Exporter | Environment Variables |
jaeger | OTEL_TRACES_EXPORTER=jaeger OTEL_EXPORTER_JAEGER_ENDPOINT |
otlp |
OTEL_TRACES_EXPORTER=otlp OTEL_EXPORTER_OTLP_ENDPOINT |
zipkin |
OTEL_TRACES_EXPORTER=zipkin OTEL_EXPORTER_ZIPKIN_ENDPOINT |
prometheus |
OTEL_METRICS_EXPORTER=prometheus OTEL_EXPORTER_PROMETHEUS_PORT OTEL_EXPORTER_PROMETHEUS_HOST |
For example, if the chosen exporter is jaeger and the Jaeger Collector is running at http://jaeger.mycompany.com:14250, provide the following environment variables to the docker image at startup. Please make sure the Jaeger GRPC Collector is running at the specified host and port.
OTEL_TRACES_EXPORTER = jaeger
OTEL_TRACES_JAEGER_ENDPOINT=http://jaeger.mycompany.com:14250
Comments
0 comments
Please sign in to leave a comment.