Add experimental span attribute job.system#6586
Add experimental span attribute job.system#6586trask merged 2 commits intoopen-telemetry:mainfrom trask:job-system-attr
Conversation
mateuszrzeszutek
left a comment
There was a problem hiding this comment.
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.systemspan 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]