Skip to content

prometheus java client introduced a breaking change #1133

@fsimmend

Description

@fsimmend

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions