Skip to content

Commit a1aa19c

Browse files
reyangocelotljmacd
authored
Clarify what does wildcard mean in the Metrics SDK View (open-telemetry#2325)
* Clarify what does wildcard mean in the Metrics SDK View * changelog * Update specification/metrics/sdk.md Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com> * feedback * fix url Co-authored-by: Diego Hurtado <ocelotl@users.noreply.github.com> Co-authored-by: Joshua MacDonald <jmacd@users.noreply.github.com>
1 parent 6f52c98 commit a1aa19c

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ release.
4141
[#2032](https://github.com/open-telemetry/opentelemetry-specification/pull/2061)
4242
- Changed default Prometheus Exporter host from `0.0.0.0` to `localhost`.
4343
([#2282](https://github.com/open-telemetry/opentelemetry-specification/pull/2282))
44+
- Clarified wildcard and predicate support in metrics SDK View API.
45+
([#2325](https://github.com/open-telemetry/opentelemetry-specification/pull/2325))
4446

4547
### Logs
4648

specification/metrics/sdk.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,10 @@ are the inputs:
147147

148148
* The Instrument selection criteria (required), which covers:
149149
* The `type` of the Instrument(s) (optional).
150-
* The `name` of the Instrument(s), with wildcard support (optional).
150+
* The `name` of the Instrument(s). [OpenTelemetry SDK](../overview.md#sdk)
151+
authors MAY choose to support wildcard characters, with the question mark
152+
(`?`) matching exactly one character and the asterisk character (`*`)
153+
matching zero or more characters.
151154
* The `name` of the Meter (optional).
152155
* The `version` of the Meter (optional).
153156
* The `schema_url` of the Meter (optional).

0 commit comments

Comments
 (0)