Merge pull request 'chore: migrate module path to gitea.unbound.se' (#89) from migrate-to-gitea into main
Reviewed-on: #89
This commit was merged in pull request #89.
This commit is contained in:
@@ -23,7 +23,7 @@ repos:
|
|||||||
- id: go-imports
|
- id: go-imports
|
||||||
args:
|
args:
|
||||||
- -local
|
- -local
|
||||||
- git.unbound.se/shiny/otelsetup
|
- gitea.unbound.se/shiny/otelsetup
|
||||||
- repo: https://github.com/lietu/go-pre-commit
|
- repo: https://github.com/lietu/go-pre-commit
|
||||||
rev: v1.0.0
|
rev: v1.0.0
|
||||||
hooks:
|
hooks:
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ Provides standardized OpenTelemetry configuration for tracing, metrics, and logg
|
|||||||
### Usage
|
### Usage
|
||||||
|
|
||||||
```go
|
```go
|
||||||
import "git.unbound.se/shiny/otelsetup"
|
import "gitea.unbound.se/shiny/otelsetup"
|
||||||
|
|
||||||
// Bootstrap OpenTelemetry SDK
|
// Bootstrap OpenTelemetry SDK
|
||||||
shutdown, err := otelsetup.SetupOTelSDK(ctx, enabled, serviceName, buildVersion, environment)
|
shutdown, err := otelsetup.SetupOTelSDK(ctx, enabled, serviceName, buildVersion, environment)
|
||||||
|
|||||||
Reference in New Issue
Block a user