Skip to content

Commit 5bbb6b3

Browse files
Create exceptions list
1 parent dca1d87 commit 5bbb6b3

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

charts/nr-k8s-otel-collector/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ NEWRELIC_E2E ?= go run github.com/newrelic/newrelic-integration-e2e-action@lates
88
e2e-test:
99
$(NEWRELIC_E2E) \
1010
--commit_sha=test-string \
11-
--retry_attempts=5 \
11+
--retry_attempts=10 \
1212
--retry_seconds=60 \
1313
--account_id=${ACCOUNT_ID} \
1414
--api_key=${API_REST_KEY} \

charts/nr-k8s-otel-collector/e2e/cluster-metrics.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,3 @@ entities:
131131
- name: k8s.pod.memory.working_set
132132
- name: system.memory.utilization
133133
- name: k8s.cluster.info
134-
- name: kube_lease_owner
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# These metrics are not present in Minikube or are not collected due to the nature of the test environment
2+
except_metrics: [
3+
"container_network_receive_errors_total", # Not collected since we remove 0-values and we do not create errors in the test
4+
"container_network_transmit_errors_total", # Not collected since we remove 0-values and we do not create errors in the test
5+
"system.disk.io", # Unknown why this is missing
6+
"kube_pod_container_status_restarts_total" # This metric seems to have issues with `AggregationTemporality: Unspecified`
7+
]

charts/nr-k8s-otel-collector/e2e/test-specs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ scenarios:
2020
tests:
2121
metrics:
2222
- source: "cluster-metrics.yml"
23+
exceptions_source: "exceptions.yml"
2324
- description: This scenario will verify that metrics from a K8s OTEL Cluster + APM are correctly collected
2425
before:
2526
- helm repo add open-telemetry https://open-telemetry.github.io/opentelemetry-helm-charts
@@ -35,3 +36,4 @@ scenarios:
3536
tests:
3637
metrics:
3738
- source: "cluster-apm-metrics.yml"
39+
exceptions_source: "exceptions.yml"

0 commit comments

Comments
 (0)