We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OTEL instrumentation does not use environment variable OTEL_RESOURCE_ATTRIBUTES
nginx version: openresty/1.19.3.1 quay.io/3scale/apicast:3scale-2.14-stable --> 2023-11-10T09:56:41.963416283Z
Set up OTEL as follows. Envars:
OPENTELEMETRY=1 OPENTELEMETRY_CONFIG=/tmp/otel.toml OTEL_EXPORTER_OTLP_HEADERS=Authorization=Bearer xxxx OTEL_EXPORTER_OTLP_ENDPOINT=http://splunk-otel-collector-local.temo-splunk-accept.svc.cluster.local:4317/ OTEL_RESOURCE_ATTRIBUTES=deployment.environment=pcss-accept OTEL_SERVICE_NAME=api-gateway
FIle /tmp/otel.toml
# OTEL configuration exporter = "otlp" processor = "batch" [exporters.otlp] # Alternatively, the OTEL_EXPORTER_OTLP_ENDPOINT environment variable can also be used. # However that currently fails with image quay.io/3scale/apicast:3scale-2.14-stable host = "splunk-otel-collector-local.temo-splunk-accept.svc.cluster.local" port = 4317 [processors.batch] max_queue_size = 2048 schedule_delay_millis = 5000 max_export_batch_size = 512
OTEL data is sent to the endpoint, however
pcss-accept
OTEL data is sent to the endpoint with the environment specified and with the TraceId of the parent request.
N/A
The text was updated successfully, but these errors were encountered:
Checking the opentelemetry docs, look like we will need to explicitly set the the env directive to be able to use other environment variables
env
env OTEL_EXPORTER_OTLP_HEADERS; env OTEL_EXPORTER_OTLP_ENDPOINT; .... http { . . . }
Sorry, something went wrong.
No branches or pull requests
OTEL instrumentation does not use environment variable OTEL_RESOURCE_ATTRIBUTES
Version
nginx version: openresty/1.19.3.1
quay.io/3scale/apicast:3scale-2.14-stable --> 2023-11-10T09:56:41.963416283Z
Steps To Reproduce
Set up OTEL as follows.
Envars:
FIle /tmp/otel.toml
Current Result
OTEL data is sent to the endpoint, however
pcss-accept
Expected Result
OTEL data is sent to the endpoint with the environment specified and with the TraceId of the parent request.
Additional Information
N/A
The text was updated successfully, but these errors were encountered: