• Stars
    star
    229
  • Rank 174,666 (Top 4 %)
  • Language
    Go
  • License
    BSD 2-Clause "Sim...
  • Created about 3 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

OpenTelemetry instrumentations for Go

OpenTelemetry instrumentations for Go

build workflow Chat

Instrumentation Package Metrics Traces
database/sql βœ”οΈ βœ”οΈ
GORM 1 βœ”οΈ βœ”οΈ
GORM 2 βœ”οΈ βœ”οΈ
sqlx βœ”οΈ βœ”οΈ
sqlboler βœ”οΈ βœ”οΈ
logrus βœ”οΈ
Zap βœ”οΈ
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