Skip to content

Commit

Permalink
block use of _scope and _app tag names by apps
Browse files Browse the repository at this point in the history
Signed-off-by: Don Bourne <dbourne@ca.ibm.com>
  • Loading branch information
donbourne committed Aug 8, 2022
1 parent 2a882f5 commit d9b54aa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/src/main/asciidoc/architecture.adoc
Expand Up @@ -128,6 +128,8 @@ For portability reasons, the key name for the tag must match the regex `[a-zA-Z_
If an illegal character is used, the implementation must throw an `IllegalArgumentException`.
If a duplicate tag is used, the last occurrence of the tag is used.

The tags named `_scope` and `_app` are reserved. If an application attempts to create a metric with either of these tags, the implementation must throw an `IllegalArgumentException`.

The tag value may contain any UTF-8 encoded character.

NOTE: The REST endpoints provided by MicroProfile Metrics have different reserved characters based on the format.
Expand Down

0 comments on commit d9b54aa

Please sign in to comment.