-
Notifications
You must be signed in to change notification settings - Fork 1k
Add descriptions and metadata for spring modules #14309
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
Conversation
…mentation into spring-metadata
zeitlinger
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great stuff 😄
| excludeTestsMatching("*CustomSpanEventTest") | ||
| } | ||
|
|
||
| systemProperty("collectMetadata", findProperty("collectMetadata")?.toString() ?: "false") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems repetitive - maybe we can add it to https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/conventions/src/main/kotlin/otel.javaagent-testing.gradle.kts
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First I need to go through and review all of the module gradle files so that I can tag the resulting telemetry accordingly, based on the configuration flags. Once we have annotated all the test suites, we can remove the individual collectMetadata and collectSpans from the individual files and add them globally like you suggest
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you could also pass flags like here to indicate which modules support this:
Line 12 in dfc79eb
| abstract val minJavaVersionSupported: Property<JavaVersion> |
| default: false | ||
| - name: otel.instrumentation.messaging.experimental.receive-telemetry.enabled | ||
| description: Enables experimental receive telemetry for AWS SDK instrumentation. | ||
| description: > |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we probably want to have a glossary of all config properties like we have for all semantic attributes at some point - to avoid this repetition
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yea, weaver uses references to attributes and other things defined in registries, so I imagine we'll eventually do something similar
…java-instrumentation into spring-metadata
zeitlinger
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
great 😄
…mentation into spring-metadata
Part of #13468
Covers all of the spring modules, as well as the newly introduced openai instrumentation