-
Notifications
You must be signed in to change notification settings - Fork 23
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
Multideployment scenario for MP Telemetry metrics #315
Conversation
It seems that original applicationMetricsAreRegisteredAtDeploymentTime test doesn't make sense, because metrics are not available right after deployment time. Metrics are available after first call that triggers metrics, so for example:
@fabiobrz Do you think this is expected? cc @jasondlee |
Github CI test errors seems to be not related with this PR, same for internal CI pipeline run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @marekkopecky - I am mostly okay with the changes but I dropped some comments and also remarks about similar changes which are outstanding in other PRs too.
Feel free to let me know what you think.
...main/java/org/jboss/eap/qe/microprofile/tooling/server/MicroProfileTelemetryServerSetup.java
Outdated
Show resolved
Hide resolved
tooling-observability/src/main/resources/otel-collector-config.yaml
Outdated
Show resolved
Hide resolved
...src/main/java/org/jboss/eap/qe/observability/containers/OpenTelemetryCollectorContainer.java
Outdated
Show resolved
Hide resolved
...y-metrics/src/main/java/org/jboss/eap/qe/microprofile/metrics/namefellow/PingOneService.java
Outdated
Show resolved
Hide resolved
...-metrics/src/test/java/org/jboss/eap/qe/microprofile/metrics/MPTelemetryServerSetupTask.java
Outdated
Show resolved
Hide resolved
...st/java/org/jboss/eap/qe/microprofile/metrics/namefellow/MultipleDeploymentsMetricsTest.java
Outdated
Show resolved
Hide resolved
479dde1
to
9b789e1
Compare
…qe#274 for MP Telemetry Metrics
9b789e1
to
3b1e621
Compare
PR rebased. Thank you for your feedback! Please note that I also added "batch-delay" property as Jason suggested, although this property actually hasn't fixed anything.
|
If interested, I also started eap-8.x-microprofile-simple-face#163 internal CI run. |
HI @marekkopecky - It looks like the test is failing sometimes, see eap-8.x-microprofile-testsuite//jdk=openjdk-17,label_exp=RHEL8&&dynamic&&large/1143:
could you please have a look? |
Looking to job logs, it seems that
I'm not sure how I can get more info about this error. I update start method in my last commit here, so we will see root cause of current IllegalStateException, if we see this issue later again. This said, the issue still seems to be intermittent and not related with changes in this MR, WDYT? |
Thanks @marekkopecky - Yes, the issue seems to be intermittent and for sure we can do something to improve the whole With that being said, changes LGTM, thanks for this PR that reintroduces test coverage for MP related metrics. |
This PR restores multideployment scenario originally written for MP Metrics testing, removed as a part of #274 effort. This PR also rewrite such test for MP Telemetry Metrics.
PR contains 2 commits. First with original code for MP Metrics, second with changes for MP Telemetry metrics. Second commit may be more interesting.
New MP telemetry spec has been added to WF as a part of https://issues.redhat.com/browse/WFLY-19846
CI run - running - eap-8.x-microprofile-simple-face#160
Please make sure your PR meets the following requirements: