-
Notifications
You must be signed in to change notification settings - Fork 0
feat: add Prometheus metrics with OTel sidecar #5
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
base: main
Are you sure you want to change the base?
Conversation
robertodauria
commented
Jan 22, 2026
- Add metrics package exposing token request counter on :9990
- Add OTel Collector sidecar to scrape and push metrics to Prometheus
- Update cloudbuild.yaml to build/push OTel image and deploy via service.yaml
- Parallelize Docker builds for faster CI
- Add metrics package exposing token request counter on :9990 - Add OTel Collector sidecar to scrape and push metrics to Prometheus - Update cloudbuild.yaml to build/push OTel image and deploy via service.yaml - Parallelize Docker builds for faster CI
Pull Request Test Coverage Report for Build 21258316463Warning: This coverage report may be inaccurate.This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Details
💛 - Coveralls |
|
@nkinkade FYI |
Use resourcedetection/gcp processor to automatically add Cloud Run metadata as metric labels, including unique faas_instance ID. This prevents metric collisions when multiple instances report to Prometheus.
|
Load testing highlighted an issue: multiple instances of the same revision on Cloud Run had exactly the same labels and were overwriting each other when exported by otel-collector. I slightly changed the config by adding GCP resource detection, which introduces several labels to Prometheus metrics including the unique instance ID of each instance. This appears to have solved the problem - e.g., there are no unaccounted for requests when querying Prometheus. |
And you did this here, right? 611d2bb |