Skip to content

require specific sets of metrics when implementation is based on Micrometer #687

Description

@donbourne

In order to increase consistency of metrics available between vendors using Micrometer as their MP Metrics implementation we could have a required set of metrics. These would be the "base" scope metrics.

as an example of some of the metrics sets that we may want to require, see https://micrometer.io/docs/ref/jvm
new ClassLoaderMetrics().bindTo(registry); (1)
new JvmMemoryMetrics().bindTo(registry); (2)
new JvmGcMetrics().bindTo(registry); (3)
new ProcessorMetrics().bindTo(registry); (4)
new JvmThreadMetrics().bindTo(registry); (5)

note that in our group discussion from July 12, 2022 we hadn't fully decided whether this was a good idea. The "pro" side would be improved consistency, the "con" side would be tighter tie-in to Micrometer-specifics when using Micrometer.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions