Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions deploy/helm/edot-collector/kube-stack/managed_otlp/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ opentelemetry-operator:
recreate: true # Force certificate regeneration on updates. Only applicable if autoGenerateCert.enabled is true.
crds:
create: true # Install the OpenTelemetry Operator CRDs.
installPrometheus: true
defaultCRConfig:
image:
repository: "docker.elastic.co/elastic-agent/elastic-agent"
Expand Down Expand Up @@ -181,6 +182,9 @@ collectors:
env:
- name: ELASTIC_AGENT_OTEL
value: '"true"'
targetAllocator:
enabled: true # Enable the Operator's Target allocator.
allocationStrategy: per-node
presets:
logsCollection:
enabled: true # Enable/disable the collection of node's logs.
Expand Down Expand Up @@ -316,6 +320,19 @@ collectors:
- "service.name"
- "service.version"
receivers:
prometheus:
config:
scrape_configs:
# Collect all metrics from pods on the daemon set's node with at least this annotation
# prometheus.io/scrape: 'true'
# This can be further customized by setting the following annotations:
# prometheus.io/scheme: 'https'
# prometheus.io/path: '/data/metrics'
# prometheus.io/port: '80'
- job_name: kubernetes-pods
scrape_interval: 30s
kubernetes_sd_configs:
- role: pod
# [OTLP Receiver](https://github.com/open-telemetry/opentelemetry-collector/tree/main/receiver/otlpreceiver)
otlp:
protocols:
Expand Down Expand Up @@ -468,6 +485,7 @@ collectors:
receivers:
- kubeletstats
- hostmetrics
- prometheus
processors:
- batch/metrics
- k8sattributes
Expand Down
Loading