feat: Add SDK wrapper metric tagging#542
Merged
Merged
Conversation
keelerm84
approved these changes
Oct 22, 2025
keelerm84
pushed a commit
that referenced
this pull request
Oct 22, 2025
🤖 I have created a release *beep* *boop* --- ## [8.14.0](v8.13.3...v8.14.0) (2025-10-22) ### Features * Add SDK wrapper metric tagging ([#542](#542)) ([ab5a69b](ab5a69b)) ### Bug Fixes * **deps:** bump supported Go versions to 1.25.0 and 1.24.6 ([#533](#533)) ([8b70264](8b70264)) * **deps:** bump supported Go versions to 1.25.1 and 1.24.7 ([#536](#536)) ([fba0368](fba0368)) * **deps:** bump supported Go versions to 1.25.2 and 1.24.8 ([#537](#537)) ([8f50322](8f50322)) * **deps:** update Dockerfiles from 3.22.1 to alpine:3.22.2 ([#539](#539)) ([c686a36](c686a36)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Release 8.14.0 adding SDK wrapper metric tagging and updating supported Go/Alpine versions; bump version strings and changelog. > > - **Release 8.14.0** > - Add feature: SDK wrapper metric tagging. > - Update dependencies/runtime: > - Supported Go versions bumped to 1.25.0/1.24.6, 1.25.1/1.24.7, and 1.25.2/1.24.8. > - Dockerfiles updated to `alpine:3.22.2`. > - **Versioning** > - Bump version to `8.14.0` in `.release-please-manifest.json` and `relay/version/version.go`. > - **Docs** > - Append `8.14.0` entry to `CHANGELOG.md` summarizing the above. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 1462a57. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY --> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
This was referenced Mar 27, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requirements
Related issues
Provide links to any issues in this repository or elsewhere relating to this pull request.
Describe the solution you've provided
Add a tag named
sdkWrapperpopulated by thex-launchdarkly-wrapperheader when providedDescribe alternatives you've considered
Provide a clear and concise description of any alternative solutions or features you've considered.
Additional context
Tagging metrics by wrapper name/version requested by customer
Note
Adds
sdkWrappermetric tag (fromX-LaunchDarkly-Wrapper) across measures, middleware, and events exporter, and changes empty tag sanitization tonot-provided.sdkWrappertag key and include inpublicTags/privateTagsininternal/metrics/constants.go.WithGauge,WithCount, andWithRouteCountto acceptsdkWrapperand tag it.sanitizeTagValueto return"not-provided"for empty/whitespace and replace/with_.sdkWrappertag, include it in connection keys, and emit it inconnections,newConnections, andpollingCountspayloads.X-LaunchDarkly-WrapperviagetSDKWrapperand pass to metrics helpers in connection/request counters.sdkWrappertag (defaulting to"not-provided") and new sanitization behavior; add tests forgetSDKWrapper.Written by Cursor Bugbot for commit 3bc475d. This will update automatically on new commits. Configure here.