Skip to content

Commit

Permalink
Revert "[OTEL-1018] Improve host metadata resource attributes"
Browse files Browse the repository at this point in the history
  • Loading branch information
mackjmr authored Jan 17, 2024
1 parent cb43d7c commit 03994a1
Showing 1 changed file with 3 additions and 45 deletions.
48 changes: 3 additions & 45 deletions ci/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,12 +55,6 @@ config:
metrics:
system.cpu.utilization:
enabled: true
system.cpu.physical.count:
enabled: true
system.cpu.logical.count:
enabled: true
system.cpu.frequency:
enabled: true
disk:
load:
memory:
Expand Down Expand Up @@ -104,15 +98,6 @@ config:
- key: service
from_attribute: service_name
action: upsert
transform:
metric_statements: &statements
- context: resource
statements:
- set(attributes["datadog.host.use_as_metadata"],true)
- set(attributes["datadog.host.tag.foo"],"bar")
trace_statements: *statements
log_statements: *statements

attributes/kafkasrc:
include:
match_type: regexp
Expand All @@ -135,33 +120,6 @@ config:
detectors: [env, gcp, ecs, ec2, azure, system]
timeout: 5s
override: false
system:
# Enable optional system attributes
resource_attributes:
os.type:
enabled: true
os.description:
enabled: true
host.ip:
enabled: true
host.mac:
enabled: true
host.arch:
enabled: true
host.cpu.vendor.id:
enabled: true
host.cpu.model.name:
enabled: true
host.cpu.family:
enabled: true
host.cpu.model.id:
enabled: true
host.cpu.stepping:
enabled: true
host.cpu.cache.l2.size:
enabled: true
host.id:
enabled: false
# adds various tags related to k8s
# adds various tags related to k8s
k8sattributes:
Expand Down Expand Up @@ -227,12 +185,12 @@ config:
pipelines:
metrics:
receivers: [otlp, hostmetrics, prometheus]
processors: [resourcedetection, k8sattributes, transform, batch]
processors: [resourcedetection, k8sattributes, batch]
exporters: [datadog]
traces:
receivers: [otlp]
processors: [resourcedetection, k8sattributes, transform, batch]
processors: [resourcedetection, k8sattributes, batch]
exporters: [datadog]
logs:
processors: [memory_limiter, resourcedetection, k8sattributes, attributes, attributes/kafkasrc, transform, batch]
processors: [memory_limiter, resourcedetection, k8sattributes, attributes, attributes/kafkasrc, batch]
exporters: [datadog]

0 comments on commit 03994a1

Please sign in to comment.