Skip to content

Commit

Permalink
Update go.mod and go.sum to latest version from networkservicemesh/sd…
Browse files Browse the repository at this point in the history
…k@main

PR link: networkservicemesh/sdk#1509

Commit: 97bacd7
Author: Lionel Jouin
Date: 2023-09-22 12:06:10 +0200
Message:
  - Add prometheus as metric exporter (#1509)
* Add prometheus as metric exporter

An init method supporting prometheus for the metric exporter has been added for the
opentelemetry pkg. NSMgr or any metric collector could now export the
metrics via prometheus.
span trace and metrics can now be individually disabled by passing nil
value to the optl init function.

Signed-off-by: Lionel Jouin <[email protected]>

* Update open telemetry dependencies

Update to v1.19.0-rc.1 and v0.42.0 which are fixing bugs related to
Prometheus exporter.
Remove Jaeger exporter since it is deprecated

Signed-off-by: Lionel Jouin <[email protected]>

* Add export interval parameter for the optl exporter

Signed-off-by: Lionel Jouin <[email protected]>

---------

Signed-off-by: NSMBot <[email protected]>
  • Loading branch information
NSMBot committed Sep 22, 2023
1 parent 76893a2 commit a8f90ae
Show file tree
Hide file tree
Showing 2 changed files with 89 additions and 441 deletions.
48 changes: 28 additions & 20 deletions go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,42 +8,50 @@ require (
github.com/go-ping/ping v1.0.0
github.com/golang/protobuf v1.5.3
github.com/networkservicemesh/api v1.10.1-0.20230822145124-c4a3ece88804
github.com/networkservicemesh/sdk v0.5.1-0.20230919032539-bec8a85cfbdc
github.com/networkservicemesh/sdk v0.5.1-0.20230922100610-97bacd7153a2
github.com/pkg/errors v0.9.1
github.com/stretchr/testify v1.8.3
github.com/stretchr/testify v1.8.4
github.com/vishvananda/netlink v1.2.1-beta.2.0.20220630165224-c591ada0fb2b
github.com/vishvananda/netns v0.0.0-20211101163701-50045581ed74
go.uber.org/goleak v1.2.1
golang.org/x/sys v0.9.0
google.golang.org/grpc v1.55.0
golang.org/x/sys v0.12.0
google.golang.org/grpc v1.58.0
)

require (
github.com/antonfisher/nested-logrus-formatter v1.3.1 // indirect
github.com/beorn7/perks v1.0.1 // indirect
github.com/cenkalti/backoff/v4 v4.2.1 // indirect
github.com/cespare/xxhash/v2 v2.2.0 // indirect
github.com/davecgh/go-spew v1.1.1 // indirect
github.com/go-logr/logr v1.2.4 // indirect
github.com/go-logr/stdr v1.2.2 // indirect
github.com/google/shlex v0.0.0-20191202100458-e7afc7fbc510 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.11.3 // indirect
github.com/grpc-ecosystem/grpc-gateway/v2 v2.16.0 // indirect
github.com/matttproud/golang_protobuf_extensions v1.0.4 // indirect
github.com/pmezard/go-difflib v1.0.0 // indirect
github.com/prometheus/client_golang v1.16.0 // indirect
github.com/prometheus/client_model v0.4.0 // indirect
github.com/prometheus/common v0.42.0 // indirect
github.com/prometheus/procfs v0.10.1 // indirect
github.com/sirupsen/logrus v1.9.0 // indirect
go.opentelemetry.io/otel v1.16.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/internal/retry v1.16.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.39.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.39.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.16.0 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.16.0 // indirect
go.opentelemetry.io/otel/metric v1.16.0 // indirect
go.opentelemetry.io/otel/sdk v1.16.0 // indirect
go.opentelemetry.io/otel/sdk/metric v0.39.0 // indirect
go.opentelemetry.io/otel/trace v1.16.0 // indirect
go.opentelemetry.io/proto/otlp v0.19.0 // indirect
go.opentelemetry.io/otel v1.19.0-rc.1 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric v0.42.0-rc.1 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlpmetric/otlpmetricgrpc v0.42.0-rc.1 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.19.0-rc.1 // indirect
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracegrpc v1.19.0-rc.1 // indirect
go.opentelemetry.io/otel/exporters/prometheus v0.42.0-rc.1 // indirect
go.opentelemetry.io/otel/metric v1.19.0-rc.1 // indirect
go.opentelemetry.io/otel/sdk v1.19.0-rc.1 // indirect
go.opentelemetry.io/otel/sdk/metric v1.19.0-rc.1 // indirect
go.opentelemetry.io/otel/trace v1.19.0-rc.1 // indirect
go.opentelemetry.io/proto/otlp v1.0.0 // indirect
go.uber.org/atomic v1.7.0 // indirect
golang.org/x/net v0.11.0 // indirect
golang.org/x/text v0.10.0 // indirect
google.golang.org/genproto v0.0.0-20230306155012-7f2fa6fef1f4 // indirect
google.golang.org/protobuf v1.30.0 // indirect
golang.org/x/net v0.12.0 // indirect
golang.org/x/text v0.11.0 // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20230711160842-782d3b101e98 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20230711160842-782d3b101e98 // indirect
google.golang.org/protobuf v1.31.0 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
Loading

0 comments on commit a8f90ae

Please sign in to comment.