From 5d0e3717fb3c5e282339e9ae7b8b5a89b52280f5 Mon Sep 17 00:00:00 2001 From: Reiley Yang Date: Fri, 11 Feb 2022 10:02:25 -0800 Subject: [PATCH] Clarify what does wildcard mean in the Metrics SDK View (#2325) * Clarify what does wildcard mean in the Metrics SDK View * changelog * Update specification/metrics/sdk.md Co-authored-by: Diego Hurtado * feedback * fix url Co-authored-by: Diego Hurtado Co-authored-by: Joshua MacDonald --- CHANGELOG.md | 2 ++ specification/metrics/sdk.md | 5 ++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 821833cb3ba..7b83f24d227 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -41,6 +41,8 @@ release. [#2032](https://github.com/open-telemetry/opentelemetry-specification/pull/2061) - Changed default Prometheus Exporter host from `0.0.0.0` to `localhost`. ([#2282](https://github.com/open-telemetry/opentelemetry-specification/pull/2282)) +- Clarified wildcard and predicate support in metrics SDK View API. + ([#2325](https://github.com/open-telemetry/opentelemetry-specification/pull/2325)) ### Logs diff --git a/specification/metrics/sdk.md b/specification/metrics/sdk.md index 1122b3df6f0..07c93a42023 100644 --- a/specification/metrics/sdk.md +++ b/specification/metrics/sdk.md @@ -147,7 +147,10 @@ are the inputs: * The Instrument selection criteria (required), which covers: * The `type` of the Instrument(s) (optional). - * The `name` of the Instrument(s), with wildcard support (optional). + * The `name` of the Instrument(s). [OpenTelemetry SDK](../overview.md#sdk) + authors MAY choose to support wildcard characters, with the question mark + (`?`) matching exactly one character and the asterisk character (`*`) + matching zero or more characters. * The `name` of the Meter (optional). * The `version` of the Meter (optional). * The `schema_url` of the Meter (optional).