Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Telemetry: Naming format wrong for metrics pushed through pushgateway #789

@NajmudheenCT

Description

@NajmudheenCT

Is this a BUG REPORT or FEATURE REQUEST?:

/kind bug

What happened:
When pushgateway is used as push mechanism in metrics controller , the name formed by controller is not in consistent with lvm_exporter .
now name is coming like
read_throughput{device="loop28",instance="",job="push_gateway",metricname="read_throughput"} 0
What you expected to happen:
expected name
lvm_volume_read_throughput_kbs{device="loop28"} 0
How to reproduce it (as minimally and precisely as possible):
call POST metrics API using any client.

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