Repository navigation
Conversation
|
Local Java test run: FAILED — details
Failed: The unchanged timing test also missed its tolerance on pristine upstream under load. The targeted rerun on the branch passed. All 17 tests across the four changed unit suites passed. Tests run locally
Broader coverage not executed by this focused run
Why these tests
Impacted, not run locally (15)
Commandsmvn -B package -pl openmetadata-service -am -Dspring-boot.repackage.skip=true -Dtest=JettyMetricsIntegrationTest,JettyMetricsTest,MicrometerBundleTest,RequestLatencyContextTest,SearchIndexMetricsTest -Dsurefire.failIfNoSpecifiedTests=false
mvn -B verify -pl :openmetadata-integration-tests -am -Dspring-boot.repackage.skip=true -Pmysql-elasticsearch -DintegrationTests.lane=parallel -Dit.test=PrometheusResourceIT -Dfailsafe.failIfNoSpecifiedTests=false -Dtest=NoUnitTestsInThisRun -Dsurefire.failIfNoSpecifiedTests=false |
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
pmbrull
left a comment
There was a problem hiding this comment.
✅ No issues found
| Blockers | ✅ none |
| Nits | ✅ none |
| Tests | ✅ thread capacity, metric types, and GET/POST route grouping |
| Cross-repo | |
| Trade-off | ✅ justified: the route label changes because it collides with the scrape target’s endpoint label |
| Auto-approved | ➖ maintainer sign-off on the scrape-label rollout and green metadata |
Thanks for correcting the utilization denominator and providing queries for a mixed-version rollout.
Please record the staging scrape and dashboard check already listed in the PR. The rollout changes latency selectors from endpoint to http_route. The issue also needs to go into Shipping. Metadata check
What I checked
Reviewed the Jetty, exporter, diagnostics, and latency CLI changes. Ran the pinned CLI with http_route, endpoint, and exported_endpoint samples and checked that GET and POST keep their own counts, timings, and percentages. Backend CI passed. The author reports one local timing test failed on both the base and PR and passed on retry. The deployed scrape, dashboards, and wider impacted integration plan remain unverified.
claude-verdict {"sha":"7513ddc18bab4dd3c35e5cb682f5ef05072abda8","recommendation":"human","blocking":0,"nits_to_fix":0,"human_decision":true,"tradeoff":"holds","cross_repo":"could_not_check","tests_ok":true}
|
@pmbrull Thanks for calling out the rollout check. The required backend check passed on this head, and the local fixtures cover |
|
hi @Vamsi-klu can you share a real sample of exported prometheus metrics before and after the change, so we can evaluate that this is properly fixed? Thanks |
|
@pmbrull here is a real before and after sample. I ran Before ( After (this PR): What changed:
Every old series is still exported. 12 families are added, none removed. Not checked: the staging ServiceMonitor and dashboards. The one change they need is the latency selector, One open point: I can paste the full scrape files if that helps. Could #38509 be added to Shipping? |
Code Review ✅ Approved 🔴 High riskRenaming the exported latency route label from endpoint to http_route breaks existing scrape queries, which could omit route-level latency monitoring until rules migrate. Corrects Jetty thread utilization to use configured capacity and adds conventional Prometheus counter types, units, and VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
Describe your changes
Fixes #38509
Correct Jetty thread utilization to use configured capacity. Expose conventional Prometheus counter types, units, and route labels. The migration guide shows how to query old and new servers during a rollout.
Type of change
High-level design
http_routealongside the HTTP method. Internal diagnostics continue to read the route from the composite registry. The latency CLI accepts both scrape formats and reports methods separately.Tests
Use cases covered
Allocated versus configured thread capacity, saturation, invalid capacity, separate HTTP status and Jetty failure counts, signed wrap, handler restart, time conversion, CPU availability, shard capacity, and route/method grouping.
Unit tests
Backend integration tests
Local Java test run: FAILED
7513ddc18bab(baseorigin/main)Failed:
RequestLatencyContextTest#testTimingAccuracyWithKnownDurationsIngestion integration tests
N/A for the Java monitoring changes.
Playwright (UI) tests
N/A for the admin scrape and CLI changes.
Manual testing performed
Ran Bash syntax validation. The latency CLI listed and analyzed the exact table route for separate GET and POST samples with
http_route, legacyendpoint, and legacyexported_endpoint. The isolated Prometheus registry confirmed exact sample names, types, conversion, and compatibility. Promtool v3.8.0 passed the 12 new canonical families exported by the candidate registry. All six migration PromQL expressions and the mixed-version rule fixtures passed.UI screen recording
N/A for the admin scrape and CLI changes.
Checklist
7513ddc18bab4dd3c35e5cb682f5ef05072abda8against REVIEW.md.