Distributed tracing can now be enabled for Haventec Connect starting with version 1.1.1. In order to enable the traces for Connect, 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, add the below environment variables to the Haventec Connect Configuration Files. 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.