You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We noticed in setting up the smoke tests that setting a HONEYCOMB_API_ENDPOINT isn't picked up from the opentelemetry-instrument command that parses that distro options. #91 (comment)
Setting this as an environment variable should overwrite the DEFAULT_API_ENDPOINT.
The text was updated successfully, but these errors were encountered:
…ent variable (#99)
<!--
Thank you for contributing to the project! 💜
Please see our [OSS process
document](https://github.com/honeycombio/home/blob/main/honeycomb-oss-lifecycle-and-practices.md#)
to get an idea of how we operate.
-->
## Which problem is this PR solving?
- Closes#98
## Short description of the changes
Parses HONEYCOMB_API_ENDPOINT as an option.
## How to verify that this has the expected result
In the hello-world-flask app, try something like `DEBUG=TRUE
HONEYCOMB_API_ENDPOINT=http://collector:4317
OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf
OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=http://custom.metrics:666 poetry run
opentelemetry-instrument flask run` to see the expected endpoint
resolution:
```
'traces_exporter_protocol': 'http/protobuf',
'metrics_exporter_protocol': 'http/protobuf',
'endpoint': 'http://collector:4317',
'traces_endpoint': 'http://collector:4317/v1/traces',
'metrics_endpoint': 'http://custom.metrics:666',
// not expected to append /v1/metrics for http protocol w/ specifically declared OTEL_EXPORTER_OTLP_METRICS_ENDPOINT
```
We noticed in setting up the smoke tests that setting a HONEYCOMB_API_ENDPOINT isn't picked up from the
opentelemetry-instrument
command that parses that distro options. #91 (comment)Setting this as an environment variable should overwrite the DEFAULT_API_ENDPOINT.
The text was updated successfully, but these errors were encountered: