mirror of
https://github.com/zoriya/snow.git
synced 2026-08-05 22:08:55 +00:00
Configure otel hostmetrics
This commit is contained in:
+18
-13
@@ -25,17 +25,22 @@ spec:
|
||||
|
||||
config:
|
||||
receivers:
|
||||
# hostmetrics:
|
||||
# scrapers:
|
||||
# cpu:
|
||||
# disk:
|
||||
# filesystem:
|
||||
# load:
|
||||
# memory:
|
||||
# network:
|
||||
# process:
|
||||
# processes:
|
||||
# paging:
|
||||
hostmetrics:
|
||||
scrapers:
|
||||
cpu:
|
||||
metrics:
|
||||
system.cpu.physical.count:
|
||||
enabled: true
|
||||
system.cpu.logical.count:
|
||||
enabled: true
|
||||
disk:
|
||||
filesystem:
|
||||
load:
|
||||
memory:
|
||||
network:
|
||||
process:
|
||||
processes:
|
||||
paging:
|
||||
otlp:
|
||||
protocols:
|
||||
grpc:
|
||||
@@ -102,9 +107,9 @@ spec:
|
||||
processors: [k8sattributes, memory_limiter, batch]
|
||||
exporters: [clickhouse]
|
||||
metrics:
|
||||
receivers: [otlp] #[otlp, hostmetrics]
|
||||
receivers: [otlp, hostmetrics]
|
||||
processors: [k8sattributes, memory_limiter, batch]
|
||||
exporters: [debug, clickhouse]
|
||||
exporters: [clickhouse]
|
||||
logs:
|
||||
receivers: [otlp]
|
||||
processors: [k8sattributes, memory_limiter, batch]
|
||||
|
||||
Reference in New Issue
Block a user