From 09434fd369b4e1175aa9b48d66828225197a7c40 Mon Sep 17 00:00:00 2001 From: Antoine Toulme Date: Mon, 25 Mar 2024 18:09:02 -0700 Subject: [PATCH] fix more smartagent tests --- .../collectd-mysql/testdata/resource_metrics/all.yaml | 4 ++-- tests/receivers/smartagent/haproxy/haproxy_test.go | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/receivers/smartagent/collectd-mysql/testdata/resource_metrics/all.yaml b/tests/receivers/smartagent/collectd-mysql/testdata/resource_metrics/all.yaml index b8db46c781..6884b23f1a 100644 --- a/tests/receivers/smartagent/collectd-mysql/testdata/resource_metrics/all.yaml +++ b/tests/receivers/smartagent/collectd-mysql/testdata/resource_metrics/all.yaml @@ -101,8 +101,8 @@ resource_metrics: plugin_instance: _testdb system.type: mysql # - name: mysql_commands.get_diagnostics - - name: mysql_commands.grant - type: IntMonotonicCumulativeSum +# - name: mysql_commands.grant +# type: IntMonotonicCumulativeSum # - name: mysql_commands.ha_close # - name: mysql_commands.ha_open # - name: mysql_commands.ha_read diff --git a/tests/receivers/smartagent/haproxy/haproxy_test.go b/tests/receivers/smartagent/haproxy/haproxy_test.go index 96c88ef42e..779870f441 100644 --- a/tests/receivers/smartagent/haproxy/haproxy_test.go +++ b/tests/receivers/smartagent/haproxy/haproxy_test.go @@ -97,6 +97,8 @@ func TestHaproxyReceiverProvidesAllMetrics(t *testing.T) { "haproxy_session_total", "haproxy_connection_rate_max", "haproxy_session_max", + "haproxy_session_limit", + ), ) }