Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Align metric name regex with AWS naming requirements #42

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

swachter
Copy link

This PR aligns the regular expression that is used to analyze dimensional metric names with AWS's requirements for these names.

The rules for namespaces are (cf. cloudwatch_concepts): alphanumeric characters (0-9A-Za-z), period (.), hyphen (-), underscore (_), forward slash (/), hash (#), and colon (:).

The rules for dimension names and values are (cf. API_Dimension):

Dimension names must contain only ASCII characters, must include at least one non-whitespace character, and cannot start with a colon (:).

Dimension values must contain only ASCII characters and must include at least one non-whitespace character.

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.

1 participant