-
Notifications
You must be signed in to change notification settings - Fork 40.8k
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
Provide OpenTelemetry Resource as a bean #36544
Comments
I have something sketched out here: ccf9fc7 |
The new resource attributes live under There are |
The OpenTelemetry bean is now configured in the OpenTelemetryAutoConfiguration. This method also applies SdkLoggerProvider and SdkMeterProvider. Additionally, the OpenTelemetry Resource is now a bean. Resource attributes can now be configured through properties The resourceAttributes in OtlpProperties have been deprecated in favor of the new one in OpenTelemetryProperties. Closes spring-projectsgh-36544 Closes spring-projectsgh-36545
The OpenTelemetry bean is now configured in the OpenTelemetryAutoConfiguration. This method also applies SdkLoggerProvider and SdkMeterProvider. Additionally, the OpenTelemetry Resource is now a bean. Resource attributes can now be configured through properties The resourceAttributes in OtlpProperties have been deprecated in favor of the new one in OpenTelemetryProperties. Closes spring-projectsgh-36544 Closes spring-projectsgh-36545
I've flagged this as team meeting so that we can discuss the problem with the two |
The OpenTelemetry bean is now configured in the OpenTelemetryAutoConfiguration. This method also applies SdkLoggerProvider and SdkMeterProvider. Additionally, the OpenTelemetry Resource is now a bean. Resource attributes can now be configured through properties The resourceAttributes in OtlpProperties have been deprecated in favor of the new one in OpenTelemetryProperties. Closes spring-projectsgh-36544 Closes spring-projectsgh-36545
We talked about that today and we're going to rename the When #14860 is implemented, we can deprecate the tracing auto-configuration and rename the class to |
@mhalbritter Is there a reason why |
|
Our current
OpenTelemetryAutoConfiguration
uses theio.opentelemetry.sdk.resources.Resource
inside theSdkTracerProvider
bean method. To make it easier to use this resource for other OpenTelemetry components, we should expose it as a bean.Additionally, we should add some properties to let users configure resource attributes.
The text was updated successfully, but these errors were encountered: