Skip to content

kafka consumer metrics missing in micrometer after SpringBoot upgrade #28954

@dlipofsky

Description

@dlipofsky

I no longer have kafka consumer metrics in micrometer or prometheus after my SpringBoot upgrade.

It sounds similar to spring-attic/spring-cloud-stream-binder-kafka#914
but I tried what was mentioned in that ticket and did not have any luck solving my issue.

Here are my changes:

  • Upgraded SpringBoot from 2.1.18 to 2.5.7.
  • Upgraded Spring from 5.1.19 to 5.3.13.
  • Upgraded Kafka from 2.8.0 to 2.8.1.
  • Upgraded Micrometer from 1.6.9 to 1.7.6.
  • Upgraded Springfox Swagger from 2.9.2 to 3.0.0.
  • Added org.springframework.kafka:spring-kafka:2.7.9
  • Added org.jolokia:jolokia-core:jar:1.6.2
  • Removed spring-cloud since we're not loading config from a server
  • Added spring.jmx.enabled:true to my application.yml

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: declinedA suggestion or change that we don't feel we should currently apply

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions