Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

[+] add google cloud pub/sub receiver - #99

Merged
destrex271 merged 5 commits into
destrex271:mainfrom
0xgouda:add-pubsub-receiver
Aug 26, 2025
Merged

[+] add google cloud pub/sub receiver#99
destrex271 merged 5 commits into
destrex271:mainfrom
0xgouda:add-pubsub-receiver

Conversation

@0xgouda

@0xgouda 0xgouda commented Aug 22, 2025

Copy link
Copy Markdown
Contributor
  • A gRPC receiver that writes metrics received from pgwatch
    to Google cloud pub/sub servers.

    • users can then configure different subscribers to receive data from pgwatch topic in pub/sub (e.g. BigQuery, Cloud Storage, ...etc)
    • In pub/sub data can be pulled periodically in batches or pushed directly when they arrive.
  • The receiver creates a new topic called pgwatch under the provided GCP project.

  • The receiver uses the official pub/sub package for golang which supports Authentication via Application Default Credentials (ADC)

@coveralls

coveralls commented Aug 22, 2025

Copy link
Copy Markdown
Collaborator

Pull Request Test Coverage Report for Build 17146886782

Details

  • 24 of 42 (57.14%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.1%) to 52.04%

Changes Missing Coverage Covered Lines Changed/Added Lines %
cmd/gcp_pubsub_receiver/pubsub_receiver.go 24 30 80.0%
cmd/gcp_pubsub_receiver/main.go 0 12 0.0%
Totals Coverage Status
Change from base Build 17079401066: 0.1%
Covered Lines: 829
Relevant Lines: 1593

💛 - Coveralls

@0xgouda
0xgouda force-pushed the add-pubsub-receiver branch from 1c02945 to 722d312 Compare August 22, 2025 05:24
@destrex271
destrex271 merged commit ebc09eb into destrex271:main Aug 26, 2025
2 checks passed
@0xgouda
0xgouda deleted the add-pubsub-receiver branch August 30, 2025 16:13
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants