Skip to content

Commit 10de3f1

Browse files
committed
fix: upgrade kratos metrics example
1 parent 79c95e3 commit 10de3f1

File tree

3 files changed

+65
-199
lines changed

3 files changed

+65
-199
lines changed

go.mod

+8-9
Original file line numberDiff line numberDiff line change
@@ -9,48 +9,47 @@ require (
99
github.com/gin-gonic/gin v1.7.7
1010
github.com/go-kratos/gin v0.1.0
1111
github.com/go-kratos/kratos/contrib/config/apollo/v2 v2.0.0-20220309025117-4387085047b9
12-
github.com/go-kratos/kratos/contrib/metrics/prometheus/v2 v2.0.0-20220309025117-4387085047b9
1312
github.com/go-kratos/kratos/contrib/opensergo/v2 v2.0.0-20220517145828-c8c870b77f70
1413
github.com/go-kratos/kratos/contrib/registry/consul/v2 v2.0.0-20220309025117-4387085047b9
1514
github.com/go-kratos/kratos/contrib/registry/discovery/v2 v2.0.0-20220309025117-4387085047b9
1615
github.com/go-kratos/kratos/contrib/registry/etcd/v2 v2.0.0-20220309025117-4387085047b9
1716
github.com/go-kratos/kratos/contrib/registry/eureka/v2 v2.0.0-20220330020930-99a0646acb98
1817
github.com/go-kratos/kratos/contrib/registry/nacos/v2 v2.0.0-20220309025117-4387085047b9
1918
github.com/go-kratos/kratos/contrib/registry/zookeeper/v2 v2.0.0-20220309025117-4387085047b9
20-
github.com/go-kratos/kratos/v2 v2.7.1
19+
github.com/go-kratos/kratos/v2 v2.8.0
2120
github.com/go-kratos/swagger-api v1.0.0
2221
github.com/go-redis/redis/extra/redisotel v0.3.0
2322
github.com/go-redis/redis/v8 v8.11.2
2423
github.com/go-sql-driver/mysql v1.6.0
2524
github.com/golang-jwt/jwt/v4 v4.5.0
2625
github.com/google/wire v0.5.0
2726
github.com/gorilla/handlers v1.5.1
28-
github.com/gorilla/mux v1.8.0
27+
github.com/gorilla/mux v1.8.1
2928
github.com/gorilla/securecookie v1.1.1
3029
github.com/gorilla/websocket v1.4.2
3130
github.com/grpc-ecosystem/grpc-gateway/v2 v2.19.0
3231
github.com/hashicorp/consul/api v1.12.0
3332
github.com/labstack/echo/v4 v4.6.3
3433
github.com/nacos-group/nacos-sdk-go v1.0.9
3534
github.com/nicksnyder/go-i18n/v2 v2.1.2
36-
github.com/prometheus/client_golang v1.12.0
3735
github.com/segmentio/kafka-go v0.4.27
3836
github.com/sirupsen/logrus v1.8.1
3937
github.com/soheilhy/cmux v0.1.4
4038
github.com/xuri/excelize/v2 v2.6.1
4139
go.etcd.io/etcd/client/v3 v3.5.1
4240
go.mongodb.org/mongo-driver v1.10.3
43-
go.opentelemetry.io/otel v1.23.1
41+
go.opentelemetry.io/otel v1.24.0
4442
go.opentelemetry.io/otel/exporters/jaeger v1.3.0
4543
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.23.1
46-
go.opentelemetry.io/otel/sdk v1.23.1
47-
go.opentelemetry.io/otel/trace v1.23.1
44+
go.opentelemetry.io/otel/metric v1.24.0
45+
go.opentelemetry.io/otel/sdk v1.24.0
46+
go.opentelemetry.io/otel/trace v1.24.0
4847
go.uber.org/zap v1.19.0
4948
golang.org/x/text v0.14.0
5049
google.golang.org/genproto/googleapis/api v0.0.0-20240102182953-50ed04b92917
51-
google.golang.org/grpc v1.61.0
50+
google.golang.org/grpc v1.61.1
5251
google.golang.org/grpc/examples v0.0.0-20220105183818-2fb1ac854b20 // indirect
53-
google.golang.org/protobuf v1.32.0
52+
google.golang.org/protobuf v1.33.0
5453
gorm.io/driver/mysql v1.3.2
5554
gorm.io/gorm v1.23.2
5655
)

0 commit comments

Comments
 (0)