Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report pebble metrics #1431

Merged
merged 1 commit into from
Mar 20, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ require (
github.com/ipld/go-ipld-prime/storage/dsadapter v0.0.0-20230102063945-1a409dc236dd
github.com/ipld/go-storethehash v0.3.13
github.com/ipni/dhstore v0.0.2-0.20230120184057-c54e9d7c72f7
github.com/ipni/go-indexer-core v0.7.2-0.20230221145318-9aef8658e4ea
github.com/ipni/go-indexer-core v0.7.3
github.com/libp2p/go-libp2p v0.25.1
github.com/libp2p/go-libp2p-gostream v0.5.0
github.com/libp2p/go-libp2p-pubsub v0.9.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -619,8 +619,8 @@ github.com/ipld/go-storethehash v0.3.13 h1:1T6kX5K57lAgxbsGitZEaZMAR3RdWch2kO8ok
github.com/ipld/go-storethehash v0.3.13/go.mod h1:KCYpzmamubnSwm7fvWcCkm0aIwQh4WRNtzrKK4pVhAQ=
github.com/ipni/dhstore v0.0.2-0.20230120184057-c54e9d7c72f7 h1:w4sIScjReSAME4FKuSPaUT0H6rUi4UxEy42lEi5QKJY=
github.com/ipni/dhstore v0.0.2-0.20230120184057-c54e9d7c72f7/go.mod h1:CIz5tpqY9GRSTx2ZML3tmvCZzdDCudDuE3DP57R4ZYo=
github.com/ipni/go-indexer-core v0.7.2-0.20230221145318-9aef8658e4ea h1:hdbpvjYl7ZB7w9eGn8thjsHNhIzUTEgJyrkF4WrEG8Q=
github.com/ipni/go-indexer-core v0.7.2-0.20230221145318-9aef8658e4ea/go.mod h1:M8xYlU9CwIm+JbS44B2br+qlyoc6Pm3C8u2Vsov6Fzk=
github.com/ipni/go-indexer-core v0.7.3 h1:4qHcIPY5OPTPFMPlbMcSbJBGbDI0xqswON4zb0Wd9tU=
github.com/ipni/go-indexer-core v0.7.3/go.mod h1:vY8v8ITI2+z3hBaqM1XVFC/z31JyRCa2rWF2IDOfPDU=
github.com/ipsn/go-secp256k1 v0.0.0-20180726113642-9d62b9f0bc52 h1:QG4CGBqCeuBo6aZlGAamSkxWdgWfZGeE49eUOWJPA4c=
github.com/ipsn/go-secp256k1 v0.0.0-20180726113642-9d62b9f0bc52/go.mod h1:fdg+/X9Gg4AsAIzWpEHwnqd+QY3b7lajxyjE1m4hkq4=
github.com/iris-contrib/blackfriday v2.0.0+incompatible/go.mod h1:UzZ2bDEoaSGPbkg6SAB4att1aAwTmVIx/5gCVqeyUdI=
Expand Down
2 changes: 1 addition & 1 deletion server/admin/http/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ func New(listen string, id peer.ID, indexer indexer.Interface, ingester *ingest.
mux.HandleFunc("/ingest/preferred", h.listPreferredPeers)

// Metrics routes
mux.Handle("/metrics", metrics.Start(coremetrics.DefaultViews))
mux.Handle("/metrics", metrics.Start(append(coremetrics.DefaultViews, coremetrics.PebbleViews...)))
mux.Handle("/debug/pprof", pprof.WithProfile())

// Config routes
Expand Down