opentelemetry-python
opentelemetry-python-contrib
opentelemetry-python | opentelemetry-python-contrib | |
---|---|---|
6 | 3 | |
1,604 | 617 | |
2.2% | 4.7% | |
9.3 | 9.4 | |
about 22 hours ago | 3 days ago | |
Python | Python | |
Apache License 2.0 | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
opentelemetry-python
-
OpenTelemetry Journey #01 - Important concepts
Python
-
Did OpenTelemetry deliver on its promise in 2023?
As an example, Exemplars are part of the metrics spec [1]. The official python library says metrics status is 'stable' [2]. But there's an approximately 2-year old issue with no work on it, titled 'Metrics: Add support for exemplars', where the latest update is that no work has begun [3]. Nothing at a top-level of the opentelemetry-python project indicates that the project does not implement everything in the metrics spec, so if you wanted to use that capability, you are apt to discover it relatively late.
[1] https://opentelemetry.io/docs/specs/otel/metrics/data-model/...
[2] https://github.com/open-telemetry/opentelemetry-python
[3] https://github.com/open-telemetry/opentelemetry-python/issue...
-
What existing libraries are there for implementing Kubernetes liveness and readiness probes?
Unfortunately, I have not seen any modern libraries that can match the features offered by the archived library. However, there are similar libraries that could be used, such as https://github.com/open-telemetry/opentelemetry-python which provides health checks and metrics. Additionally, you could use Prometheus libraries such as https://github.com/prometheus/client\_python to get similar metrics. However, both of these libraries might require some modification to get the desired features
-
Auto-Instrumentation Is Magic: Using OpenTelemetry Python with Lightstep
We need to force a specific version of protobuf because of Launcher compatibility issues with newer versions. This was already fixed in opentelemetry-python.
-
Honeycomb, Python, and I: an OpenTelemetry Horror Story (With a Happy Ending)
I spent a huge amount of time - maybe 6 hours - digging into the problem. I was flipping back and forth between honeycomb's docs, the open telemetry docs, and the open telemetry python repo digging through issues.
-
Monitor your Python application with OpenTelemetry and SigNoz ππ
You can check out the current releases of opentelemetry-python.
opentelemetry-python-contrib
-
OpenTelemetry for Python: The Hard Way
In my last blog post, I showed yβall how to instrument Python code with OpenTelemetry (OTel), Γ la auto-instrumentation. You may also recall from that post that I recommended using the Python auto-instrumentation binary even for non-auto-instrumented libraries, because it abstracts all that pesky OTel config stuff so nicely. When you use it, along with any applicable Python auto-instrumentation libraries (installed courtesy of opentelemetry-bootstrap), it takes care of context propagation across related services for you.
-
Auto-Instrumentation Is Magic: Using OpenTelemetry Python with Lightstep
More specifically, auto-instrumentation uses shims or bytecode instrumentation agents to intercept your code at runtime or at compile-time to add tracing and metrics instrumentation to the libraries and frameworks you depend on. The beauty of auto-instrumentation is that it requires a minimum amount of effort. Sit back, relax, and enjoy the show. A number of popular Python libraries are auto-instrumented, including Flask and Django. You can find the full list here.
-
Do i really want to mess with OpenTelemetry, or just hook straight into Datadog
And sure, there's gaps and those are awful when you get to them. But writing minimal tracing integration is pretty easy. This is the full source of the psycopg2 instrumentation. https://github.com/open-telemetry/opentelemetry-python-contrib/blob/main/instrumentation/opentelemetry-instrumentation-psycopg2/src/opentelemetry/instrumentation/psycopg2/__init__.py
What are some alternatives?
sanic - Accelerate your web app development | Build fast. Run fast.
vector - A high-performance observability data pipeline.
signoz - SigNoz is an open-source observability platform native to OpenTelemetry with logs, traces and metrics in a single application. An open-source alternative to DataDog, NewRelic, etc. π₯ π₯. π Open source Application Performance Monitoring (APM) & Observability tool
debug-toolkit - A modern code-injection framework for Python. Like Pyrasite but Kubernetes-aware.
sample-flask-app - Sample Flask Application to demonstrate OpenTelemetry instrumentation
opentelemetry-examples - Example code and resources for working with OpenTelemetry, provided by Lightstep
examples - Example apps and instrumentation for Honeycomb
opentelemetry.io - The OpenTelemetry website and documentation
thanos - Highly available Prometheus setup with long term storage capabilities. A CNCF Incubating project.
seaworthy - A CLI to verify Kubernetes resource health
opentelemetry-specification - Specifications for OpenTelemetry