diff --git a/tests/general/discoverymode/docker_observer_discovery_test.go b/tests/general/discoverymode/docker_observer_discovery_test.go index e9cb07a125..2211e7f4cd 100644 --- a/tests/general/discoverymode/docker_observer_discovery_test.go +++ b/tests/general/discoverymode/docker_observer_discovery_test.go @@ -188,33 +188,6 @@ func TestDockerObserver(t *testing.T) { "resource_attributes": map[string]any{}, "rule": "type == \"container\" and any([name, image, command], {# matches \"(?i)redis\"}) and not (command matches \"splunk.discovery\")", }, - "prometheus": map[string]any{ - "config": map[string]any{ - "config": map[string]any{ - "scrape_configs": []any{ - map[string]any{ - "job_name": "envoy", - "metric_relabel_configs": []any{ - map[string]any{ - "action": "keep", - "regex": "(envoy_cluster_upstream_cx_active|envoy_cluster_upstream_cx_total|envoy_cluster_upstream_cx_connect_fail|envoy_cluster_upstream_cx_connect_ms|envoy_cluster_upstream_rq_active|envoy_cluster_upstream_rq_total|envoy_cluster_upstream_rq_timeout|envoy_cluster_upstream_rq_pending_active|envoy_cluster_upstream_rq_pending_overflow|envoy_cluster_upstream_rq_time|envoy_cluster_membership_total|envoy_cluster_membership_degraded|envoy_cluster_membership_excluded|envoy_listener_downstream_cx_active|envoy_listener_downstream_cx_total|envoy_listener_downstream_cx_transport_socket_connect_timeout|envoy_listener_downstream_cx_overflow|envoy_listener_downstream_cx_overload_reject|envoy_listener_downstream_global_cx_overflow)", - "source_labels": []any{"__name__"}, - }, - }, - "metrics_path": "/stats/prometheus", - "scrape_interval": "10s", - "static_configs": []any{ - map[string]any{ - "targets": []any{"`endpoint`"}, - }, - }, - }, - }, - }, - }, - "resource_attributes": map[string]any{}, - "rule": "type == \"container\" and any([name, image, command], {# matches \"(?i)envoy\"}) and not (command matches \"splunk.discovery\")", - }, }, "watch_observers": []any{"docker_observer"}, },