Skip to content

Losing label assign causes gauge push failed. #7

@slow-groovin

Description

@slow-groovin

NewGauge step with multiple labels

io::prometheus::NewGauge name=sample_count help='' labels=path,path2

set one and push

#record1
sample_count -path=/path/any set 1 
#record2
sample_count -path=/path/any -path2=/path/any2 set 2 
#io::prometheus::PushAdd  ......

result

the first record will fail to be pushed into the gateway
the second record will suc

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions