Skip to content

Commit 38bcd03

Browse files
authored
chore: update config to reflect degrade_on_partial (#6640)
1 parent 6485c74 commit 38bcd03

5 files changed

Lines changed: 70 additions & 0 deletions

File tree

_meta/config/common.p2.yml.tmpl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,20 @@ inputs:
3838
- metricsets:
3939
- filesystem
4040
data_stream.dataset: system.filesystem
41+
# - metricsets:
42+
# - process
43+
# data_stream.dataset: system.process
44+
# # While running in unprivileged mode, process/process_summary metricsets can emit
45+
# # partial metrics. Some metrics that require privileged access can be missing.
46+
# # On Windows, non-administrator users may not be able to access protected processes, leading
47+
# # to missing details like command line and arguments. On Unix, non-root users can't access
48+
# # procfs without the right permissions.
49+
# # Errors like ERROR_ACCESS_DENIED, EPERM, and EACCESS may result in partial metrics.
50+
# # Enabling the config below will mark the metricset as degraded when this occurs.
51+
# # You may want to enable it to identify potential permission-related issues.
52+
# # If you're unable to provide the necessary access, you can disable this config to keep
53+
# # metricsets healthy.
54+
# #degrade_on_partial: false
4155

4256
# # Collecting log files
4357
# - type: filestream

_meta/config/common.reference.p2.yml.tmpl

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,20 @@ inputs:
3636
- metricsets:
3737
- filesystem
3838
data_stream.dataset: system.filesystem
39+
# - metricsets:
40+
# - process
41+
# data_stream.dataset: system.process
42+
# # While running in unprivileged mode, process/process_summary metricsets can emit
43+
# # partial metrics. Some metrics that require privileged access can be missing.
44+
# # On Windows, non-administrator users may not be able to access protected processes, leading
45+
# # to missing details like command line and arguments. On Unix, non-root users can't access
46+
# # procfs without the right permissions.
47+
# # Errors like ERROR_ACCESS_DENIED, EPERM, and EACCESS may result in partial metrics.
48+
# # Enabling the config below will mark the metricset as degraded when this occurs.
49+
# # You may want to enable it to identify potential permission-related issues.
50+
# # If you're unable to provide the necessary access, you can disable this config to keep
51+
# # metricsets healthy.
52+
# #degrade_on_partial: false
3953

4054
# # Collecting log files
4155
# - type: filestream

_meta/elastic-agent.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,20 @@ inputs:
3030
- metricsets:
3131
- filesystem
3232
data_stream.dataset: system.filesystem
33+
# - metricsets:
34+
# - process
35+
# data_stream.dataset: system.process
36+
# # While running in unprivileged mode, process/process_summary metricsets can emit
37+
# # partial metrics. Some metrics that require privileged access can be missing.
38+
# # On Windows, non-administrator users may not be able to access protected processes, leading
39+
# # to missing details like command line and arguments. On Unix, non-root users can't access
40+
# # procfs without the right permissions.
41+
# # Errors like ERROR_ACCESS_DENIED, EPERM, and EACCESS may result in partial metrics.
42+
# # Enabling the config below will mark the metricset as degraded when this occurs.
43+
# # You may want to enable it to identify potential permission-related issues.
44+
# # If you're unable to provide the necessary access, you can disable this config to keep
45+
# # metricsets healthy.
46+
# #degrade_on_partial: false
3347

3448
# management:
3549
# # Mode of management, the Elastic Agent support two modes of operation:

elastic-agent.reference.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,20 @@ inputs:
4242
- metricsets:
4343
- filesystem
4444
data_stream.dataset: system.filesystem
45+
# - metricsets:
46+
# - process
47+
# data_stream.dataset: system.process
48+
# # While running in unprivileged mode, process/process_summary metricsets can emit
49+
# # partial metrics. Some metrics that require privileged access can be missing.
50+
# # On Windows, non-administrator users may not be able to access protected processes, leading
51+
# # to missing details like command line and arguments. On Unix, non-root users can't access
52+
# # procfs without the right permissions.
53+
# # Errors like ERROR_ACCESS_DENIED, EPERM, and EACCESS may result in partial metrics.
54+
# # Enabling the config below will mark the metricset as degraded when this occurs.
55+
# # You may want to enable it to identify potential permission-related issues.
56+
# # If you're unable to provide the necessary access, you can disable this config to keep
57+
# # metricsets healthy.
58+
# #degrade_on_partial: false
4559

4660
# # Collecting log files
4761
# - type: filestream

elastic-agent.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,20 @@ inputs:
4444
- metricsets:
4545
- filesystem
4646
data_stream.dataset: system.filesystem
47+
# - metricsets:
48+
# - process
49+
# data_stream.dataset: system.process
50+
# # While running in unprivileged mode, process/process_summary metricsets can emit
51+
# # partial metrics. Some metrics that require privileged access can be missing.
52+
# # On Windows, non-administrator users may not be able to access protected processes, leading
53+
# # to missing details like command line and arguments. On Unix, non-root users can't access
54+
# # procfs without the right permissions.
55+
# # Errors like ERROR_ACCESS_DENIED, EPERM, and EACCESS may result in partial metrics.
56+
# # Enabling the config below will mark the metricset as degraded when this occurs.
57+
# # You may want to enable it to identify potential permission-related issues.
58+
# # If you're unable to provide the necessary access, you can disable this config to keep
59+
# # metricsets healthy.
60+
# #degrade_on_partial: false
4761

4862
# # Collecting log files
4963
# - type: filestream

0 commit comments

Comments
 (0)