Compare commits

..
4 Commits
Author SHA1 Message Date
releaser 5d442b2d09 chore(release): prepare for v0.8.0 (#213)
otelsetup / test (push) Successful in 37s
Unbound Release / Check Preconditions (push) Successful in 3s
Unbound Release / Create Tag (push) Skipped
otelsetup / vulnerabilities (push) Successful in 30s
pre-commit / pre-commit (push) Successful in 2m36s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 5s
Release / release (push) Successful in 53s
Unbound Release / Create Release (push) Successful in 5s
Co-authored-by: Unbound Releaser <releaser@unbound.se>
2026-10-17 18:46:47 +00:00
argoyle 8f0c2473a8 feat: move module path to git.unbound.se (#212)
Unbound Release / Generate Changelog and Handle PR (push) Successful in 13s
Unbound Release / Create Release (push) Successful in 14s
Release / release (push) Successful in 12m59s
otelsetup / test (push) Successful in 55s
otelsetup / vulnerabilities (push) Successful in 58s
Unbound Release / Check Preconditions (push) Successful in 1s
Unbound Release / Create Tag (push) Skipped
pre-commit / pre-commit (push) Successful in 1m20s
2026-10-17 17:59:06 +00:00
renovate d035ff1b6c fix(deps): update module github.com/vektah/gqlparser/v2 to v2.5.62 (#209)
Unbound Release / Create Tag (push) Skipped
otelsetup / test (push) Successful in 38s
Unbound Release / Check Preconditions (push) Successful in 1s
otelsetup / vulnerabilities (push) Successful in 30s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 6s
pre-commit / pre-commit (push) Successful in 1m55s
Release / release (push) Successful in 2m3s
Unbound Release / Create Release (push) Successful in 4s
2026-10-17 00:44:35 +00:00
argoyle 165883de2b chore(renovate): drop the OpenTelemetry group, now in the central config (#208)
Unbound Release / Check Preconditions (push) Successful in 1s
otelsetup / vulnerabilities (push) Successful in 27s
Unbound Release / Create Tag (push) Skipped
otelsetup / test (push) Successful in 43s
pre-commit / pre-commit (push) Successful in 1m35s
Unbound Release / Create Release (push) Successful in 5s
Unbound Release / Generate Changelog and Handle PR (push) Successful in 8s
Release / release (push) Successful in 22m27s
The Renovate bot's global config now groups go.opentelemetry.io and our own libraries (shiny, unboundsoftware) for every repo; a repo rule matching the same packages would override that grouping.

Central Renovate config: unboundsoftware/infra#1911. otelsetup: shiny/otelsetup#206.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

https://claude.ai/code/session_01H6eVuR4Yt3m7TbDTDwyZJi
Reviewed-on: #208
2026-10-16 23:34:28 +00:00
10 changed files with 25 additions and 19 deletions

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ repos:
- id: go-imports
args:
- -local
- gitea.unbound.se/shiny/otelsetup
- git.unbound.se/shiny/otelsetup
- repo: https://github.com/lietu/go-pre-commit
rev: v1.0.0
hooks:
+1 -1
View File
@@ -1,3 +1,3 @@
{
"version": "v0.7.0"
"version": "v0.8.0"
}
+14
View File
@@ -2,6 +2,20 @@
All notable changes to this project will be documented in this file.
## [0.8.0] - 2026-10-17
### 🚀 Features
- Move module path to git.unbound.se (#212)
### 🐛 Bug Fixes
- *(deps)* Update module github.com/vektah/gqlparser/v2 to v2.5.62 (#209)
### ⚙️ Miscellaneous Tasks
- *(renovate)* Drop the OpenTelemetry group, now in the central config (#208)
## [0.7.0] - 2026-10-16
### 🚀 Features
+1 -1
View File
@@ -17,7 +17,7 @@ Provides standardized OpenTelemetry configuration for tracing, metrics, and logg
### Usage
```go
import "gitea.unbound.se/shiny/otelsetup"
import "git.unbound.se/shiny/otelsetup"
// Bootstrap OpenTelemetry SDK
shutdown, err := otelsetup.SetupOTelSDK(ctx, enabled, serviceName, buildVersion, environment)
+2 -2
View File
@@ -1,4 +1,4 @@
module gitea.unbound.se/shiny/otelsetup
module git.unbound.se/shiny/otelsetup
go 1.26.0
@@ -6,7 +6,7 @@ require (
codeberg.org/eventsourced/eventsourced v1.24.0
codeberg.org/eventsourced/pg/v2 v2.3.0
github.com/99designs/gqlgen v0.17.95
github.com/vektah/gqlparser/v2 v2.5.37
github.com/vektah/gqlparser/v2 v2.5.62
go.opentelemetry.io/otel v1.47.0
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetrichttp v1.47.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.47.0
+2 -2
View File
@@ -58,8 +58,8 @@ github.com/sosodev/duration v1.4.0 h1:35ed0KiVFriGHHzZZJaZLgmTEEICIyt8Sx0RQfj9Ij
github.com/sosodev/duration v1.4.0/go.mod h1:RQIBBX0+fMLc/D9+Jb/fwvVmo0eZvDDEERAikUR6SDg=
github.com/stretchr/testify v1.12.1 h1:EuwCh5fleGS7H32xRwO3wRGT7DxrDhLAT6FF8MpWDWE=
github.com/stretchr/testify v1.12.1/go.mod h1:MDEgiDPPsNp5cuIrHPPCyornHKgEVbtFUmoNlxoYthg=
github.com/vektah/gqlparser/v2 v2.5.37 h1:jbb1Ilv+xBklV6653tKb4oVUupPNTLb5LmrnBKVI12Y=
github.com/vektah/gqlparser/v2 v2.5.37/go.mod h1:9O4Ox6Ngd3Y12bMD3w6i3CRQXh8W1oC1q0m6olCymDM=
github.com/vektah/gqlparser/v2 v2.5.62 h1:GJP/emj1wIWKs0U3SHcAgzknWgylTqQ1qH2gNL+wSWc=
github.com/vektah/gqlparser/v2 v2.5.62/go.mod h1:JNK+plRwKdXLsF/qPFPe5tE0z4s1WeroD9S5LR8um/Q=
go.opentelemetry.io/auto/sdk v1.2.1 h1:jXsnJ4Lmnqd11kwkBV2LgLoFMZKizbCi5fNZ/ipaZ64=
go.opentelemetry.io/auto/sdk v1.2.1/go.mod h1:KRTj+aOaElaLi+wW1kO/DZRXwkF4C5xPbEe3ZiIhN7Y=
go.opentelemetry.io/otel v1.47.0 h1:j7ALJ/zgkS7Z6aeJW09p8VC9804bC+PpeTfCD4XPnOM=
+1
View File
@@ -13,6 +13,7 @@ import (
// eventsourcedMeterName is the instrumentation scope for the event-sourcing
// metrics emitted by the adapter returned from NewEventsourcedMetrics.
// It keeps the old module path on purpose: renaming it breaks queries on otel_scope_name.
const eventsourcedMeterName = "gitea.unbound.se/shiny/otelsetup/eventsourced"
// durationBucketsSeconds are explicit histogram boundaries tuned for
-10
View File
@@ -2,15 +2,5 @@
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended"
],
"packageRules": [
{
"groupName": "OpenTelemetry",
"matchPackageNames": [
"go.opentelemetry.io/**",
"gitea.unbound.se/shiny/otelsetup",
"gitea.unbound.se/shiny/logging"
]
}
]
}
+2 -1
View File
@@ -10,6 +10,7 @@ import (
// subscriptionMeterName is the instrumentation scope for the cross-service
// subscription push metrics emitted by SubscriptionMetrics.
// It keeps the old module path on purpose: renaming it breaks queries on otel_scope_name.
const subscriptionMeterName = "gitea.unbound.se/shiny/otelsetup/subscriptions"
// SubscriptionMetrics records cross-service subscription push outcomes (the
@@ -17,7 +18,7 @@ const subscriptionMeterName = "gitea.unbound.se/shiny/otelsetup/subscriptions"
// counters.
//
// Its method set (Pushed/PushSkipped/Dropped/ChannelFull) satisfies the
// Observer interface of gitea.unbound.se/shiny/subscriptions *structurally* —
// Observer interface of git.unbound.se/shiny/subscriptions *structurally* —
// otelsetup does not import that library. A service constructs it and passes it
// to the registry:
//
+1 -1
View File
@@ -11,7 +11,7 @@ import (
"go.opentelemetry.io/otel/sdk/metric/metricdata"
)
// observerShape mirrors gitea.unbound.se/shiny/subscriptions.Observer. This
// observerShape mirrors git.unbound.se/shiny/subscriptions.Observer. This
// compile-time assertion guards that SubscriptionMetrics still satisfies that
// interface structurally, without otelsetup importing the library.
//