-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ref(metrics): Add normalization and update set metrics hashing (#658)
Add metrics normalization in accordance with the metrics developer docs. Add metric name, unit, and tag truncation to adhere to the metrics user docs. Add to_envelope for a single Metric instance to facilitate sending metrics from sentry-cli. Change hash function to crc32 as described here, this ensures compatibility between different SDKs using the same metric. Use clone_from instead of clone and clone_into instead of to_owned in a couple of places as suggested by clippy.
- Loading branch information
Showing
13 changed files
with
1,467 additions
and
139 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.