Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mybee
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
vicotor
mybee
Commits
3289c621
Unverified
Commit
3289c621
authored
Jul 09, 2021
by
acud
Committed by
GitHub
Jul 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update dependency versions (#2316)
parent
36efbe0e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
450 additions
and
77 deletions
+450
-77
go.mod
go.mod
+31
-34
go.sum
go.sum
+416
-41
metrics.go
pkg/debugapi/metrics.go
+3
-2
No files found.
go.mod
View file @
3289c621
...
...
@@ -3,48 +3,49 @@ module github.com/ethersphere/bee
go 1.15
require (
github.com/btcsuite/btcd v0.21.0-beta
github.com/codahale/hdrhistogram v0.0.0-20161010025455-3a0bb77429bd // indirect
github.com/btcsuite/btcd v0.22.0-beta
github.com/coreos/go-semver v0.3.0
github.com/davidlazar/go-crypto v0.0.0-20200604182044-b73af7476f6c // indirect
github.com/ethereum/go-ethereum v1.9.23
github.com/ethersphere/go-price-oracle-abi v0.1.0
github.com/ethersphere/go-storage-incentives-abi v0.3.0
github.com/ethersphere/go-sw3-abi v0.4.0
github.com/ethersphere/langos v1.0.0
github.com/gogo/protobuf v1.3.1
github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e // indirect
github.com/google/go-cmp v0.5.0
github.com/google/gopacket v1.1.19 // indirect
github.com/gogo/protobuf v1.3.2
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/go-cmp v0.5.5
github.com/google/uuid v1.1.4 // indirect
github.com/gopherjs/gopherjs v0.0.0-20200217142428-fce0ec30dd00 // indirect
github.com/gorilla/handlers v1.4.2
github.com/gorilla/mux v1.7.4
github.com/gorilla/websocket v1.4.2
github.com/hashicorp/go-multierror v1.1.1
github.com/huin/goupnp v1.0.1 // indirect
github.com/ipfs/go-log v1.0.5 // indirect
github.com/ipfs/go-log/v2 v2.3.0 // indirect
github.com/kardianos/service v1.2.0
github.com/klauspost/cpuid/v2 v2.0.8 // indirect
github.com/koron/go-ssdp v0.0.2 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/libp2p/go-libp2p v0.1
3.0
github.com/libp2p/go-libp2p-autonat v0.4.
0
github.com/libp2p/go-libp2p-core v0.8.
0
github.com/libp2p/go-libp2p-
noise v0.1.2
// indirect
github.com/libp2p/go-libp2p-peerstore v0.2.
6
github.com/libp2p/go-libp2p v0.1
4.3
github.com/libp2p/go-libp2p-autonat v0.4.
2
github.com/libp2p/go-libp2p-core v0.8.
5
github.com/libp2p/go-libp2p-
discovery v0.5.1
// indirect
github.com/libp2p/go-libp2p-peerstore v0.2.
7
github.com/libp2p/go-libp2p-quic-transport v0.10.0
github.com/libp2p/go-libp2p-transport-upgrader v0.4.0
github.com/libp2p/go-netroute v0.1.4 // indirect
github.com/libp2p/go-sockaddr v0.1.0 // indirect
github.com/libp2p/go-tcp-transport v0.2.1
github.com/libp2p/go-libp2p-transport-upgrader v0.4.2
github.com/libp2p/go-tcp-transport v0.2.3
github.com/libp2p/go-ws-transport v0.4.0
github.com/mattn/go-colorable v0.1.2 // indirect
github.com/miekg/dns v1.1.43 // indirect
github.com/mitchellh/mapstructure v1.3.2 // indirect
github.com/multiformats/go-multiaddr v0.3.1
github.com/multiformats/go-multiaddr-dns v0.2.0
github.com/multiformats/go-multistream v0.2.0
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e // indirect
github.com/multiformats/go-multiaddr v0.3.3
github.com/multiformats/go-multiaddr-dns v0.3.1
github.com/multiformats/go-multistream v0.2.2
github.com/opentracing/opentracing-go v1.2.0
github.com/pelletier/go-toml v1.8.0 // indirect
github.com/prometheus/client_golang v1.7.1
github.com/prometheus/client_golang v1.11.0
github.com/prometheus/common v0.29.0 // indirect
github.com/prometheus/procfs v0.7.0 // indirect
github.com/sirupsen/logrus v1.6.0
github.com/smartystreets/assertions v1.1.1 // indirect
github.com/spf13/afero v1.3.1 // indirect
...
...
@@ -59,22 +60,18 @@ require (
github.com/vmihailenco/msgpack/v5 v5.3.4
github.com/wealdtech/go-ens/v3 v3.4.4
gitlab.com/nolash/go-mockbytes v0.0.7
go.opencensus.io v0.22.5 // indirect
go.uber.org/atomic v1.7.0
go.uber.org/multierr v1.6.0 // indirect
go.uber.org/zap v1.16.0 // indirect
golang.org/x/crypto v0.0.0-20201221181555-eec23a3978ad
golang.org/x/net v0.0.0-20201224014010-6772e930b67b
golang.org/x/sync v0.0.0-20201020160332-67f06af15bc9
golang.org/x/sys v0.0.0-20210108172913-0df2131ae363
go.uber.org/atomic v1.8.0
go.uber.org/multierr v1.7.0 // indirect
go.uber.org/zap v1.18.1 // indirect
golang.org/x/crypto v0.0.0-20210616213533-5ff15b29337e
golang.org/x/net v0.0.0-20210614182718-04defd469f4e
golang.org/x/sync v0.0.0-20210220032951-036812b2e83c
golang.org/x/sys v0.0.0-20210630005230-0f9fa26af87c
golang.org/x/term v0.0.0-20201210144234-2321bbc49cbf
golang.org/x/text v0.3.4 // indirect
golang.org/x/time v0.0.0-20191024005414-555d28b269f0
go
pkg.in/check.v1 v1.0.0-20200227125254-8fa46927fb4f
// indirect
go
ogle.golang.org/protobuf v1.27.1
// indirect
gopkg.in/ini.v1 v1.57.0 // indirect
gopkg.in/yaml.v2 v2.3.0
gopkg.in/yaml.v3 v3.0.0-20200615113413-eeeca48fe776 // indirect
honnef.co/go/tools v0.0.1-2020.1.4 // indirect
gopkg.in/yaml.v2 v2.4.0
resenje.org/singleflight v0.2.0
resenje.org/web v0.4.3
)
go.sum
View file @
3289c621
This source diff could not be displayed because it is too large. You can
view the blob
instead.
pkg/debugapi/metrics.go
View file @
3289c621
...
...
@@ -8,6 +8,7 @@ import (
"github.com/ethersphere/bee"
"github.com/ethersphere/bee/pkg/metrics"
"github.com/prometheus/client_golang/prometheus"
"github.com/prometheus/client_golang/prometheus/collectors"
)
func
newMetricsRegistry
()
(
r
*
prometheus
.
Registry
)
{
...
...
@@ -15,10 +16,10 @@ func newMetricsRegistry() (r *prometheus.Registry) {
// register standard metrics
r
.
MustRegister
(
prometheus
.
NewProcessCollector
(
prometheu
s
.
ProcessCollectorOpts
{
collectors
.
NewProcessCollector
(
collector
s
.
ProcessCollectorOpts
{
Namespace
:
metrics
.
Namespace
,
}),
prometheu
s
.
NewGoCollector
(),
collector
s
.
NewGoCollector
(),
prometheus
.
NewGauge
(
prometheus
.
GaugeOpts
{
Namespace
:
metrics
.
Namespace
,
Name
:
"info"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment