Skip to content

Commit

Permalink
address register feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dashpole committed Nov 17, 2022
1 parent a4f5382 commit 2ed056b
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions specification/metrics/sdk.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ linkTitle: SDK
* [Exemplar defaults](#exemplar-defaults)
- [MetricReader](#metricreader)
* [MetricReader operations](#metricreader-operations)
+ [Register(MetricBridge)](#registermetricbridge)
+ [RegisterBridge(metricBridge)](#registermetricbridge)
+ [Collect](#collect)
+ [Shutdown](#shutdown-1)
* [Periodic exporting MetricReader](#periodic-exporting-metricreader)
Expand Down Expand Up @@ -824,11 +824,13 @@ functions.

### MetricReader operations

#### Register(MetricBridge)
#### RegisterBridge(metricBridge)

Register causes the MetricReader to use the provided
RegisterBridge causes the MetricReader to use the provided
[MetricBridge](#metricbridge) for as a source of aggregated metric data in
subsequent invokations of Collect.
subsequent invocations of Collect. RegisterBridge is expected to be called
during initialization, but MAY be invoked later. Multiple registrations
of the same metricBridge MAY result in duplicate metric data being collected.

If the [MeterProvider](#meterprovider) is an instance of
[MetricBridge](#metricbridge), this MAY be used to register the
Expand Down

0 comments on commit 2ed056b

Please sign in to comment.