mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-08 11:38:15 +00:00
ignore Histogram for prometheus client v1.16.0
This commit is contained in:
parent
bbae445d17
commit
420fbd11e4
@ -201,5 +201,6 @@ func timelessSample(value interface{}) types.GomegaMatcher {
|
||||
"Metric": gstruct.Ignore(),
|
||||
"Value": gomega.BeNumerically("==", value),
|
||||
"Timestamp": gstruct.Ignore(),
|
||||
"Histogram": gstruct.Ignore(),
|
||||
}))
|
||||
}
|
||||
|
@ -174,5 +174,6 @@ func checkMetricValueGreaterThan(value interface{}) types.GomegaMatcher {
|
||||
"Metric": gstruct.Ignore(),
|
||||
"Value": gomega.BeNumerically(">", value),
|
||||
"Timestamp": gstruct.Ignore(),
|
||||
"Histogram": gstruct.Ignore(),
|
||||
}))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user