Skip to content

Conversation

@DarcyRaynerDD
Copy link
Contributor

What does this PR do?

Modify tag parsing rules to match Datadog's internal integrations

  1. Convert camel case to underscores
  2. Replaces colons with _
  3. Convert to all lowercase unicode string
  4. Convert bad characters to underscores
  5. Dedupe contiguous underscores
  6. Remove initial underscores/digits such that the string
  7. Truncate to 200 characters
  8. Strip trailing underscores

Motivation

What inspired you to submit this pull request?

Additional Notes

Anything else we should know when reviewing?

Checklist

  • Member of the datadog team has run integration tests

@DarcyRaynerDD DarcyRaynerDD merged commit fd72343 into master Mar 31, 2020
@DarcyRaynerDD DarcyRaynerDD deleted the darcy.rayner/fix-enhanced-metrics-tags branch March 31, 2020 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants