|
| 1 | +# Azure Monitor Opentelemetry Distro |
| 2 | + |
| 3 | +Azure Monitor Distro of [Opentelemetry Python][ot_sdk_python] provides multiple installable components available for an Opentelemetry Azure Monitor monitoring solution. It allows you to instrument your Python applications to capture and report telemetry to Azure Monitor via the Azure monitor exporters. |
| 4 | + |
| 5 | +This distro automatically installs the following libraries: |
| 6 | + |
| 7 | +* [Azure Monitor OpenTelemetry exporters][azure_monitor_opentelemetry_exporters] |
| 8 | +* [OpenTelemetry Requests Instrumentation][opentelemetry_instrumentation_requests] |
| 9 | +* [OpenTelemetry Flask Instrumentation][opentelemetry_instrumentation_flask] |
| 10 | +* [OpenTelemetry Psycopg2 Instrumentation][opentelemetry_instrumentation_psycopg2] |
| 11 | + |
| 12 | +## Getting started |
| 13 | + |
| 14 | +### Install the package |
| 15 | + |
| 16 | +Install the Azure Monitor Opentelemetry Distro with [pip][pip]: |
| 17 | + |
| 18 | +```Bash |
| 19 | +pip install azure-monitor-opentelemetry-distro |
| 20 | +``` |
| 21 | + |
| 22 | +### Prerequisites: |
| 23 | +To use this package, you must have: |
| 24 | +* Azure subscription - [Create a free account][azure_sub] |
| 25 | +* Azure Monitor - [How to use application insights][application_insights_namespace] |
| 26 | +* Opentelemetry SDK - [Opentelemtry SDK for Python][ot_sdk_python] |
| 27 | +* Python 3.6 or later - [Install Python][python] |
| 28 | + |
| 29 | +### Additional documentation |
| 30 | + |
| 31 | +[Azure Portal][azure_portal] |
| 32 | + |
| 33 | +<!-- LINKS --> |
| 34 | +[azure_monitor_opentelemetry_exporters]: https://github.com/Azure/azure-sdk-for-python/tree/main/sdk/monitor/azure-monitor-opentelemetry-exporter#microsoft-opentelemetry-exporter-for-azure-monitor |
| 35 | +[azure_portal]: https://portal.azure.com |
| 36 | +[azure_sub]: https://azure.microsoft.com/free/ |
| 37 | +[application_insights_namespace]: https://docs.microsoft.com/azure/azure-monitor/app/ |
| 38 | +[pip]: https://pypi.org/project/pip/ |
| 39 | +[ot_sdk_python]: https://github.com/open-telemetry/opentelemetry-python |
| 40 | +[opentelemetry_instrumentation_requests]: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-requests |
| 41 | +[opentelemetry_instrumentation_flask]: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-flask |
| 42 | +[opentelemetry_instrumentation_psycopg2]: https://github.com/open-telemetry/opentelemetry-python-contrib/tree/main/instrumentation/opentelemetry-instrumentation-psycopg2 |
| 43 | +[python]: https://www.python.org/downloads/ |
0 commit comments