Repository navigation
Conversation
✅ Deploy Preview for polite-licorice-3db33c canceled.
|
904e96a to
1f9b7c5
Compare
|
Hey @pbacterio Thanks for your PR. Your work is related to PR #2077. Anyway to combine this effort with that into one change? |
There was a problem hiding this comment.
I think I prefer this implementation over 2077. In there, if I'm reading correctly, evaluation.v1.Service/<anything> would still get recorded as is, and we have the same issue.
I don't love the maintenance associated with this hard-coded list, but in reality it's not that much.
Will merge tomorrow unless somebody objects.
@toddbaert what about to use protobuf reflections to simplify it? |
2131661 to
42ae15d
Compare
I've added something like this here. |
e4388f3 to
073045c
Compare
073045c to
37a0811
Compare
The evaluation service (default port 8013) recorded raw request paths and HTTP methods as http.server metric attributes. Requests to arbitrary paths or with custom methods could create unbounded metric series. Resolve http.route against the exact registered legacy, v1, and v2 RPC procedures, using / for every other path. Canonicalize standard HTTP methods and record unknown methods as _OTHER, matching the bounded labels used by OFREP. Request routing and responses are unchanged. Add regression coverage for registered and unknown paths, custom and mixed-case methods, metric labels across the HTTP instruments, and 404 responses. The core telemetry and affected flagd package tests pass. Signed-off-by: Germán Moya <[email protected]>
Signed-off-by: Todd Baert <[email protected]>
872ae33 to
f84dcb0
Compare
|
Stacked on #2092. Disables otelhttp metrics on the OFREP/sync handlers (tracing is kept), so OFREP requests are recorded once by the flagd metrics middleware. Together with the status-code fix in #2092, this fixes #2102. --------- Signed-off-by: Todd Baert <[email protected]>
🤖 I have created a release *beep* *boop* --- <details><summary>flagd: 0.18.1</summary> ## [0.18.1](flagd/v0.18.0...flagd/v0.18.1) (2026-10-26) ### 🐛 Bug Fixes * bound evaluation HTTP metric labels ([#2092](#2092)) ([f2e7713](f2e7713)) * record OFREP and sync HTTP metrics once ([#2103](#2103)) ([0a39a29](0a39a29)) ### ✨ New Features * add flag set ID to evaluation metrics ([#2078](#2078)) ([10f2ca0](10f2ca0)) * strict numeric range opt, TYPE_MISMATCH on precision loss ([#2100](#2100)) ([5cf6fff](5cf6fff)) ### 🧹 Chore * **deps:** update module golang.org/x/net to v0.61.0 ([#2097](#2097)) ([21db5c3](21db5c3)) * Update CHANGELOG with more details ([3f01794](3f01794)) </details> <details><summary>flagd-proxy: 0.9.13</summary> ## [0.9.13](flagd-proxy/v0.9.12...flagd-proxy/v0.9.13) (2026-10-26) ### 🧹 Chore * **deps:** update module golang.org/x/net to v0.61.0 ([#2097](#2097)) ([21db5c3](21db5c3)) </details> <details><summary>core: 0.19.1</summary> ## [0.19.1](core/v0.19.0...core/v0.19.1) (2026-10-26) ### 🐛 Bug Fixes * bound evaluation HTTP metric labels ([#2092](#2092)) ([f2e7713](f2e7713)) * record OFREP and sync HTTP metrics once ([#2103](#2103)) ([0a39a29](0a39a29)) ### ✨ New Features * add flag set ID to evaluation metrics ([#2078](#2078)) ([10f2ca0](10f2ca0)) * strict numeric range opt, TYPE_MISMATCH on precision loss ([#2100](#2100)) ([5cf6fff](5cf6fff)) </details> --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Signed-off-by: OpenFeature Bot <[email protected]>



This PR
The evaluation service (default port 8013) recorded raw request paths and HTTP methods as http.server metric attributes. Requests to arbitrary paths or with custom methods could create unbounded metric series.
This PR applies the same behaviour as OFREP service:
Request routing and responses are unchanged.
Add regression coverage for registered and unknown paths, custom and mixed-case methods, metric labels across the HTTP instruments, and 404 responses. The core telemetry and affected flagd package tests pass.
How to test