opentelemetry-python
shovel
opentelemetry-python | shovel | |
---|---|---|
6 | 1 | |
1,604 | 5 | |
1.9% | - | |
9.3 | 8.4 | |
about 18 hours ago | about 1 month ago | |
Python | Go | |
Apache License 2.0 | MIT License |
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.
shovel
-
Did OpenTelemetry deliver on its promise in 2023?
It doesn't read from files unfortunately, but https://openobserve.ai/ is very easy to set up locally (single binary) and send otel logs/metrics/traces to.
Here's how I run it locally for my little shovel project - https://github.com/bbkane/shovel#run-the-webapp-locally-with... .
Also linked from that README is an Ansible playbook to start OpenObserve as a systems service on a Linux VM.
Alternatively, see the shovel codebase I linked above for a "stdout" TracerProvider. You could do something like that to save to a file, and then use a tool to prettify the JSON. I have a small script to format json logs at https://github.com/bbkane/dotfiles/blob/2df9af5a9bbb40f2e101...
What are some alternatives?
sanic - Accelerate your web app development | Build fast. Run fast.
gost - GO Simple Tunnel - a simple tunnel written in golang
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
sample-flask-app - Sample Flask Application to demonstrate OpenTelemetry instrumentation
opentelemetry-python-contrib - OpenTelemetry instrumentation for Python modules
examples - Example apps and instrumentation for Honeycomb
opentelemetry-examples - Example code and resources for working with OpenTelemetry, provided by Lightstep
seaworthy - A CLI to verify Kubernetes resource health
healthcheck - A library for implementing Kubernetes liveness and readiness probe handlers in your Go application.
opentelemetry-proto - OpenTelemetry protocol (OTLP) specification and Protobuf definitions
opentelemetry-lambda - Create your own Lambda Layer in each OTel language using this starter code. Add the Lambda Layer to your Lamdba Function to get tracing with OpenTelemetry.
otel-launcher-python - Launcher, a Lightstep Distro for OpenTelemetry Python 🚀