Skip to content

Commit

Permalink
chore: update config to reflect degrade_on_partial (#6640)
Browse files Browse the repository at this point in the history
  • Loading branch information
VihasMakwana authored Feb 18, 2025
1 parent 6485c74 commit 38bcd03
Show file tree
Hide file tree
Showing 5 changed files with 70 additions and 0 deletions.
14 changes: 14 additions & 0 deletions _meta/config/common.p2.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,20 @@ inputs:
- metricsets:
- filesystem
data_stream.dataset: system.filesystem
# - metricsets:
# - process
# data_stream.dataset: system.process
# # While running in unprivileged mode, process/process_summary metricsets can emit
# # partial metrics. Some metrics that require privileged access can be missing.
# # On Windows, non-administrator users may not be able to access protected processes, leading
# # to missing details like command line and arguments. On Unix, non-root users can't access
# # procfs without the right permissions.
# # Errors like ERROR_ACCESS_DENIED, EPERM, and EACCESS may result in partial metrics.
# # Enabling the config below will mark the metricset as degraded when this occurs.
# # You may want to enable it to identify potential permission-related issues.
# # If you're unable to provide the necessary access, you can disable this config to keep
# # metricsets healthy.
# #degrade_on_partial: false

# # Collecting log files
# - type: filestream
Expand Down
14 changes: 14 additions & 0 deletions _meta/config/common.reference.p2.yml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,20 @@ inputs:
- metricsets:
- filesystem
data_stream.dataset: system.filesystem
# - metricsets:
# - process
# data_stream.dataset: system.process
# # While running in unprivileged mode, process/process_summary metricsets can emit
# # partial metrics. Some metrics that require privileged access can be missing.
# # On Windows, non-administrator users may not be able to access protected processes, leading
# # to missing details like command line and arguments. On Unix, non-root users can't access
# # procfs without the right permissions.
# # Errors like ERROR_ACCESS_DENIED, EPERM, and EACCESS may result in partial metrics.
# # Enabling the config below will mark the metricset as degraded when this occurs.
# # You may want to enable it to identify potential permission-related issues.
# # If you're unable to provide the necessary access, you can disable this config to keep
# # metricsets healthy.
# #degrade_on_partial: false

# # Collecting log files
# - type: filestream
Expand Down
14 changes: 14 additions & 0 deletions _meta/elastic-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,20 @@ inputs:
- metricsets:
- filesystem
data_stream.dataset: system.filesystem
# - metricsets:
# - process
# data_stream.dataset: system.process
# # While running in unprivileged mode, process/process_summary metricsets can emit
# # partial metrics. Some metrics that require privileged access can be missing.
# # On Windows, non-administrator users may not be able to access protected processes, leading
# # to missing details like command line and arguments. On Unix, non-root users can't access
# # procfs without the right permissions.
# # Errors like ERROR_ACCESS_DENIED, EPERM, and EACCESS may result in partial metrics.
# # Enabling the config below will mark the metricset as degraded when this occurs.
# # You may want to enable it to identify potential permission-related issues.
# # If you're unable to provide the necessary access, you can disable this config to keep
# # metricsets healthy.
# #degrade_on_partial: false

# management:
# # Mode of management, the Elastic Agent support two modes of operation:
Expand Down
14 changes: 14 additions & 0 deletions elastic-agent.reference.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,20 @@ inputs:
- metricsets:
- filesystem
data_stream.dataset: system.filesystem
# - metricsets:
# - process
# data_stream.dataset: system.process
# # While running in unprivileged mode, process/process_summary metricsets can emit
# # partial metrics. Some metrics that require privileged access can be missing.
# # On Windows, non-administrator users may not be able to access protected processes, leading
# # to missing details like command line and arguments. On Unix, non-root users can't access
# # procfs without the right permissions.
# # Errors like ERROR_ACCESS_DENIED, EPERM, and EACCESS may result in partial metrics.
# # Enabling the config below will mark the metricset as degraded when this occurs.
# # You may want to enable it to identify potential permission-related issues.
# # If you're unable to provide the necessary access, you can disable this config to keep
# # metricsets healthy.
# #degrade_on_partial: false

# # Collecting log files
# - type: filestream
Expand Down
14 changes: 14 additions & 0 deletions elastic-agent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,20 @@ inputs:
- metricsets:
- filesystem
data_stream.dataset: system.filesystem
# - metricsets:
# - process
# data_stream.dataset: system.process
# # While running in unprivileged mode, process/process_summary metricsets can emit
# # partial metrics. Some metrics that require privileged access can be missing.
# # On Windows, non-administrator users may not be able to access protected processes, leading
# # to missing details like command line and arguments. On Unix, non-root users can't access
# # procfs without the right permissions.
# # Errors like ERROR_ACCESS_DENIED, EPERM, and EACCESS may result in partial metrics.
# # Enabling the config below will mark the metricset as degraded when this occurs.
# # You may want to enable it to identify potential permission-related issues.
# # If you're unable to provide the necessary access, you can disable this config to keep
# # metricsets healthy.
# #degrade_on_partial: false

# # Collecting log files
# - type: filestream
Expand Down

0 comments on commit 38bcd03

Please sign in to comment.