docs/examples/metrics/reader/README.rst
These examples show how to customize the metrics that are output by the SDK using configuration on metric readers. There are multiple examples:
PeriodicExportingMetricReader in a synchronous manner to explicitly control the collection of metrics.The source files of these examples are available :scm_web:here <docs/examples/metrics/reader/>.
.. code-block:: sh
pip install -r requirements.txt
.. code-block:: sh
python <example_name>.py
The output will be shown in the console.
../../../api/metrics.. _OpenTelemetry: https://github.com/open-telemetry/opentelemetry-python/