Getting Started
Get telemetry for your app in less than 5 minutes!
You are viewing the English version of this page because it has not yet been fully translated. Interested in helping out? See Contributing.
่ฟๆฏ OpenTelemetry Python ็ๆๆกฃใ OpenTelemetry ๆฏไธไธชๅฏ่งๆตๆงๆกๆถ๏ผ่ฟไธชๆกๆถๆไพไบ APIใSDK ไปฅๅไธ็ณปๅๅทฅๅ ท๏ผ็จไบ่พ ๅฉ็ๆไปฅๅๆถ้ๅบ็จ็้ฅๆตๆฐๆฎ๏ผๆฏๅฆ้พ่ทฏใๆๆ ใๆฅๅฟใ ้่ฟๆฌๆๆกฃ๏ผไฝ ๅฐไบ่งฃๅฆไฝๅผๅงไฝฟ็จ OpenTelemetry Pythonใ
OpenTelemetry Python ็ๅฝๅไธป่ฆๅ่ฝ็ปไปถ็ถๆๅฆไธ๏ผ
้พ่ทฏ | ๆๆ | ๆฅๅฟ |
---|---|---|
Stable | Stable | Development |
ๆไปฌๅฏไปฅๅจ Releases ไธญๆพๅฐๆๆๅทฒๅๅธ็็ๆฌ๏ผๅ ๆฌๆๆฐๅๅธ็็ๆฌใ
OpenTelemetry-Python supports Python 3.9 and higher.
The API and SDK packages are available on PyPI, and can be installed via pip:
pip install opentelemetry-api
pip install opentelemetry-sdk
In addition, there are several extension packages which can be installed separately as:
pip install opentelemetry-exporter-{exporter}
pip install opentelemetry-instrumentation-{instrumentation}
These are for exporter and instrumentation libraries respectively. The Jaeger, Zipkin, Prometheus, OTLP and OpenCensus Exporters can be found in the exporter directory of the repository. Instrumentations and additional exporters can be found in the contrib repository instrumentation and exporter directories.
To find related projects like exporters, instrumentation libraries, tracer implementations, etc., visit the Registry.
There is some functionality that has not yet been released to PyPI. In that situation, you may want to install the packages directly from the repository. This can be done by cloning the repository and doing an editable install:
git clone https://github.com/open-telemetry/opentelemetry-python.git
cd opentelemetry-python
pip install -e ./opentelemetry-api -e ./opentelemetry-sdk -e ./opentelemetry-semantic-conventions
Get telemetry for your app in less than 5 minutes!
Manual instrumentation for OpenTelemetry Python
Process and export your telemetry data
Context propagation for the Python SDK
Instrumentation libraries, exporters and other useful components for OpenTelemetry Python
Was this page helpful?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!