Skip to content
New issue

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

Pass OTEL_SERVICE_NAME to OpenTelemetry #18

Merged
merged 2 commits into from
Sep 15, 2023

Conversation

danieljharvey
Copy link
Contributor

Previously the OpenTelemetry service name was hardcoded as ndc-hub. This adds a serve command option that allows it to be set by the OTEL_SERVICE_NAME env var as described in the docs.

Here it is in action with Postgres NDC:

Screenshot 2023-08-23 at 12 07 33

@danieljharvey danieljharvey force-pushed the djh/NDAT-821/service-name-as-input branch from 7bc7ae3 to 02457f6 Compare September 15, 2023 11:26
@danieljharvey danieljharvey merged commit d9fa0d6 into main Sep 15, 2023
4 checks passed
@SamirTalwar SamirTalwar deleted the djh/NDAT-821/service-name-as-input branch October 24, 2023 09:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants