Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[9.0](backport #6640) Update config to reflect degrade_on_partial #6910

Merged
merged 1 commit into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading