From d9b54aa9a72bc48c48854efa13a0543639fcb46b Mon Sep 17 00:00:00 2001 From: Don Bourne Date: Mon, 8 Aug 2022 14:01:20 -0400 Subject: [PATCH] block use of _scope and _app tag names by apps Signed-off-by: Don Bourne --- spec/src/main/asciidoc/architecture.adoc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/src/main/asciidoc/architecture.adoc b/spec/src/main/asciidoc/architecture.adoc index 56dc923a..36f01773 100644 --- a/spec/src/main/asciidoc/architecture.adoc +++ b/spec/src/main/asciidoc/architecture.adoc @@ -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.