debugger
opentelemetry-go
debugger | opentelemetry-go | |
---|---|---|
1 | 145 | |
66 | 5,941 | |
- | 3.7% | |
10.0 | 9.9 | |
about 5 years ago | 3 days ago | |
Go | Go | |
MIT License | 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.
debugger
-
Waffles, Fries, Beer and Developers; Notes from FOSDEM 2023
dlsniper/debugger: debugger middleware
opentelemetry-go
-
OpenTelemetry for Go: Measuring overhead costs
Funny timing—I tried optimizing the Otel Go SDK a few weeks ago (https://github.com/open-telemetry/opentelemetry-go/issues/67...).
I suspect you could make the tracing SDK 2x faster with some cleverness. The main tricks are:
- Use a faster time.Now(). Go does a fair bit of work to convert to the Go epoch.
- Use atomics instead of a mutex. I sent a PR, but the reviewer caught correctness issues. Atomics are subtle and tricky.
- Directly marshal protos instead of reflection with a hand-rolled library or with https://github.com/VictoriaMetrics/easyproto.
The gold standard is how TiDB implemented tracing (https://www.pingcap.com/blog/how-we-trace-a-kv-database-with...). Since Go purposefully (and reasonably) doesn't currently provide a comparable abstraction for thread-local storage, we can't implement similar tricks like special-casing when a trace is modified on a single thread.
-
Setting Up Telemetry in Golang
OpenTelemetry GitHub Repository
-
Building a community database with GitHub : A guide to Webhook and API integration with hono.js
When using Hono, you can leverage Fiberplane's client library, which instruments the application based on OpenTelemetry. This allows you to use Fiberplane Studio, which not only displays your endpoints and helps you make requests or replay your webhook but also captures the call chain (traces) among different integrations.
-
Monitoring Browser Applications with OpenTelemetry
Many development teams leverage OpenTelemetry (OTeL) on the server side to collect signals such as logs, traces, and metrics from their applications. However, what's often overlooked is the power of OTeL's browser instrumentation. This client-side observability data can provide meaningful insights and create a comprehensive view of an application's performance by connecting traces between the client and server.
-
How we made applications observable by default with OpenTelemetry
This is where things get complicated. Implementing such a system is a lot of work, and you should rely on upcoming standards like the W3C recommendation on trace contexts. You should rely on a standard because they solve two major pain points with observability: (1) they have popular implementations like OpenTelemetry (OTel) – which happens to be the second most active CNCF project to this day – and (2) they are widely adopted by major observability backends (e.g., Datadog).
-
Vercel AI SDK 3.3
The Vercel AI SDK now supports tracing with OpenTelemetry, an open-source standard for recording telemetry information, as an experimental feature. Here is an example of how trace visualization looks with the Vercel Datadog integration:
- OpenTelemetry-Go: Instrument Your Go Applications with Ease
-
Show HN: Telemetry.sh – Simplifying Telemetry Measurement
I'm not quite sure how to place this. For general app telemetry there's https://opentelemetry.io and for tracking user behavior similar to how it's explained in your docs it looks like https://segment.io would be the closest competitor.
How is telemetry.sh different from the above-mentioned?
-
Sharding high-throughput Redis without downtime
Bruno from Inngest here, thanks for asking!
In general, we use OpenTelemetry[1] for instrumenting our services in production, collecting metrics and logs for important events. Specifically, we have set up
- multiple dashboards informing us about current system usage (events received, processed) including e2e latency distributions, compute resource usage for different deployments, and top operations
- metrics on critical systems (data stores including Redis, messaging infrastructure, connection poolers for Postgres, etc.) to gauge current resource utilization and typical load patterns
- alerting on unexpected deviations in KPIs (a subset of the metrics above) to help us spot and react to issues quickly
- forecasting on product usage and compute resource utilization patterns for planning medium to long-term infrastructure work
Hope this helps!
[1]: https://opentelemetry.io/
-
OpenTelemetry Metrics meets Azure
OpenTelemetry is the future of observability. It is being pushed by Google, Microsoft and Amazon to provide a vendor-neutral solution for traces, metrics and logs. The OpenTelemetry API implementation is available for many programming languages. I will only use metrics and the implementation for the language C# for this tutorial. Let's see how far apart reality and desire are.
What are some alternatives?
go-deadlock - Online deadlock detection in go (golang)
YARP - A toolkit for developing high-performance HTTP reverse proxy applications.
phlare - 🔥 horizontally-scalable, highly-available, multi-tenant continuous profiling aggregation system
skywalking - APM, Application Performance Monitoring System
coloredgoroutine - Color-coded debug logging by go routine id.
Grafana - The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.