Skip to content

Commit

Permalink
feat:[libgse] add output bkcollector --story=886903381 (#9)
Browse files Browse the repository at this point in the history
* feature: add bkcollector output

* feature: add otlptrace package

* optimization: grpc host connect

* optimization: grpc host connect

* optimization: output bkcollector

* optimization: add data to trace unit test

* bugfix: data to string

* bugfix: Retry if sending data fails to be added

* bugfix: string data conversion trace

* bugfix: output bkcollector parse data

* bugfix: default param

* bugfix: update bk_data_token_field_name
  • Loading branch information
snhwade authored Nov 4, 2023
1 parent e54627a commit b205c75
Show file tree
Hide file tree
Showing 6 changed files with 645 additions and 12 deletions.
24 changes: 20 additions & 4 deletions pkg/libgse/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,23 @@ require (
github.com/prometheus/client_model v0.2.0
github.com/prometheus/common v0.37.0
github.com/prometheus/prometheus v0.37.0
github.com/rapidloop/skv v0.0.0-20180909015525-9def2caac4cc
github.com/stretchr/testify v1.8.3
go.opentelemetry.io/otel v1.12.0
go.opentelemetry.io/otel/sdk v1.12.0
go.opentelemetry.io/otel/trace v1.12.0
gopkg.in/yaml.v3 v3.0.1
)

require (
github.com/boltdb/bolt v1.3.1
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.12.0
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.12.0
)

require (
github.com/Shopify/sarama v1.27.1 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/boltdb/bolt v1.3.1 // indirect
github.com/cenkalti/backoff/v4 v4.2.0 // indirect
github.com/cespare/xxhash/v2 v2.1.2 // indirect
github.com/coreos/go-systemd/v22 v22.1.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
Expand All @@ -42,12 +50,15 @@ require (
github.com/elastic/gosigar v0.11.0 // indirect
github.com/fatih/color v1.13.0 // indirect
github.com/garyburd/redigo v1.6.2 // indirect
github.com/go-logr/logr v1.2.3 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/godbus/dbus/v5 v5.0.3 // indirect
github.com/gofrs/uuid v4.3.0+incompatible // indirect
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/btree v1.0.0 // indirect
github.com/grafana/regexp v0.0.0-20220304095617-2e8d9baf4ac2 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.10.2 // indirect
github.com/hashicorp/go-uuid v1.0.2 // indirect
github.com/jcmturner/gofork v1.0.0 // indirect
github.com/joeshaw/multierror v0.0.0-20140124173710-69b34d4ec901 // indirect
Expand All @@ -63,13 +74,18 @@ require (
github.com/rcrowley/go-metrics v0.0.0-20200313005456-10cdbea86bc0 // indirect
github.com/spf13/cobra v1.0.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.12.0 // indirect
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
go.uber.org/atomic v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/zap v1.24.0 // indirect
golang.org/x/crypto v0.0.0-20220511200225-c6db032c6c88 // indirect
golang.org/x/net v0.0.0-20220624214902-1bab6f366d9e // indirect
golang.org/x/net v0.4.0 // indirect
golang.org/x/sys v0.7.0 // indirect
google.golang.org/protobuf v1.28.0 // indirect
golang.org/x/text v0.5.0 // indirect
google.golang.org/genproto v0.0.0-20221118155620-16455021b5e6 // indirect
google.golang.org/grpc v1.52.0 // indirect
google.golang.org/protobuf v1.28.1 // indirect
gopkg.in/jcmturner/aescts.v1 v1.0.1 // indirect
gopkg.in/jcmturner/dnsutils.v1 v1.0.1 // indirect
gopkg.in/jcmturner/gokrb5.v7 v7.5.0 // indirect
Expand Down
Loading

0 comments on commit b205c75

Please sign in to comment.