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

sdk: use TelemetryResource.default as an initial resource #532

Merged
merged 1 commit into from
Mar 9, 2024

Conversation

iRevive
Copy link
Contributor

@iRevive iRevive commented Mar 4, 2024

Motivation

We should use the default TelemetryResource as an initial one. Otherwise, mandatory build-time information (library version, etc) is missing.

OpenTelemetry Java has identical logic: https://github.com/open-telemetry/opentelemetry-java/blob/main/sdk-extensions/autoconfigure/src/main/java/io/opentelemetry/sdk/autoconfigure/ResourceConfiguration.java#L88.

@iRevive iRevive added the sdk module Features and improvements to the sdk module label Mar 4, 2024
@iRevive iRevive requested a review from NthPortal March 4, 2024 08:00
@iRevive iRevive changed the title sdk: use TelemetryResource.default as an initial resource in TelemetryResourceAutoConfigure sdk: use TelemetryResource.default as an initial resource Mar 4, 2024
@iRevive iRevive force-pushed the sdk/resource-configurer-default branch from c23c1b8 to 6eeb457 Compare March 4, 2024 11:29
@iRevive iRevive force-pushed the sdk/resource-configurer-default branch from 6eeb457 to d9ae870 Compare March 8, 2024 11:27
@iRevive iRevive merged commit 317f8ab into typelevel:main Mar 9, 2024
10 checks passed
@iRevive iRevive deleted the sdk/resource-configurer-default branch March 9, 2024 11:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
sdk module Features and improvements to the sdk module
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants