-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Description
when using the exporter 1.1.0 our application does not start and errors with
java.lang.NoSuchMethodError: 'boolean io.prometheus.metrics.expositionformats.PrometheusProtobufWriter.isAvailable()'
This is due to the fact, that we are including the prometheus java client in 1.3.5 and the exporter now requires 1.3.6 since the 1.1.0 version because it shades only part of the prometheus java client.
My impression was, that the agent is shading all of its dependencies so it can run isolated to the application it instruments.
The change on the prometheus side was introduced in prometheus/client_java#1190