Skip to content

Commit

Permalink
[helm]: fix system integration to utilise hostfs mount
Browse files Browse the repository at this point in the history
  • Loading branch information
pkoutsovasilis committed Jan 31, 2025
1 parent 4d98382 commit 18d4de5
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,15 @@ stringData:
metricsets:
- cpu
period: 10s
system.hostfs: /hostfs
- data_stream:
dataset: system.diskio
type: metrics
diskio.include_devices: null
metricsets:
- diskio
period: 10s
system.hostfs: /hostfs
- data_stream:
dataset: system.filesystem
type: metrics
Expand All @@ -106,6 +108,7 @@ stringData:
processors:
- drop_event.when.regexp:
system.filesystem.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)
system.hostfs: /hostfs
- data_stream:
dataset: system.fsstat
type: metrics
Expand All @@ -115,6 +118,7 @@ stringData:
processors:
- drop_event.when.regexp:
system.fsstat.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)
system.hostfs: /hostfs
- condition: ${host.platform} != 'windows'
data_stream:
dataset: system.load
Expand All @@ -128,6 +132,7 @@ stringData:
metricsets:
- memory
period: 10s
system.hostfs: /hostfs
- data_stream:
dataset: system.network
type: metrics
Expand All @@ -148,18 +153,21 @@ stringData:
process.include_top_n.by_memory: 5
processes:
- .*
system.hostfs: /hostfs
- data_stream:
dataset: system.process_summary
type: metrics
metricsets:
- process_summary
period: 10s
system.hostfs: /hostfs
- data_stream:
dataset: system.socket_summary
type: metrics
metricsets:
- socket_summary
period: 10s
system.hostfs: /hostfs
- data_stream:
dataset: system.uptime
type: metrics
Expand Down Expand Up @@ -295,7 +303,7 @@ spec:
labels:
name: agent-pernode-example
annotations:
checksum/config: 535875b1a8f244fc529158f3467dec1983ca2ef19d365518da249fd46e22d0ef
checksum/config: dc3e48e999091f8db08e8ce2c2de127239731b26d598b6399ad93ef3636a3245
spec:
automountServiceAccountToken: true
containers:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,22 @@
- normalized_percentages
metricsets:
- cpu
system.hostfs: '/hostfs'
- data_stream:
dataset: system.diskio
type: metrics
period: 10s
diskio.include_devices: null
metricsets:
- diskio
system.hostfs: '/hostfs'
- data_stream:
dataset: system.filesystem
type: metrics
period: 1m
metricsets:
- filesystem
system.hostfs: '/hostfs'
processors:
- drop_event.when.regexp:
system.filesystem.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)
Expand All @@ -44,6 +47,7 @@
period: 1m
metricsets:
- fsstat
system.hostfs: '/hostfs'
processors:
- drop_event.when.regexp:
system.fsstat.mount_point: ^/(sys|cgroup|proc|dev|etc|host|lib|snap)($|/)
Expand All @@ -60,6 +64,7 @@
period: 10s
metricsets:
- memory
system.hostfs: '/hostfs'
- data_stream:
dataset: system.network
type: metrics
Expand All @@ -80,19 +85,22 @@
process.include_cpu_ticks: false
metricsets:
- process
system.hostfs: '/hostfs'
process.include_cpu_ticks: false
- data_stream:
dataset: system.process_summary
type: metrics
period: 10s
metricsets:
- process_summary
system.hostfs: '/hostfs'
- data_stream:
dataset: system.socket_summary
type: metrics
period: 10s
metricsets:
- socket_summary
system.hostfs: '/hostfs'
- data_stream:
type: metrics
dataset: system.uptime
Expand Down

0 comments on commit 18d4de5

Please sign in to comment.