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

[receiver/k8scluster] quiet warning down to info #34817

Merged
merged 1 commit into from
Aug 22, 2024

Conversation

atoulme
Copy link
Contributor

@atoulme atoulme commented Aug 22, 2024

Description:
We log a warning on cache miss in the k8sclusterreceiver pod watcher.

This PR moves this log from a warning to an info log.

func logWarning(ref *v1.OwnerReference, podUID types.UID, logger *zap.Logger) {
logger.Warn(
func logInfo(ref *v1.OwnerReference, podUID types.UID, logger *zap.Logger) {
logger.Info(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd suggest using debug here. Otherwise LGTM

@dmitryax dmitryax merged commit a367136 into open-telemetry:main Aug 22, 2024
156 checks passed
@github-actions github-actions bot added this to the next release milestone Aug 22, 2024
f7o pushed a commit to f7o/opentelemetry-collector-contrib that referenced this pull request Sep 12, 2024
**Description:**
We log a warning on cache miss in the k8sclusterreceiver pod watcher.

This PR moves this log from a warning to an info log.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants