From f9410bbcfca4c7003e893dcb3d45bbe40d79ffbe Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 18 Feb 2025 08:29:27 +0000 Subject: [PATCH] chore: update config to reflect degrade_on_partial (#6640) (#6910) (cherry picked from commit 38bcd03d6bfe043d1e9cbbe393092dd9600fd14e) Co-authored-by: Vihas Makwana <121151420+VihasMakwana@users.noreply.github.com> --- _meta/config/common.p2.yml.tmpl | 14 ++++++++++++++ _meta/config/common.reference.p2.yml.tmpl | 14 ++++++++++++++ _meta/elastic-agent.yml | 14 ++++++++++++++ elastic-agent.reference.yml | 14 ++++++++++++++ elastic-agent.yml | 14 ++++++++++++++ 5 files changed, 70 insertions(+) diff --git a/_meta/config/common.p2.yml.tmpl b/_meta/config/common.p2.yml.tmpl index 57de0ec5d0a..8545b6c97cd 100644 --- a/_meta/config/common.p2.yml.tmpl +++ b/_meta/config/common.p2.yml.tmpl @@ -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 diff --git a/_meta/config/common.reference.p2.yml.tmpl b/_meta/config/common.reference.p2.yml.tmpl index 44de9243894..fc0e03319d7 100644 --- a/_meta/config/common.reference.p2.yml.tmpl +++ b/_meta/config/common.reference.p2.yml.tmpl @@ -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 diff --git a/_meta/elastic-agent.yml b/_meta/elastic-agent.yml index c25bffafae3..e96f1391998 100644 --- a/_meta/elastic-agent.yml +++ b/_meta/elastic-agent.yml @@ -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: diff --git a/elastic-agent.reference.yml b/elastic-agent.reference.yml index bd1cc0f1273..1bbf618144e 100644 --- a/elastic-agent.reference.yml +++ b/elastic-agent.reference.yml @@ -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 diff --git a/elastic-agent.yml b/elastic-agent.yml index c54cd81fe37..b31244185fa 100644 --- a/elastic-agent.yml +++ b/elastic-agent.yml @@ -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