Skip to content

Commit 1c5a38c

Browse files
committed
Stop shipping host metrics from openobserve-collector to OpenObserve
Metrics and alerting stay in kube-prometheus (source of truth + Alertmanager); OpenObserve holds logs and traces only and should not duplicate infra metrics. Remove the agent collector's `metrics` pipeline (kubeletstats + hostmetrics -> OpenObserve) and the now-unused `hostmetrics` and `kubeletstats` receiver definitions (the OTel Collector errors on components defined but not used). The agent now runs a logs-only pipeline (filelog/std -> OpenObserve); traces are unchanged on the gateway. Bump openobserve-collector 0.4.5 -> 0.4.6 and openobserve 0.13.5 -> 0.13.6.
1 parent d47b766 commit 1c5a38c

3 files changed

Lines changed: 5 additions & 94 deletions

File tree

argocd-helm-charts/openobserve/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
apiVersion: v2
22
name: openobserve
3-
version: 0.13.5
3+
version: 0.13.6
44
# We disabling the updates for openobserve, since there's no upstream
55
# support for dex OIDC connector configurations for enterprise.
66
# It expects all the configurations to be passed as configmap, but passing

argocd-helm-charts/openobserve/charts/openobserve-collector/Chart.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ maintainers:
1212
url: https://openobserve.ai
1313
name: openobserve-collector
1414
type: application
15-
version: 0.4.5
15+
version: 0.4.6

argocd-helm-charts/openobserve/charts/openobserve-collector/values.yaml

Lines changed: 3 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -192,93 +192,6 @@ agent:
192192
from: attributes.uid
193193
to: resource["k8s.pod.uid"]
194194
on_error: send
195-
hostmetrics:
196-
root_path: /hostfs
197-
collection_interval: 30s
198-
scrapers:
199-
cpu:
200-
metrics:
201-
system.cpu.utilization:
202-
enabled: true
203-
disk: {}
204-
filesystem:
205-
exclude_mount_points:
206-
match_type: regexp
207-
mount_points:
208-
- /dev/.*
209-
- /proc/.*
210-
- /sys/.*
211-
- /run/k3s/containerd/.*
212-
- /var/lib/docker/.*
213-
- /var/lib/kubelet/.*
214-
- /snap/.*
215-
exclude_fs_types:
216-
match_type: strict
217-
fs_types:
218-
- autofs
219-
- binfmt_misc
220-
- bpf
221-
- cgroup2
222-
- configfs
223-
- debugfs
224-
- devpts
225-
- devtmpfs
226-
- fusectl
227-
- hugetlbfs
228-
- iso9660
229-
- mqueue
230-
- nsfs
231-
- overlay
232-
- proc
233-
- procfs
234-
- pstore
235-
- rpc_pipefs
236-
- securityfs
237-
- selinuxfs
238-
- squashfs
239-
- sysfs
240-
- tracefs
241-
load: {}
242-
memory:
243-
metrics:
244-
system.memory.utilization:
245-
enabled: true
246-
network: {}
247-
# paging: {}
248-
processes: {}
249-
# process: {} # a bug in the process scraper causes the collector to throw errors so disabling it for now
250-
kubeletstats:
251-
collection_interval: 30s
252-
auth_type: "serviceAccount"
253-
endpoint: "https://${env:K8S_NODE_IP}:10250"
254-
insecure_skip_verify: true
255-
extra_metadata_labels:
256-
- container.id
257-
- k8s.volume.type
258-
metric_groups:
259-
- node
260-
- pod
261-
- container
262-
- volume
263-
metrics:
264-
# CPU usage metrics (default since v0.125.0+, represents raw CPU usage in cores)
265-
k8s.pod.cpu.usage:
266-
enabled: true
267-
k8s.node.cpu.usage:
268-
enabled: true
269-
k8s.node.cpu.time:
270-
enabled: true
271-
container.cpu.usage:
272-
enabled: true
273-
# Utilization metrics (percentage-based, calculated against limits/requests)
274-
k8s.pod.cpu_limit_utilization:
275-
enabled: true
276-
k8s.pod.cpu_request_utilization:
277-
enabled: true
278-
k8s.pod.memory_limit_utilization:
279-
enabled: true
280-
k8s.pod.memory_request_utilization:
281-
enabled: true
282195
processors:
283196
memory_limiter:
284197
check_interval: 1s
@@ -360,11 +273,9 @@ agent:
360273
processors:
361274
[memory_limiter, resourcedetection, attributes, k8sattributes, batch]
362275
exporters: [otlphttp/openobserve]
363-
metrics:
364-
receivers: [kubeletstats, hostmetrics]
365-
processors:
366-
[memory_limiter, resourcedetection, attributes, k8sattributes, batch]
367-
exporters: [otlphttp/openobserve]
276+
# No metrics pipeline on the agent: host/node metrics stay in
277+
# kube-prometheus (source of truth + Alertmanager). OpenObserve holds
278+
# logs + traces only; it does not duplicate infra metrics.
368279

369280
gateway:
370281
enabled: true

0 commit comments

Comments
 (0)