-
Notifications
You must be signed in to change notification settings - Fork 867
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
Add experimental span attribute job.system #6586
Conversation
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 should probably include Spring Batch too.
One more question: this kinda duplicates the instrumentation/scope name, is that not usable for you?
will do
oh ya, I should have mentioned, I want to detect now in a sampler, which doesn't have scope (yet) 😞 |
* Add experimental span attribute job.system * spring-batch
* Add experimental span attribute job.system * spring-batch
* Add experimental span attribute job.system * spring-batch
Question on this: shouldn't it be a resource attribute instead of a span attribute? We already have these today for identifying the web Engine: With attributes:
It feels to me like the same structure would apply to a job scheduler/runner. |
hi @julealgon! I don't see |
Hi @trask . Those I was arguing/asking whether it would not have made more sense to have |
@julealgon the scheduling library, such as quarts, is but a small part of the application, but the resource is shared for all telemetry from the same jvm. |
Introduces experimental
job.system
span attribute from open-telemetry/opentelemetry-specification#1582[motivation: we're mapping scheduled jobs to "top-level" operations (similar to SERVER/CONSUMER spans, but scheduled jobs are INTERNAL), and I need a way to identify them that doesn't involve checking the InstrumentationScope, since the scope isn't available in samplers]