From e0bc2c305b9462bd4c9dd7de2aa265c176bcbfcc Mon Sep 17 00:00:00 2001 From: whn <142425816+Whning0513@users.noreply.github.com> Date: Thu, 30 Jul 2026 03:19:25 +0800 Subject: [PATCH 1/2] docs: link example source files --- docs/examples/metrics/views/README.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/examples/metrics/views/README.rst b/docs/examples/metrics/views/README.rst index 43f30df693d..94a6188139f 100644 --- a/docs/examples/metrics/views/README.rst +++ b/docs/examples/metrics/views/README.rst @@ -3,11 +3,11 @@ View common scenarios These examples show how to customize the metrics that are output by the SDK using Views. There are multiple examples: -* change_aggregation.py: Shows how to configure to change the default aggregation for an instrument. -* change_name.py: Shows how to change the name of a metric. -* limit_num_of_attrs.py: Shows how to limit the number of attributes that are output for a metric. -* drop_metrics_from_instrument.py: Shows how to drop measurements from an instrument. -* change_reservoir_factory.py: Shows how to use your own ``ExemplarReservoir`` +* :scm_web:`change_aggregation.py `: Shows how to configure to change the default aggregation for an instrument. +* :scm_web:`change_name.py `: Shows how to change the name of a metric. +* :scm_web:`limit_num_of_attrs.py `: Shows how to limit the number of attributes that are output for a metric. +* :scm_web:`drop_metrics_from_instrument.py `: Shows how to drop measurements from an instrument. +* :scm_web:`change_reservoir_factory.py `: Shows how to use your own ``ExemplarReservoir`` The source files of these examples are available :scm_web:`here `. From e47a5099ce16170474d1670ae39a4a554afd1a13 Mon Sep 17 00:00:00 2001 From: whn <142425816+Whning0513@users.noreply.github.com> Date: Thu, 30 Jul 2026 03:19:27 +0800 Subject: [PATCH 2/2] docs: link example source files --- docs/examples/metrics/reader/README.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/examples/metrics/reader/README.rst b/docs/examples/metrics/reader/README.rst index 01a913f22a3..bbeeefe97e9 100644 --- a/docs/examples/metrics/reader/README.rst +++ b/docs/examples/metrics/reader/README.rst @@ -3,10 +3,10 @@ MetricReader configuration scenarios These examples show how to customize the metrics that are output by the SDK using configuration on metric readers. There are multiple examples: -* preferred_aggregation.py: Shows how to configure the preferred aggregation for metric instrument types. -* preferred_temporality.py: Shows how to configure the preferred temporality for metric instrument types. -* preferred_exemplarfilter.py: Shows how to configure the exemplar filter. -* synchronous_gauge_read.py: Shows how to use `PeriodicExportingMetricReader` in a synchronous manner to explicitly control the collection of metrics. +* :scm_web:`preferred_aggregation.py `: Shows how to configure the preferred aggregation for metric instrument types. +* :scm_web:`preferred_temporality.py `: Shows how to configure the preferred temporality for metric instrument types. +* :scm_web:`preferred_exemplarfilter.py `: Shows how to configure the exemplar filter. +* :scm_web:`synchronous_gauge_read.py `: Shows how to use `PeriodicExportingMetricReader` in a synchronous manner to explicitly control the collection of metrics. The source files of these examples are available :scm_web:`here `.