Skip to content

Commit 4561323

Browse files
committed
docs: fix broken links
1 parent 773803c commit 4561323

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

opentelemetry-sdk/src/metrics/exporter.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

opentelemetry-sdk/src/metrics/periodic_reader.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)