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

fix: add set service name for otel in local #9644

Merged
merged 2 commits into from
Nov 1, 2024
Merged

Conversation

Maddiaa0
Copy link
Member

@Maddiaa0 Maddiaa0 commented Nov 1, 2024

Adds service names

complementary to #9642

Copy link
Member Author

Maddiaa0 commented Nov 1, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Maddiaa0 and the rest of your teammates on Graphite Graphite

@Maddiaa0 Maddiaa0 closed this Nov 1, 2024
@Maddiaa0 Maddiaa0 reopened this Nov 1, 2024
@Maddiaa0 Maddiaa0 changed the title fix: set service names for otel fix: add set service name for otel in local Nov 1, 2024
-e OTEL_EXPORTER_OTLP_LOGS_ENDPOINT=${OTEL_EXPORTER_OTLP_LOGS_ENDPOINT:-} \
-e OTEL_EXPORTER_OTLP_METRICS_ENDPOINT=${OTEL_EXPORTER_OTLP_METRICS_ENDPOINT:-} \
-e OTEL_EXPORTER_OTLP_TRACES_ENDPOINT=${OTEL_EXPORTER_OTLP_TRACES_ENDPOINT:-} \
-e LOG_JSON=${LOG_JSON:-}
Copy link
Collaborator

@ludamad ludamad Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does env not pass by default? Seemed to work without this

Copy link
Member Author

@Maddiaa0 Maddiaa0 Nov 1, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im not sure if its my configuration, but it did not work for me, when i attempted to log they were unset

@ludamad ludamad enabled auto-merge (squash) November 1, 2024 17:57
@ludamad ludamad disabled auto-merge November 1, 2024 18:00
@ludamad ludamad merged commit b70b6f1 into master Nov 1, 2024
67 checks passed
@ludamad ludamad deleted the md/add-otel-service-name branch November 1, 2024 18:00
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