Skip to content

Commit

Permalink
Revert values autoformat
Browse files Browse the repository at this point in the history
  • Loading branch information
douglascamata committed Jan 9, 2025
1 parent bc22059 commit c029ac2
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions otel-integration/k8s-helm/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ opentelemetry-agent:
# This reduces target_info cardinality.
reduceResourceAttributes:
enabled: false
# Configures Host Metrics receiver to collect Entity Events.
# Configures Host Metrics receiver to collect Entity Events.
hostEntityEvents:
enabled: false
config:
Expand Down Expand Up @@ -721,15 +721,15 @@ opentelemetry-gateway:
clusterRoleBinding:
name: "coralogix-opentelemetry-gateway"
rules:
- apiGroups: [""]
resources: ["pods", "namespaces"]
verbs: ["get", "watch", "list"]
- apiGroups: ["apps"]
resources: ["replicasets"]
verbs: ["get", "list", "watch"]
- apiGroups: ["extensions"]
resources: ["replicasets"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["pods", "namespaces"]
verbs: ["get", "watch", "list"]
- apiGroups: ["apps"]
resources: ["replicasets"]
verbs: ["get", "list", "watch"]
- apiGroups: ["extensions"]
resources: ["replicasets"]
verbs: ["get", "list", "watch"]
extraEnvs:
- name: CORALOGIX_PRIVATE_KEY
valueFrom:
Expand Down Expand Up @@ -790,11 +790,11 @@ opentelemetry-gateway:
# needed for self-monitored otel colector metrics
transform/k8s_attributes:
metric_statements:
- context: resource
statements:
- set(attributes["k8s.deployment.name"], attributes["k8s.replicaset.name"])
- replace_pattern(attributes["k8s.deployment.name"], "^(.*)-[0-9a-zA-Z]+$", "$$1") where attributes["k8s.replicaset.name"] != nil
- delete_key(attributes, "k8s.replicaset.name")
- context: resource
statements:
- set(attributes["k8s.deployment.name"], attributes["k8s.replicaset.name"])
- replace_pattern(attributes["k8s.deployment.name"], "^(.*)-[0-9a-zA-Z]+$", "$$1") where attributes["k8s.replicaset.name"] != nil
- delete_key(attributes, "k8s.replicaset.name")
k8sattributes:
filter:
node_from_env_var: KUBE_NODE_NAME
Expand Down Expand Up @@ -914,15 +914,15 @@ opentelemetry-receiver:
clusterRoleBinding:
name: "coralogix-opentelemetry-receiver"
rules:
- apiGroups: [""]
resources: ["pods", "namespaces"]
verbs: ["get", "watch", "list"]
- apiGroups: ["apps"]
resources: ["replicasets"]
verbs: ["get", "list", "watch"]
- apiGroups: ["extensions"]
resources: ["replicasets"]
verbs: ["get", "list", "watch"]
- apiGroups: [""]
resources: ["pods", "namespaces"]
verbs: ["get", "watch", "list"]
- apiGroups: ["apps"]
resources: ["replicasets"]
verbs: ["get", "list", "watch"]
- apiGroups: ["extensions"]
resources: ["replicasets"]
verbs: ["get", "list", "watch"]
extraEnvs:
- name: CORALOGIX_PRIVATE_KEY
valueFrom:
Expand Down Expand Up @@ -983,11 +983,11 @@ opentelemetry-receiver:
# needed for self-monitored otel colector metrics
transform/k8s_attributes:
metric_statements:
- context: resource
statements:
- set(attributes["k8s.deployment.name"], attributes["k8s.replicaset.name"])
- replace_pattern(attributes["k8s.deployment.name"], "^(.*)-[0-9a-zA-Z]+$", "$$1") where attributes["k8s.replicaset.name"] != nil
- delete_key(attributes, "k8s.replicaset.name")
- context: resource
statements:
- set(attributes["k8s.deployment.name"], attributes["k8s.replicaset.name"])
- replace_pattern(attributes["k8s.deployment.name"], "^(.*)-[0-9a-zA-Z]+$", "$$1") where attributes["k8s.replicaset.name"] != nil
- delete_key(attributes, "k8s.replicaset.name")
k8sattributes:
filter:
node_from_env_var: KUBE_NODE_NAME
Expand Down

0 comments on commit c029ac2

Please sign in to comment.