Files
query-orchestration/internal/serviceconfig/observability/prometheus/generator/readme.md
T
Jay Brown ab28cf30db Merged in feature/common-metrics (pull request #73)
Add common metrics

* add common metrics

and sample for using

* updates

* attempt integration

* wip

* working

stubs generate

* docs

* comments

* Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/common-metrics

* runner metrics all

* exclude generated

from the coverage

* fix lint

* refactor metrics

* change .gen filename

* new gen

* Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/common-metrics

* docs

* main merge

* refactor

* add to generate

* merge main
2025-03-05 16:59:01 +00:00

341 B

Generator for metrics stubs

This main.go is called from go generate ./... and will generate the stubs located inj the generated_metrics_stubs.go file in the prometheus package.

These stubs should be use exclusively by any code that is pushing metrics.

TODO: We may even want to make the underlying raw calls private. (to discuss)