https://github.com/survivorbat/go-otelutil
A few utility convenience functions for working with OpenTelemetry in Golang.
https://github.com/survivorbat/go-otelutil
golang opentelemetry otel otel-collector
Last synced: 6 months ago
JSON representation
A few utility convenience functions for working with OpenTelemetry in Golang.
- Host: GitHub
- URL: https://github.com/survivorbat/go-otelutil
- Owner: survivorbat
- License: mit
- Created: 2025-04-02T17:07:55.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2025-04-03T19:04:54.000Z (7 months ago)
- Last Synced: 2025-04-04T09:51:10.211Z (7 months ago)
- Topics: golang, opentelemetry, otel, otel-collector
- Language: Go
- Homepage: https://pkg.go.dev/github.com/survivorbat/go-otelutil
- Size: 3.91 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🛠️ Go Opentelemetry Utilities
A few utility convenience functions for working with OpenTelemetry in Golang.
## ⬇️ Installation
`go get github.com/survivorbat/go-otelutil`
## 💪 Features
- `NewSpan` is a convenience function for starting a span from a global Tracer object
- `ErrorIf`, which may be used to wrap `return err` statements to record errors## 🔭 Plans
Not much yet.