Skip to content

Commit

Permalink
ignore scope version
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Oct 15, 2024
1 parent 5168661 commit bbf19b8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions functional_tests/histogram_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,7 @@ func testHistogramMetrics(t *testing.T) {
pmetrictest.IgnoreResourceAttributeValue("net.host.port"),
pmetrictest.IgnoreResourceMetricsOrder(),
pmetrictest.IgnoreScopeMetricsOrder(),
pmetrictest.IgnoreScopeVersion(),
pmetrictest.IgnoreMetricsOrder(),
pmetrictest.IgnoreMetricDataPointsOrder(),
pmetrictest.IgnoreSubsequentDataPoints("coredns_forward_request_duration_seconds"),
Expand Down Expand Up @@ -288,6 +289,7 @@ func testHistogramMetrics(t *testing.T) {
pmetrictest.IgnoreMetricAttributeValue("net.host.port"),
pmetrictest.IgnoreResourceMetricsOrder(),
pmetrictest.IgnoreScopeMetricsOrder(),
pmetrictest.IgnoreScopeVersion(),
pmetrictest.IgnoreMetricsOrder(),
pmetrictest.IgnoreMetricDataPointsOrder(),
)
Expand Down Expand Up @@ -316,6 +318,7 @@ func testHistogramMetrics(t *testing.T) {
pmetrictest.IgnoreMetricAttributeValue("server_go_version", "etcd_server_go_version"),
pmetrictest.IgnoreResourceMetricsOrder(),
pmetrictest.IgnoreScopeMetricsOrder(),
pmetrictest.IgnoreScopeVersion(),
pmetrictest.IgnoreMetricsOrder(),
pmetrictest.IgnoreMetricDataPointsOrder(),
)
Expand All @@ -336,6 +339,7 @@ func testHistogramMetrics(t *testing.T) {
pmetrictest.IgnoreMetricAttributeValue("net.host.port"),
pmetrictest.IgnoreResourceMetricsOrder(),
pmetrictest.IgnoreScopeMetricsOrder(),
pmetrictest.IgnoreScopeVersion(),
pmetrictest.IgnoreMetricsOrder(),
pmetrictest.IgnoreMetricDataPointsOrder(),
)
Expand Down Expand Up @@ -364,6 +368,7 @@ func testHistogramMetrics(t *testing.T) {
pmetrictest.IgnoreResourceAttributeValue("server.port"),
pmetrictest.IgnoreResourceMetricsOrder(),
pmetrictest.IgnoreScopeMetricsOrder(),
pmetrictest.IgnoreScopeVersion(),
pmetrictest.IgnoreMetricsOrder(),
pmetrictest.IgnoreMetricDataPointsOrder(),
)
Expand Down Expand Up @@ -394,6 +399,7 @@ func testHistogramMetrics(t *testing.T) {
pmetrictest.IgnoreResourceAttributeValue("net.host.port"),
pmetrictest.IgnoreResourceMetricsOrder(),
pmetrictest.IgnoreScopeMetricsOrder(),
pmetrictest.IgnoreScopeVersion(),
pmetrictest.IgnoreMetricsOrder(),
pmetrictest.IgnoreMetricDataPointsOrder(),
)
Expand Down

0 comments on commit bbf19b8

Please sign in to comment.