Skip to content

Commit

Permalink
Remove pod status from metrics
Browse files Browse the repository at this point in the history
  • Loading branch information
turytsia committed Jan 8, 2025
1 parent 1a7f628 commit 8cc5b4a
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 56 deletions.
12 changes: 0 additions & 12 deletions deploy/helm/metrics-collector-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,6 @@ processors:
- image
- image_id
- k8s.node.name
- sw.k8s.pod.status
- sw.k8s.namespace.status
- sw.k8s.node.status
- sw.k8s.container.status
Expand Down Expand Up @@ -723,16 +722,6 @@ processors:
from_attribute: phase
action: insert

attributes/attributes_pod_status:
include:
match_type: regexp
metric_names:
- kube_pod_status_phase
actions:
- key: sw.k8s.pod.status
from_attribute: phase
action: insert

{{- include "common-config.resource-metrics" . | nindent 2 }}

transform/cleanup_attributes_for_nonexisting_entities:
Expand Down Expand Up @@ -1188,7 +1177,6 @@ service:
- filter/preprocessing
- filter/remove_internal_postprocessing
- attributes/remove_temp
- attributes/attributes_pod_status
- attributes/attributes_namespace_status
- cumulativetodelta
- deltatorate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,6 @@ Metrics config should match snapshot when using default values:
match_type: regexp
metric_names:
- k8s.kube_namespace_status_phase
attributes/attributes_pod_status:
actions:
- action: insert
from_attribute: phase
key: sw.k8s.pod.status
include:
match_type: regexp
metric_names:
- kube_pod_status_phase
attributes/identify_init_container:
actions:
- action: insert
Expand Down Expand Up @@ -393,7 +384,6 @@ Metrics config should match snapshot when using default values:
- image
- image_id
- k8s.node.name
- sw.k8s.pod.status
- sw.k8s.namespace.status
- sw.k8s.node.status
- sw.k8s.container.status
Expand Down Expand Up @@ -1824,7 +1814,6 @@ Metrics config should match snapshot when using default values:
- filter/preprocessing
- filter/remove_internal_postprocessing
- attributes/remove_temp
- attributes/attributes_pod_status
- attributes/attributes_namespace_status
- cumulativetodelta
- deltatorate
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,6 @@ Metrics config should match snapshot when fargate is enabled:
match_type: regexp
metric_names:
- k8s.kube_namespace_status_phase
attributes/attributes_pod_status:
actions:
- action: insert
from_attribute: phase
key: sw.k8s.pod.status
include:
match_type: regexp
metric_names:
- kube_pod_status_phase
attributes/identify_init_container:
actions:
- action: insert
Expand Down Expand Up @@ -393,7 +384,6 @@ Metrics config should match snapshot when fargate is enabled:
- image
- image_id
- k8s.node.name
- sw.k8s.pod.status
- sw.k8s.namespace.status
- sw.k8s.node.status
- sw.k8s.container.status
Expand Down Expand Up @@ -1824,7 +1814,6 @@ Metrics config should match snapshot when fargate is enabled:
- filter/preprocessing
- filter/remove_internal_postprocessing
- attributes/remove_temp
- attributes/attributes_pod_status
- attributes/attributes_namespace_status
- cumulativetodelta
- deltatorate
Expand Down Expand Up @@ -1889,15 +1878,6 @@ Metrics config should match snapshot when using Prometheus url with extra_scrape
match_type: regexp
metric_names:
- k8s.kube_namespace_status_phase
attributes/attributes_pod_status:
actions:
- action: insert
from_attribute: phase
key: sw.k8s.pod.status
include:
match_type: regexp
metric_names:
- kube_pod_status_phase
attributes/identify_init_container:
actions:
- action: insert
Expand Down Expand Up @@ -2251,7 +2231,6 @@ Metrics config should match snapshot when using Prometheus url with extra_scrape
- image
- image_id
- k8s.node.name
- sw.k8s.pod.status
- sw.k8s.namespace.status
- sw.k8s.node.status
- sw.k8s.container.status
Expand Down Expand Up @@ -3617,7 +3596,6 @@ Metrics config should match snapshot when using Prometheus url with extra_scrape
- filter/preprocessing
- filter/remove_internal_postprocessing
- attributes/remove_temp
- attributes/attributes_pod_status
- attributes/attributes_namespace_status
- cumulativetodelta
- deltatorate
Expand Down Expand Up @@ -3689,15 +3667,6 @@ Metrics config should match snapshot when using default values:
match_type: regexp
metric_names:
- k8s.kube_namespace_status_phase
attributes/attributes_pod_status:
actions:
- action: insert
from_attribute: phase
key: sw.k8s.pod.status
include:
match_type: regexp
metric_names:
- kube_pod_status_phase
attributes/identify_init_container:
actions:
- action: insert
Expand Down Expand Up @@ -4051,7 +4020,6 @@ Metrics config should match snapshot when using default values:
- image
- image_id
- k8s.node.name
- sw.k8s.pod.status
- sw.k8s.namespace.status
- sw.k8s.node.status
- sw.k8s.container.status
Expand Down Expand Up @@ -5402,7 +5370,6 @@ Metrics config should match snapshot when using default values:
- filter/preprocessing
- filter/remove_internal_postprocessing
- attributes/remove_temp
- attributes/attributes_pod_status
- attributes/attributes_namespace_status
- cumulativetodelta
- deltatorate
Expand Down

0 comments on commit 8cc5b4a

Please sign in to comment.