-
Notifications
You must be signed in to change notification settings - Fork 1k
Description
Describe the bug
Good afternoon,
In the update of the agent version 1.31 to 2.10 I have detected that the spring-batch metrics that were generated in the 1.X no longer appear in the 2.10.
I have tested with different versions of the agent and the problem starts with the change to version 2.0.0.
Some of the metrics that were generated would be:
- spring_batch_chunk_write
- spring_batch_job_active_active
- spring_batch_job
I have searched everywhere and I have not found any notice that these metrics were going to be deprecated or that any new property had to be activated to obtain them. So I think it is a bug, if not, sorry for the inconvenience.
Steps to reproduce
To reproduce it, it is only necessary to execute a spring-bath job with any agent of version 2.X
I use the following configuration:
#Exporter Config
otel.exporter.otlp.endpoint=http://localhost:4318
otel.exporter.otlp.traces.protocol=http/protobuf
otel.exporter.otlp.logs.protocol=http/protobuf
otel.exporter.otlp.metrics.protocol=http/protobuf
otel.metrics.exporter=otlp
otel.traces.exporter=otlp
otel.logs.exporter=otlp
#Instrumentation
otel.instrumentation.spring-batch.enabled=true
#Logs
otel.javaagent.debug=false
#Others
otel.otlp.span.timeout=4000
otel.propagators=b3multi
Expected behavior
Obtaining/generating spring-batch metrics with any agent version 2.X like with 1.31
Actual behavior
Currently agents with version 2.X do not obtain/generate springbatch metrics.
Javaagent or library instrumentation version
v.2.0.0
Environment
OS: Red Hat Enterprise Linux Server 7.5
process_runtime_description: "Red Hat, Inc. OpenJDK 64-Bit Server VM 17.0.10+7-LTS"
process_runtime_name: OpenJDK Runtime Environment
process_runtime_version: 17.0.10+7-LTS
Additional context
No response