Skip to content

Commit cf46a55

Browse files
authored
Move metric validation from api to sdk (#1269)
* Move metric validation from api to sdk * moved validation process for metrics instrument from api to sdk. * included hyphens in instrument names as valid values. * increase instrument name maximum length from 63 to 255 characters. * refactor(metrics): rename InstProvider to InstrumentProvider * refactor(metrics): define spec limitation to const
1 parent 3ee22ce commit cf46a55

File tree

3 files changed

+307
-151
lines changed

3 files changed

+307
-151
lines changed

opentelemetry-sdk/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@
2222
- Add `Sync` bound to the `SpanExporter` and `LogExporter` traits [#1240](https://github.com/open-telemetry/opentelemetry-rust/pull/1240)
2323
- Move `MetricsProducer` config to builders to match other config (#1266)
2424
- Return error earlier if readers are shut down (#1266)
25+
- Add `/` to valid characters for instrument names (#1269)
26+
- Increase instrument name maximum length from 63 to 255 (#1269)
2527

2628
### Removed
2729

0 commit comments

Comments
 (0)