Getting Started
Get telemetry for your app in less than 5 minutes!
これはOpenTelemetryPythonのドキュメントです。 OpenTelemetryはオブザーバビリティのためのフレームワークであり、メトリクス、ログ、トレースといったアプリケーションのテレメトリーデータの生成および収集を支援するように設計された API、SDK、およびツール群で構成されています。 このドキュメントは、OpenTelemetry Pythonの使い方を理解し、利用を開始するための手助けとなるように作られています。
OpenTelemetry Pythonの主要な機能コンポーネントの現在のステータスは以下の通りです。
| トレース | メトリクス | ログ |
|---|---|---|
| Stable | Stable | Development |
最新のリリースを含むリリース情報については、リリースをご覧ください。
OpenTelemetry-PythonはPython 3.9以上をサポートしています。
APIおよびSDKパッケージはPyPIで公開されており、pipでインストールできます。
pip install opentelemetry-api
pip install opentelemetry-sdk
また、個別にインストール可能な拡張パッケージもあります。
pip install opentelemetry-exporter-{exporter}
pip install opentelemetry-instrumentation-{instrumentation}
これらはそれぞれエクスポーターと計装ライブラリ用です。 Jaeger、Zipkin、Prometheus、OTLPおよびOpenCensusエクスポーターはリポジトリのexporterディレクトリにあります。 計装と追加のエクスポーターはcontribリポジトリのinstrumentationおよびexporterディレクトリにあります。
エクスポーター、計装ライブラリ、トレーサー実装などの関連プロジェクトを探すには、レジストリを参照してください。
まだPyPIにリリースされていない機能はいくつかあります。 その場合、リポジトリから直接パッケージをインストールすることができます。 リポジトリをクローンして編集可能なインストールを行う方法は次のとおりです。
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
このページは役に立ちましたか?
Thank you. Your feedback is appreciated!
Please let us know how we can improve this page. Your feedback is appreciated!