File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
opentelemetry-sdk/src/metrics Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,6 @@ pub trait PushMetricsExporter: Send + Sync + 'static {
2929 /// instead will return an error indicating the shutdown state.
3030 fn shutdown ( & self ) -> Result < ( ) > ;
3131
32- /// Access the [Temporality] of the [ MetricExporter]
32+ /// Access the [Temporality] of the MetricExporter.
3333 fn temporality ( & self ) -> Temporality ;
3434}
Original file line number Diff line number Diff line change @@ -371,13 +371,13 @@ impl MetricReader for PeriodicReader {
371371 shutdown_result
372372 }
373373
374- /// To construct a MetricReader when setting up an SDK,
374+ /// To construct a [ MetricReader][metric-reader] when setting up an SDK,
375375 /// The output temporality (optional), a function of instrument kind.
376376 /// This function SHOULD be obtained from the exporter.
377377 ///
378378 /// If not configured, the Cumulative temporality SHOULD be used.
379379 ///
380- /// https://github.com/open-telemetry/opentelemetry-specification/blob/0a78571045ca1dca48621c9648ec3c832c3c541c/specification/metrics/sdk.md#metricreader
380+ /// [metric-reader]: https://github.com/open-telemetry/opentelemetry-specification/blob/0a78571045ca1dca48621c9648ec3c832c3c541c/specification/metrics/sdk.md#metricreader
381381 fn temporality ( & self , kind : InstrumentKind ) -> super :: data:: Temporality {
382382 kind. temporality_preference ( self . exporter . temporality ( ) )
383383 }
You can’t perform that action at this time.
0 commit comments