open-telemetry / opentelemetry-collector-contrib

Contrib repository for the OpenTelemetry Collector
https://opentelemetry.io
Apache License 2.0
3.04k stars 2.35k forks source link

[receiver/k8scluster] Add more debug logging to the receiver #32236

Closed atoulme closed 2 weeks ago

atoulme commented 6 months ago

Component(s)

receiver/k8scluster

Is your feature request related to a problem? Please describe.

Right now, there’s no information about the behavior of the receiver explicitly logged. We didn't see anything additionally logged at the debug level when trying to debug a situation where we didn't know if the cluster receiver would send metadata updates.

Describe the solution you'd like

Add more debug logs to the k8sclusterreceiver to make sure we can see when it starts to send dimension updates, or when it doesn’t have any to sync, such as no exporter is detected.

Describe alternatives you've considered

No response

Additional context

No response

github-actions[bot] commented 6 months ago

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

povilasv commented 6 months ago

We can add more debug level logs. Can you share your config?

crobert-1 commented 6 months ago

Sounds good to me, and a code owner has responded with approval as well. Removing needs triage.

TylerHelmuth commented 6 months ago

Good with me

atoulme commented 6 months ago

@povilasv our config is a bit complex, here is the helm template for it: https://github.com/signalfx/splunk-otel-collector-chart/blob/main/helm-charts/splunk-otel-collector/templates/config/_otel-k8s-cluster-receiver-config.tpl

github-actions[bot] commented 4 months ago

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

github-actions[bot] commented 2 months ago

This issue has been inactive for 60 days. It will be closed in 60 days if there is no activity. To ping code owners by adding a component label, see Adding Labels via Comments, or if you are unsure of which component this issue relates to, please ping @open-telemetry/collector-contrib-triagers. If this issue is still relevant, please ping the code owners or leave a comment explaining why it is still relevant. Otherwise, please close it.

Pinging code owners:

See Adding Labels via Comments if you do not have permissions to add labels yourself.

github-actions[bot] commented 2 weeks ago

This issue has been closed as inactive because it has been stale for 120 days with no activity.