cdp-monitoring
fastapi prometheus + opentelemetry sdk
Install package
VERSION=0.1.0
pip install git+https://github.daumkakao.com/cdpdev/cdp-monitoring.git#${VERSION}
Usage
1. Tempo url 을 환경변수로 설정
설정되어 있지 않은 경우 모니터링도 비활성화
export TEMPO_URL=""
2. 모니터링 대상 FastAPI 앱을 init_monitoring 함수의 인자로 전달
# app 생성
from fastapi import FastAPI
app = FastAPI(title="My FastAPI App")
# 모니터링 설정 적용
from cdp_monitoring import init_monitoring
init_monitoring(app)
Uninstall package
pip uninstall cdp-monitoring
Metadata
Release files for cdp-monitoring 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| cdp_monitoring-0.2.0.tar.gz | 4.2 kB | Without provenance | Details for cdp_monitoring-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cdp_monitoring-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for cdp_monitoring-0.2.0-py3-none-any.whl |
Total release size: 9.5 kB
Release files / cdp_monitoring-0.2.0.tar.gz
| Download URL | cdp_monitoring-0.2.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ac293abf48f854b165dcde43bfe41f7e9b1f67e6bf01be4446ff2c674f125ca6
|
|
BLAKE2b-256 checksum How to use checksums |
f596083deefa0e85956abe17f2d52b52eba20385accc0a5908bae2789c2d06a2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.1 Darwin/22.5.0
|
Release files / cdp_monitoring-0.2.0-py3-none-any.whl
| Download URL | cdp_monitoring-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f248a6500180d3ecc456f862b119a760c5d2d50407e315bf3076a4c33d096dd4
|
|
BLAKE2b-256 checksum How to use checksums |
da5a112560d219f57f0435faab0eed10cbf5a5501747073b37c529a89ef8086c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.7.1 CPython/3.12.1 Darwin/22.5.0
|
Security for cdp-monitoring 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.