uptrace / opentelemetry-go-extra

OpenTelemetry instrumentations for Go

Home Page:https://uptrace.dev/get/instrument/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenTelemetry instrumentations for Go

build workflow Chat

Instrumentation Package Metrics Traces Logs
database/sql ✔️ ✔️
GORM 1 ✔️ ✔️
GORM 2 ✔️ ✔️
sqlx ✔️ ✔️
sqlboler ✔️ ✔️
logrus ✔️
otelzap ✔️
graphql-go ✔️

You can search for instrumentations here and here.

Contributing

To simiplify maintenance, we use a single version and a shared changelog for all instrumentations. The changelog is auto-generated from conventional commits.

If you want to contribute an instrumentation, please make sure to include tests and a runnable example. Use Docker if you must but try to avoid it, for example, you can use SQLite instead of MySQL to test database/sql instrumentation. Use instrum-example instrumentation as a template.

To run all tests:

./scripts/test.sh

About

OpenTelemetry instrumentations for Go

https://uptrace.dev/get/instrument/

License:BSD 2-Clause "Simplified" License


Languages

Language:Go 95.9%Language:Shell 2.8%Language:Makefile 0.8%Language:Smarty 0.3%Language:Dockerfile 0.1%