Skip to content

metric custom name, description, unit, type... #100

@finkr

Description

@finkr

Prometheus best practices recommend how to name metrics. VMware's metric naming is different.

It would be nice to be able to expose metric according to those best practices.

The jmx_exporter has the same challenge of converting upstream metrics in Prometheus format so might be worth looking how they implemented that.

Let's focus on some aspects:

Prometheus recommend that metrics have a suffix describing the unit.

-> It would be nice to be able to specify the target metric name for each metric collected.

Prometheus also recommend to use base units (e.g. seconds, bytes, meters - not milliseconds, megabytes, kilometers)

-> It would be nice to be able to specify a multiplier factor for each metrics to convert Megabyte to byte or millisecond into seconds (jmx_exporter use valueFactor).

Finally it would be nice to specify the metric type (GAUGE, COUNTER) and description.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions