Skip to content
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

[WFLY-19351] Add Micrometer test to verify that applications with shared metrics names are not merged when exported #17898

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jasondlee
Copy link
Contributor

@jasondlee jasondlee commented May 20, 2024

https://issues.redhat.com/browse/WFLY-19351

Add test with multiple war deployments
Add test with ear with multiple war subdeployments
Rework how Prometheus metrics are retrieved and handled
Add test to verify that metrics with identical names are exported separately


More information about the wildfly-bot[bot]

Copy link
Contributor

@bstansberry bstansberry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jasondlee I made a bunch of code style comments but the substantive change LGTM.

@jasondlee
Copy link
Contributor Author

@jasondlee I made a bunch of code style comments but the substantive change LGTM.

Thanks. I'll get these updated as soon as I can.

@jasondlee
Copy link
Contributor Author

@bstansberry All changes should be address 'cept for the import order. Those have been updated, but I'll wait to resolve those until I can confirm I have the right order. :)

bstansberry
bstansberry previously approved these changes Jun 13, 2024
@bstansberry bstansberry dismissed their stale review June 21, 2024 15:54

@jasondlee I'm withdrawing my approval because the tests are failing.

@jasondlee
Copy link
Contributor Author

@jasondlee I'm withdrawing my approval because the tests are failing.

@bstansberry You're so picky. :) I've been reworking the tests so they should be more stable. Will be pushing an update "soon"

@jasondlee jasondlee force-pushed the WFLY-19351 branch 3 times, most recently from 3b7ea25 to 496bc27 Compare June 24, 2024 22:55
…red metrics names are not merged when exported

Add test with multiple war deployments
Add test with ear with multiple war subdeployments
Rework how Prometheus metrics are retrieved and handled
Add test to verify that metrics with identical names are exported separately
Add a TestEnricher to manage lifecycle and injection of the Otel container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants