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/googlecloudpubsub] Turn noisy warn in reset metric (#37571) #37583

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

alexvanboxel
Copy link
Contributor

Description

The receiver uses the Google Cloud Pub/Sub StreamingPull API and keeps a open connection. The Pub/Sub servers
recurrently close the connection after a time period to avoid a long-running sticky connection. Before the
receiver logged warn log lines everytime this happened. These log lines are moved to debug so that fleets with
lots of collectors with the receiver don't span logs at warn level. To keep track of the resets, whenever a
connection reset happens a otelcol_receiver_googlecloudpubsub_stream_restarts metric is increased by one.

Link to tracking issue

Fixes 37571

Documentation

Documentation is auto generated for the metric

@alexvanboxel alexvanboxel force-pushed the pubsubreceiver-resetmetric branch 4 times, most recently from ada3f85 to 04b008d Compare January 30, 2025 20:52
@alexvanboxel alexvanboxel force-pushed the pubsubreceiver-resetmetric branch from 04b008d to 6d58de3 Compare January 30, 2025 21:46
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.

1 participant