Skip to content

Commit 0d21e1b

Browse files
fix: update example observe-agent.yaml (#95)
### Description OB-36510 Update example observe-agent.yaml with comments ### Checklist - [x] Created tests which fail without the change (if possible) - [x] Extended the README / documentation, if necessary
1 parent 97a83d7 commit 0d21e1b

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

packaging/linux/config/observe-agent.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@ observe_url: "${OBSERVE_COLLECTION_ENDPOINT}"
77
# Debug mode - Sets agent log level to debug
88
debug: false
99

10+
# collect metrics and logs pertaining to the agent itself
1011
self_monitoring:
1112
enabled: true
1213

14+
# collect metrics and logs about the host system
1315
host_monitoring:
1416
enabled: true
17+
# collect logs of all running processes from the host system
1518
logs:
1619
enabled: true
1720
metrics:
21+
# collect metrics about the host system
1822
host:
1923
enabled: true
24+
# collect metrics about the processes running on the host system
2025
process:
2126
enabled: false
2227

@@ -36,6 +41,6 @@ host_monitoring:
3641
# exporters: [debug]
3742
# # This is a net new pipeline
3843
# logs/new-pipeline:
39-
# receivers: [hostmetrics/host-monitoring]
44+
# receivers: [filelog/host_monitoring]
4045
# processors: [memory_limiter]
4146
# exporters: [debug]

packaging/windows/observe-agent.yaml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,21 @@ observe_url: "${OBSERVE_COLLECTION_ENDPOINT}"
77
# Debug mode - Sets agent log level to debug
88
debug: false
99

10+
# collect metrics and logs pertaining to the agent itself
1011
self_monitoring:
1112
enabled: true
1213

14+
# collect metrics and logs about the host system
1315
host_monitoring:
1416
enabled: true
17+
# collect logs of all running processes from the host system
1518
logs:
1619
enabled: true
1720
metrics:
21+
# collect metrics about the host system
1822
host:
1923
enabled: true
24+
# collect metrics about the processes running on the host system
2025
process:
2126
enabled: false
2227

@@ -36,6 +41,6 @@ host_monitoring:
3641
# exporters: [debug]
3742
# # This is a net new pipeline
3843
# logs/new-pipeline:
39-
# receivers: [hostmetrics/host-monitoring]
44+
# receivers: [filelog/host_monitoring]
4045
# processors: [memory_limiter]
4146
# exporters: [debug]

0 commit comments

Comments
 (0)