ab28cf30db
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
341 B
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)