-
Notifications
You must be signed in to change notification settings - Fork 40.7k
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
Review OpenTelemetry and OTLP support for consistency #41460
Comments
We should keep this consistency review in mind when working on: |
I got something started here: https://github.com/mhalbritter/spring-boot/tree/mh/41460-review-opentelemetry-and-otlp-support-for-consistency It moves the stuff under The package structure is now the same as for tracing. The properties for tracing and logging look consistent too ( |
The underlying method on We could either fix that to be consistent to the other metrics properties ( |
We could add Right now,
which lead me to think that this is the read timeout. There's also a |
Regarding |
I don't see a way to add |
Regarding the read and connect timeout: While we can add connect timeout properties to The method we call at the moment, There's no method to set the read timeout. |
After a refactoring, it now looks like this:
Logging
PropertiesFrom
MetricsOTLP classes in PropertiesFrom
Tracing
PropertiesFrom
I've also renamed |
Packages
org.springframework.boot.actuate.autoconfigure.logging.opentelemetry
org.springframework.boot.actuate.autoconfigure.logging.opentelemetry.otlp
org.springframework.boot.actuate.autoconfigure.metrics.export.otlp
org.springframework.boot.actuate.autoconfigure.opentelemetry
org.springframework.boot.actuate.autoconfigure.opentelemetry.otlp
org.springframework.boot.actuate.autoconfigure.tracing.otlp
Properties
management.otlp.logging.compression
management.otlp.logging.endpoint
management.otlp.logging.headers.*
management.otlp.logging.timeout
management.otlp.metrics.export.aggregation-temporality
management.otlp.metrics.export.base-time-unit
management.otlp.metrics.export.batch-size
management.otlp.metrics.export.connect-timeout
management.otlp.metrics.export.enabled
management.otlp.metrics.export.headers.*
management.otlp.metrics.export.read-timeout
management.otlp.metrics.export.step
management.otlp.metrics.export.url
management.otlp.tracing.compression
management.otlp.tracing.endpoint
management.otlp.tracing.headers.*
management.otlp.tracing.timeout
management.otlp.tracing.transport
Connection Details
OtlpLoggingConnectionDetails
getUrl(Transport)
(management.otlp.logging.endpoint
)OtlpMetricsConnectionDetails
getUrl()
(management.otlp.metrics.export.url
)OtlpTracingConnectionDetails
getUrl(Transport)
(management.otlp.tracing.endpoint
)The text was updated successfully, but these errors were encountered: