diff --git a/docs/examples/auto-instrumentation/README.rst b/docs/examples/auto-instrumentation/README.rst index b9f3692a372..c35fc04ef97 100644 --- a/docs/examples/auto-instrumentation/README.rst +++ b/docs/examples/auto-instrumentation/README.rst @@ -4,4 +4,6 @@ Auto-instrumentation To learn about automatic instrumentation and how to run the example in this directory, see `Automatic Instrumentation`_. +The source files of this example are available :scm_web:`here `. + .. _Automatic Instrumentation: https://opentelemetry.io/docs/instrumentation/python/automatic/example diff --git a/docs/examples/error_handler/error_handler_0/README.rst b/docs/examples/error_handler/error_handler_0/README.rst index 0c86902e4ca..39959d36d75 100644 --- a/docs/examples/error_handler/error_handler_0/README.rst +++ b/docs/examples/error_handler/error_handler_0/README.rst @@ -2,3 +2,5 @@ Error Handler 0 =============== This is just an error handler for this example. + +The source files for this subexample are available :scm_web:`here `. diff --git a/docs/examples/error_handler/error_handler_1/README.rst b/docs/examples/error_handler/error_handler_1/README.rst index 029b95f5c0f..476ee1b9f73 100644 --- a/docs/examples/error_handler/error_handler_1/README.rst +++ b/docs/examples/error_handler/error_handler_1/README.rst @@ -2,3 +2,5 @@ Error Handler 1 =============== This is just an error handler for this example. + +The source files for this subexample are available :scm_web:`here `. diff --git a/docs/examples/fork-process-model/flask-gunicorn/README.rst b/docs/examples/fork-process-model/flask-gunicorn/README.rst index 6ca9790dcd7..995dcecf062 100644 --- a/docs/examples/fork-process-model/flask-gunicorn/README.rst +++ b/docs/examples/fork-process-model/flask-gunicorn/README.rst @@ -1,5 +1,8 @@ Installation ------------ + +The source files of this example are available :scm_web:`here `. + .. code-block:: sh pip install -rrequirements.txt diff --git a/docs/examples/fork-process-model/flask-uwsgi/README.rst b/docs/examples/fork-process-model/flask-uwsgi/README.rst index d9310e03f4c..7e4b23f032e 100644 --- a/docs/examples/fork-process-model/flask-uwsgi/README.rst +++ b/docs/examples/fork-process-model/flask-uwsgi/README.rst @@ -1,5 +1,8 @@ Installation ------------ + +The source files of this example are available :scm_web:`here `. + .. code-block:: sh pip install -rrequirements.txt 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 `. diff --git a/docs/examples/sqlcommenter/README.rst b/docs/examples/sqlcommenter/README.rst index 99b5de526e7..6cde070fb90 100644 --- a/docs/examples/sqlcommenter/README.rst +++ b/docs/examples/sqlcommenter/README.rst @@ -8,7 +8,7 @@ For more information on sqlcommenter concepts, see: * `Semantic Conventions - Database Spans `_ * `sqlcommenter `_ -The source files of this example are available `here `_. +The source files of this example are available :scm_web:`here `. This example uses Docker to manage a database server and OpenTelemetry collector. Run MySQL server @@ -121,4 +121,4 @@ References * `OpenTelemetry Collector `_ * `OpenTelemetry MySQL instrumentation `_ * `Semantic Conventions - Database Spans `_ -* `sqlcommenter `_ \ No newline at end of file +* `sqlcommenter `_