Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/elricli/gormotel

OpenTelemetry plugin for GORM
https://github.com/elricli/gormotel

go golang gorm opentelemetry tracing

Last synced: 3 months ago
JSON representation

OpenTelemetry plugin for GORM

Awesome Lists containing this project

README

        

# gormotel

OpenTelemetry plugin for [GORM](https://gorm.io)

## Usage

```go
db, err := gorm.Open(mysql.Open("dsn"), &gorm.Config{})
if err != nil {
return err
}
// Use plugin
if err := db.Use(gormotel.Plugin); err != nil {
return err
}
```