Skip to content

Spring Boot 2.x example missing #854

@bu3

Description

@bu3

Hi,

I have an existing Spring Boot 2.7.14 application where metrics are collected with Dropwizard.
I don't plan to migrate to MicroMeter in the short term so I cannot use io.micrometer:micrometer-registry-prometheus to enable the Spring provided Prometheus endpoint.

So I've been trying to use:

  • io.prometheus:simpleclient_dropwizard:0.16.0
  • io.prometheus:simpleclient_spring_boot:0.16.0

it looks like simpleclient_spring_boot is not compatible with Spring boot 2 because it relies on class PublicMetrics that has been deprecated in Spring Boot 2.

Am I looking at the wrong place?
Is it possible to enable the Prometheus Endpoint with Spring Boot 2 in other ways?

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions