Customizing Span Names for QuartzTelemetry
when running from javaagent
#11915
-
Hi all, the default QuartzSpanNameExtractor uses the Quartz job's group and job key to generate the span name. This might be quite OK for cron jobs, however, for jobs started ad-hoc this produces verbose span names which cannot be used for grouping, e.g. in metrics. I could imagine a few ways to improve this:
Please let me know if there's any interest in either of the 2 options being implemented and I can work on it. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
hi @dvag-gloeckner-daniel, it's a bit tricky to provide a custom span name extractor to the javaagent would it work for you to use the quartz library instrumentation where you can provide a custom span name extractor, and suppressing the javaagent quartz instrumentation? (https://opentelemetry.io/docs/zero-code/java/agent/disable/#suppressing-specific-agent-instrumentation) |
Beta Was this translation helpful? Give feedback.
hi @dvag-gloeckner-daniel, it's a bit tricky to provide a custom span name extractor to the javaagent
would it work for you to use the quartz library instrumentation where you can provide a custom span name extractor, and suppressing the javaagent quartz instrumentation? (https://opentelemetry.io/docs/zero-code/java/agent/disable/#suppressing-specific-agent-instrumentation)