refactor: update import paths to the new repository location #86
@@ -10,13 +10,6 @@ repos:
|
||||
args:
|
||||
- --allow-multiple-documents
|
||||
- id: check-added-large-files
|
||||
- repo: https://gitlab.com/devopshq/gitlab-ci-linter
|
||||
rev: v1.0.6
|
||||
hooks:
|
||||
- id: gitlab-ci-linter
|
||||
args:
|
||||
- --project
|
||||
- unboundsoftware/shiny/otelsetup
|
||||
- repo: https://github.com/alessandrojcm/commitlint-pre-commit-hook
|
||||
rev: v9.23.0
|
||||
hooks:
|
||||
@@ -30,7 +23,7 @@ repos:
|
||||
- id: go-imports
|
||||
args:
|
||||
- -local
|
||||
- gitlab.com/unboundsoftware/shiny/sentrysetup
|
||||
- git.unbound.se/shiny/otelsetup
|
||||
- repo: https://github.com/lietu/go-pre-commit
|
||||
rev: v1.0.0
|
||||
hooks:
|
||||
|
||||
@@ -17,7 +17,7 @@ Provides standardized OpenTelemetry configuration for tracing, metrics, and logg
|
||||
### Usage
|
||||
|
||||
```go
|
||||
import "gitlab.com/unboundsoftware/shiny/otelsetup"
|
||||
import "git.unbound.se/shiny/otelsetup"
|
||||
|
||||
// Bootstrap OpenTelemetry SDK
|
||||
shutdown, err := otelsetup.SetupOTelSDK(ctx, enabled, serviceName, buildVersion, environment)
|
||||
|
||||
@@ -1,4 +1 @@
|
||||
# Shiny otelsetup
|
||||
|
||||
[](https://gitlab.com/unboundsoftware/shiny/otelsetup/commits/main)
|
||||
[](https://codecov.io/gl/unboundsoftware:shiny/otelsetup)
|
||||
|
||||
Reference in New Issue
Block a user