Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Respect environment variables when creating internal tracer (#6179)
## Which problem is this PR solving? Resolves #6122 ## Description of the changes - The changes include using the `otlptracegrpc.WithInsecure()` based on `OTEL_EXPORTER_OTLP_ENDPOINT` and `OTEL_EXPORTER_OTLP_INSECURE` env variables. ## Checklist - [x] I have read https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md - [x] I have signed all commits - [ ] I have added unit tests for the new functionality - [ ] I have run lint and test steps successfully - for `jaeger`: `make lint test` - for `jaeger-ui`: `yarn lint` and `yarn test` --------- Signed-off-by: Alok Kumar Singh <[email protected]>
- Loading branch information