Skip to content

Commit

Permalink
fix(DMVP-3107): Add metric for node status
Browse files Browse the repository at this point in the history
  • Loading branch information
aramkarapetian committed Nov 23, 2023
1 parent 2177790 commit 01b3c8a
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion modules/adot/templates/adot-values.yaml.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,13 @@ adotCollector:
resource_attributes:
- key: Namespace
value: ${accept_namespace_regex}
experimental_metricsgeneration:
rules:
- name: kube_node_status_condition_all
unit: Bytes
type: scale
metric1: kube_node_status_condition
operation: multiply
filter/metrics_include:
metrics:
include:
Expand Down Expand Up @@ -268,6 +275,11 @@ adotCollector:
- Status
metric_name_selectors:
- kube_node_status_condition
- dimensions:
- - Condition
- Status
metric_name_selectors:
- kube_node_status_condition_all
namespace: ContainerInsights
parse_json_encoded_attr_values:
- Sources
Expand Down Expand Up @@ -347,8 +359,12 @@ adotCollector:
region: "${region}"
service:
pipelines:
metrics/awsemf_prometheus_new:
receivers: ["prometheus/node2"]
processors: ["experimental_metricsgeneration"]
exporters: ["awsemf/prometheus"]
metrics/awsemf_prometheus:
receivers: ["prometheus","prometheus/node","prometheus/node2"]
receivers: ["prometheus","prometheus/node"]
processors: ["resource/set_attributes"]
exporters: ["awsemf/prometheus"]
metrics/awsemf_namespace_specific:
Expand Down

0 comments on commit 01b3c8a

Please sign in to comment.