opentelemetry-instrumentation
package and export traces to Aspecto's opentelemetry collector.flask
in your application, you need to install the package opentelemetry-instrumentation-flask
.OTEL_SERVICE_NAME
- set to the name of the serviceOTEL_EXPORTER_OTLP_HEADERS
- set to Authorization=${YOUR_ASPECTO_TOKEN}
. You can get your token here.OTEL_EXPORTER_OTLP_TRACES_ENDPOINT
- set to https://otelcol.aspecto.io:4317
opentelemetry-instrument
command: