generated from cloudwego/.github
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
be0e2ea
commit 2358778
Showing
4 changed files
with
90 additions
and
105 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,6 +6,7 @@ use ( | |
./log/logging/slog | ||
./log/logging/zap | ||
./log/logging/zerolog | ||
telemetry | ||
|
||
) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,89 @@ | ||
module github.com/cloudwego-contrib/cwgo-pkg/telemetry | ||
|
||
go 1.21 | ||
require ( | ||
github.com/bytedance/gopkg v0.0.0-20230728082804-614d0af6619b | ||
github.com/cloudwego/kitex v0.9.1 | ||
github.com/stretchr/testify v1.9.0 | ||
go.opentelemetry.io/contrib/instrumentation/runtime v0.45.0 | ||
go.opentelemetry.io/contrib/propagators/b3 v1.20.0 | ||
go.opentelemetry.io/contrib/propagators/ot v1.20.0 | ||
go.opentelemetry.io/otel v1.28.0 | ||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.42.0 | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0 | ||
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.19.0 | ||
go.opentelemetry.io/otel/metric v1.28.0 | ||
go.opentelemetry.io/otel/sdk v1.28.0 | ||
go.opentelemetry.io/otel/sdk/metric v1.28.0 | ||
go.opentelemetry.io/otel/trace v1.28.0 | ||
) | ||
|
||
require ( | ||
github.com/cloudwego/hertz v0.9.2 | ||
github.com/prometheus/client_golang v1.19.1 | ||
go.opentelemetry.io/otel/exporters/prometheus v0.50.0 | ||
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.28.0 | ||
gorm.io/gorm v1.25.11 | ||
gorm.io/plugin/opentelemetry v0.1.4 | ||
) | ||
|
||
require ( | ||
github.com/beorn7/perks v1.0.1 // indirect | ||
github.com/bytedance/go-tagexpr/v2 v2.9.2 // indirect | ||
github.com/bytedance/sonic v1.11.2 // indirect | ||
github.com/cenkalti/backoff/v4 v4.2.1 // indirect | ||
github.com/cespare/xxhash/v2 v2.3.0 // indirect | ||
github.com/chenzhuoyu/base64x v0.0.0-20230717121745-296ad89f973d // indirect | ||
github.com/chenzhuoyu/iasm v0.9.1 // indirect | ||
github.com/choleraehyq/pid v0.0.18 // indirect | ||
github.com/cloudwego/configmanager v0.2.0 // indirect | ||
github.com/cloudwego/dynamicgo v0.2.0 // indirect | ||
github.com/cloudwego/fastpb v0.0.4 // indirect | ||
github.com/cloudwego/frugal v0.1.14 // indirect | ||
github.com/cloudwego/localsession v0.0.2 // indirect | ||
github.com/cloudwego/netpoll v0.6.0 // indirect | ||
github.com/cloudwego/thriftgo v0.3.6 // indirect | ||
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect | ||
github.com/fatih/structtag v1.2.0 // indirect | ||
github.com/fsnotify/fsnotify v1.5.4 // indirect | ||
github.com/go-logr/logr v1.4.2 // indirect | ||
github.com/go-logr/stdr v1.2.2 // indirect | ||
github.com/golang/protobuf v1.5.4 // indirect | ||
github.com/google/pprof v0.0.0-20230509042627-b1315fad0c5a // indirect | ||
github.com/google/uuid v1.6.0 // indirect | ||
github.com/grpc-ecosystem/grpc-gateway/v2 v2.18.0 // indirect | ||
github.com/henrylee2cn/ameda v1.4.10 // indirect | ||
github.com/henrylee2cn/goutil v0.0.0-20210127050712-89660552f6f8 // indirect | ||
github.com/iancoleman/strcase v0.2.0 // indirect | ||
github.com/jhump/protoreflect v1.8.2 // indirect | ||
github.com/jinzhu/inflection v1.0.0 // indirect | ||
github.com/jinzhu/now v1.1.5 // indirect | ||
github.com/json-iterator/go v1.1.12 // indirect | ||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect | ||
github.com/modern-go/gls v0.0.0-20220109145502-612d0167dce5 // indirect | ||
github.com/modern-go/reflect2 v1.0.2 // indirect | ||
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect | ||
github.com/nyaruka/phonenumbers v1.0.55 // indirect | ||
github.com/oleiade/lane v1.0.1 // indirect | ||
github.com/pmezard/go-difflib v1.0.0 // indirect | ||
github.com/prometheus/client_model v0.6.1 // indirect | ||
github.com/prometheus/common v0.55.0 // indirect | ||
github.com/prometheus/procfs v0.15.1 // indirect | ||
github.com/tidwall/gjson v1.14.4 // indirect | ||
github.com/tidwall/match v1.1.1 // indirect | ||
github.com/tidwall/pretty v1.2.0 // indirect | ||
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect | ||
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.42.0 // indirect | ||
go.opentelemetry.io/proto/otlp v1.0.0 // indirect | ||
go.uber.org/multierr v1.11.0 // indirect | ||
golang.org/x/net v0.26.0 // indirect | ||
golang.org/x/sync v0.7.0 // indirect | ||
golang.org/x/sys v0.21.0 // indirect | ||
golang.org/x/text v0.16.0 // indirect | ||
google.golang.org/genproto v0.0.0-20231012201019-e917dd12ba7a // indirect | ||
google.golang.org/genproto/googleapis/api v0.0.0-20231016165738-49dd2c1f3d0b // indirect | ||
google.golang.org/genproto/googleapis/rpc v0.0.0-20231016165738-49dd2c1f3d0b // indirect | ||
google.golang.org/grpc v1.59.0 // indirect | ||
google.golang.org/protobuf v1.34.2 // indirect | ||
gopkg.in/yaml.v3 v3.0.1 // indirect | ||
) |