Skip to content

missing metrics after update from 5.3.2 to 5.3.3 #3420

@agebhar1

Description

@agebhar1

Update from 5.3.2 to 5.3.3 (via Spring Boot Update from 2.3.4 to 2.3.5)

Describe the bug

Metrics for channels etc. are not provided by Prometheus endpoint /actuator/prometheus anymore.

To Reproduce

Metrics are missing if

@Bean
public MeterRegistry meterRegistry(PrometheusMeterRegistry registry) {
  return registry;
}

is not present (config/ApplicationConfiguration.java). The bean must be added explicit after update to 5.3.3 to enable metrics again.

Expected behavior

Not yes sure.

Sample

A almost simple sample is from a presentation demo

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions