Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uptrace/opentelemetry-go-extra
OpenTelemetry instrumentations for Go
https://github.com/uptrace/opentelemetry-go-extra
gorm graphql logrus opentelemetry opentelemetry-go otelslog otelzap sqlx zap
Last synced: 27 days ago
JSON representation
OpenTelemetry instrumentations for Go
- Host: GitHub
- URL: https://github.com/uptrace/opentelemetry-go-extra
- Owner: uptrace
- License: bsd-2-clause
- Created: 2021-10-15T06:23:30.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-09-22T07:05:31.000Z (about 2 months ago)
- Last Synced: 2024-09-30T10:20:51.803Z (about 1 month ago)
- Topics: gorm, graphql, logrus, opentelemetry, opentelemetry-go, otelslog, otelzap, sqlx, zap
- Language: Go
- Homepage: https://uptrace.dev/get/instrument/
- Size: 1.6 MB
- Stars: 310
- Watchers: 6
- Forks: 71
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome - uptrace/opentelemetry-go-extra - go,otelslog,otelzap,sqlx,zap pushed_at:2024-09 star:0.3k fork:0.1k OpenTelemetry instrumentations for Go (Go)
README
# OpenTelemetry instrumentations for Go
[![build workflow](https://github.com/uptrace/opentelemetry-go-extra/actions/workflows/build.yml/badge.svg)](https://github.com/uptrace/opentelemetry-go-extra/actions/workflows/build.yml)
[![Chat](https://img.shields.io/badge/-telegram-red?color=white&logo=telegram&logoColor=black)](https://t.me/uptrace)| Instrumentation Package | Metrics | Traces | Logs |
| ------------------------------- | ------------------ | ------------------ | ------------------ |
| [database/sql](/otelsql/) | :heavy_check_mark: | :heavy_check_mark: | |
| [GORM 1](/otelsql/#gorm-1) | :heavy_check_mark: | :heavy_check_mark: | |
| [GORM 2](/otelgorm/) | :heavy_check_mark: | :heavy_check_mark: | |
| [sqlx](/otelsqlx/) | :heavy_check_mark: | :heavy_check_mark: | |
| [sqlboler](/otelsql/#sqlboiler) | :heavy_check_mark: | :heavy_check_mark: | |
| [logrus](/otellogrus/) | | :heavy_check_mark: |
| [otelzap](/otelzap/) | | | :heavy_check_mark: |
| [graphql-go](/otelgraphql/) | | :heavy_check_mark: | |You can search for instrumentations [here](https://uptrace.dev/get/instrument/) and
[here](https://opentelemetry.io/registry/).## Contributing
To simiplify maintenance, we use a single version and a shared [changelog](CHANGELOG.md) for all
instrumentations. The changelog is auto-generated from
[conventional commits](https://www.conventionalcommits.org/en/v1.0.0/).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](/instrum-example/) instrumentation
as a template.To run all tests:
```shell
./scripts/test.sh
```