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

Update the log level for metric scrape failures of the smartagent/kubernetes-proxy receiver from error to debug #832

Merged
merged 7 commits into from
Jun 27, 2023

Conversation

jvoravong
Copy link
Contributor

@jvoravong jvoravong commented Jun 27, 2023

Description:
The default behavior of smart agent receivers based on Prometheus was to log an error when a metric scraping failure occurs. This can result in excessive log noise, especially when dealing with unstable metric source targets. Prometheus native metric collector mechanisms log these failures at the debug level. In the case of our control plane smart agent receivers in this chart, deploying them to a new, untested, or unsupported Kubernetes distribution can generate a significant amount of log error noise. These changes aim to reduce unexpected log noise when deploying to Kubernetes environments that are not directly supported by this chart.

Notes:

@jvoravong jvoravong requested review from a team as code owners June 27, 2023 16:16
atoulme and others added 5 commits June 27, 2023 10:51
…ernetes-proxy receiver from error to debug when distribution=''
…t into OTL-control-plane-debug

# Conflicts:
#	examples/add-filter-processor/rendered_manifests/daemonset.yaml
#	examples/add-receiver-creator/rendered_manifests/daemonset.yaml
#	examples/add-sampler/rendered_manifests/daemonset.yaml
#	examples/autodetect-istio/rendered_manifests/daemonset.yaml
#	examples/collector-agent-only/rendered_manifests/daemonset.yaml
#	examples/collector-all-modes/rendered_manifests/daemonset.yaml
#	examples/crio-logging/rendered_manifests/daemonset.yaml
#	examples/default/rendered_manifests/daemonset.yaml
#	examples/enable-operator-and-auto-instrumentation/rendered_manifests/daemonset.yaml
#	examples/enabled-pprof-extension/rendered_manifests/daemonset.yaml
#	examples/fluentd-multiline-logs-java-stack-traces/rendered_manifests/daemonset.yaml
#	examples/kubernetes-windows-nodes/rendered_manifests/daemonset.yaml
#	examples/only-metrics-platform/rendered_manifests/daemonset.yaml
#	examples/only-metrics/rendered_manifests/daemonset.yaml
#	examples/route-data-through-gateway-deployed-separately/rendered_manifests/daemonset.yaml
#	examples/use-proxy/rendered_manifests/daemonset.yaml
@jvoravong jvoravong changed the title Update the log level of metric scrape failures of control plane smart agent receivers from error to debug Update the log level for metric scrape failures of the smartagent/kubernetes-proxy receiver from error to debug Jun 27, 2023
@jvoravong jvoravong merged commit 3ec2dfc into signalfx:main Jun 27, 2023
@jvoravong jvoravong deleted the OTL-control-plane-debug branch June 27, 2023 21:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants