This documentation has an index for AI agents at /llms.txt. A Markdown version of this page is available at https://explorer.opentelemetry.io/collector/components/contrib/googlecloudpubsubreceiver.md.

Google Pub/Sub Receiver

OpenTelemetry Collector receiver · contrib distribution

This receiver gets OTLP messages from a Google Cloud Pubsub subscription.

  • Component ID: contrib-googlecloudpubsubreceiver
  • Name: googlecloudpubsubreceiver
  • Type: receiver
  • Distribution: contrib
  • Repository: opentelemetry-collector-contrib

Stability

LevelSignals
betalogs, metrics, traces

Internal telemetry

MetricTypeValue typeUnitStabilityEnabledAttributesDescription
receiver.googlecloudpubsub.encoding_errorsum (monotonic)int1developmentyesNumber of times a message couldn't be decoded by the configured encoder The receiver reads messages from Google Cloud Pub/Sub and tries to decode the message using the configured encoder. Each time a message fails to decoded the counter is increased.
receiver.googlecloudpubsub.stream_restartssum (monotonic)int1developmentyesNumber of times the stream (re)starts due to a Pub/Sub servers connection close 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. This metric counts the number of the resets that occurred during the lifetime of the container.

Data

  • JSON (latest): /data/collector/components/contrib-googlecloudpubsubreceiver/latest.json
  • JSON (pinned): /data/collector/components/contrib-googlecloudpubsubreceiver/contrib-googlecloudpubsubreceiver-7b5eb2bb0d16.json
  • Explore: /collector/components/contrib/googlecloudpubsubreceiver