Skip to content

Commit f86a465

Browse files
authored
remove attribute name/type from instrument creation (#1594)
1 parent 796deb4 commit f86a465

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

specification/metrics/new_api.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -153,8 +153,6 @@ will have the following information:
153153
instruments, whether it is synchronous or asynchronous
154154
* An optional `unit of measure`
155155
* An optional `description`
156-
* An optional list of [`Attribute`](../common/common.md#attributes) names and
157-
types
158156

159157
Instruments are associated with the Meter during creation, and are identified by
160158
the name:
@@ -243,8 +241,6 @@ The API MUST accept the following parameters:
243241
rule](#instrument-unit).
244242
* An optional `description`, following the [instrument description
245243
rule](#instrument-description).
246-
* An optional list of [`Attribute`](../common/common.md#attributes) names and
247-
types.
248244

249245
Here are some examples that individual language client might consider:
250246

@@ -319,6 +315,14 @@ for the interaction between the API and SDK.
319315
* A value
320316
* [`Attributes`](../common/common.md#attributes)
321317

318+
## Compatibility
319+
320+
All the metrics components SHOULD allow new APIs to be added to existing
321+
components without introducing breaking changes.
322+
323+
All the metrics APIs SHOULD allow optional parameter(s) to be added to existing
324+
APIs without introducing breaking changes.
325+
322326
## Concurrency
323327

324328
For languages which support concurrent execution the Metrics APIs provide

0 commit comments

Comments
 (0)