You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[metrics][storage] Move metrics reader decorator to metrics storage factory (#6287)
## Which problem is this PR solving?
- Towards #6219
## Description of the changes
- This PR moves the decoration of the metrics readers with the metrics
factory to inside the storage factory itself rather than handling it a
higher level (ex. all-in-one, query server/extension)
- For v2, the namespacing of the metrics has been moved from the query
extension to the storage extension.
- For v1, the namespacing of the metrics has been moved from the various
binaries to the metrics storage meta-factory.
- 🛑 This PR contains the following breaking changes:
- In v1, metrics related to the metrics reader that were being published
under `jaeger_query` will now be published under `jaeger_storage` with
the `kind` and `role=metricstore` tags.
- In v2, metrics related to the metrics reader that were being published
under `jaeger_metricstore` will now be published under `jaeger_storage`
with the `name`, `kind`, and `role=metricstore` tags.
## How was this change tested?
- CI
## Checklist
- [x] I have read
https://github.com/jaegertracing/jaeger/blob/master/CONTRIBUTING_GUIDELINES.md
- [x] I have signed all commits
- [x] I have added unit tests for the new functionality
- [x] I have run lint and test steps successfully
- for `jaeger`: `make lint test`
- for `jaeger-ui`: `yarn lint` and `yarn test`
---------
Signed-off-by: Mahad Zaryab <[email protected]>
0 commit comments