Skip to content

Commit 4704d7e

Browse files
committed
view stream.Enabled can be unset
1 parent bc1aca1 commit 4704d7e

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

specification/metrics/sdk.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,10 @@ The SDK MUST accept the following stream configuration parameters:
417417
* **Status**: [Development](../document-status.md) - `enabled` (optional): A
418418
boolean denoting whether the instrument should be enabled. When `enabled` is
419419
`false`, the View uses the `DropAggregation`, regardless of the `aggregation`
420-
provided. If unset, the default is `true` unless the `OptIn`
421-
parameter is `true`.
420+
provided. When `enabled` is `true` for an instrument with `OptIn` set to
421+
`true`, the SDK treats the instrument as-if `OptIn` was set to false. The
422+
SDK must allow `enabled` to be unset (neither true nor false). If unset,
423+
`enabled` has no effect.
422424

423425
#### Measurement processing
424426

0 commit comments

Comments
 (0)