Skip to content

[Monitor] Support additional special characters in metrics alert create.#8242

Merged
tjprescott merged 1 commit intoAzure:devfrom
tjprescott:MonitorGrammarFixes
Jan 14, 2019
Merged

[Monitor] Support additional special characters in metrics alert create.#8242
tjprescott merged 1 commit intoAzure:devfrom
tjprescott:MonitorGrammarFixes

Conversation

@tjprescott
Copy link
Member

Fix #7598.


This checklist is used to make sure that common guidelines for a pull request are followed.

  • The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

  • I adhere to the Command Guidelines.

Copy link
Contributor

@adewaleo adewaleo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me, seeing almost all of this was generated python code and it passes CI.

@@ -0,0 +1 @@
java org.antlr.v4.Tool %* No newline at end of file
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do have a question though, would it be desired to make the scripts platform-independent?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Philosophically, yes. Practically, no. Regardless of your dev environment, if you need to modify the grammar, you have to do a bunch more manual setup to be able to generate the grammar code anyways.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this manual setup documented somewhere, or at least a pointer to somewhere with instructions?

@tjprescott tjprescott merged commit b84c2bb into Azure:dev Jan 14, 2019
@tjprescott tjprescott deleted the MonitorGrammarFixes branch January 14, 2019 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

az monitor metrics alert create doesn't allow metric names to have certain special characters.

3 participants