mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-09 03:57:41 +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(),
|
"Metric": gstruct.Ignore(),
|
||||||
"Value": gomega.BeNumerically("==", value),
|
"Value": gomega.BeNumerically("==", value),
|
||||||
"Timestamp": gstruct.Ignore(),
|
"Timestamp": gstruct.Ignore(),
|
||||||
|
"Histogram": gstruct.Ignore(),
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
@ -174,5 +174,6 @@ func checkMetricValueGreaterThan(value interface{}) types.GomegaMatcher {
|
|||||||
"Metric": gstruct.Ignore(),
|
"Metric": gstruct.Ignore(),
|
||||||
"Value": gomega.BeNumerically(">", value),
|
"Value": gomega.BeNumerically(">", value),
|
||||||
"Timestamp": gstruct.Ignore(),
|
"Timestamp": gstruct.Ignore(),
|
||||||
|
"Histogram": gstruct.Ignore(),
|
||||||
}))
|
}))
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user