Apache ElasticJob
OpenTelemetry Java agent instrumentation
This instrumentation enables spans for Apache ElasticJob job executions.
- Name:
apache-elasticjob-3.0 - Scope:
io.opentelemetry.apache-elasticjob-3.0 - Target versions:
org.apache.shardingsphere.elasticjob:elasticjob-lite-core:[3.0.0,) - Library: https://shardingsphere.apache.org/elasticjob/
Telemetry
When default
Spans
| Span kind | Attributes |
|---|---|
| INTERNAL | code.function (STRING), code.namespace (STRING) |
When otel.instrumentation.apache-elasticjob.experimental-span-attributes=true
Spans
| Span kind | Attributes |
|---|---|
| INTERNAL | code.function (STRING), code.namespace (STRING), job.system (STRING), scheduling.apache-elasticjob.job.name (STRING), scheduling.apache-elasticjob.job.type (STRING), scheduling.apache-elasticjob.sharding.item.index (LONG), scheduling.apache-elasticjob.sharding.item.parameter (STRING), scheduling.apache-elasticjob.sharding.total.count (LONG), scheduling.apache-elasticjob.task.id (STRING) |
Configuration
| Option | Type | Default | Description |
|---|---|---|---|
otel.instrumentation.apache-elasticjob.experimental-span-attributes | boolean | false | Enables experimental span attributes job.system, scheduling.apache-elasticjob.job.name, scheduling.apache-elasticjob.task.id, scheduling.apache-elasticjob.sharding.item.index, scheduling.apache-elasticjob.sharding.total.count, scheduling.apache-elasticjob.sharding.item.parameter, and scheduling.apache-elasticjob.job.type. |