gubernator-io / gubernator

High Performance Rate Limiting MicroService and Library - Developed at Mailgun
Apache License 2.0
71 stars 6 forks source link

fix: Bump Otel semconv version to avoid error in tracing.NewResource() #12

Closed smf8 closed 1 month ago

smf8 commented 1 month ago

Hi, Currently the master branch and ghcr.io/gubernator-io/gubernator:v2.7.1 image tag won't run with following error.

INFO[0000] Gubernator dev-build (arm64/darwin)
FATA[0000] during tracing.NewResource()                  category=gubernator error="error in resource.Merge on resources index 0: conflicting Schema URL: https://opentelemetry.io/schemas/1.24.0 and https://opentelemetry.io/schemas/1.21.0"
exit status 1

I feel like this is similar to this commit:

https://github.com/gubernator-io/gubernator/commit/fc29185c2a58da152c85e13fcd8bb57d89f09049

thrawn01 commented 1 month ago

Now available in v2.7.2