We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1ccb5b2 commit 9bcd162Copy full SHA for 9bcd162
rolling-shutter/p2pnode/config.go
@@ -4,6 +4,7 @@ import (
4
"io"
5
6
"github.com/shutter-network/rolling-shutter/rolling-shutter/medley/configuration"
7
+ "github.com/shutter-network/rolling-shutter/rolling-shutter/medley/metricsserver"
8
"github.com/shutter-network/rolling-shutter/rolling-shutter/p2p"
9
)
10
@@ -18,11 +19,13 @@ func NewConfig() *Config {
18
19
type Config struct {
20
ListenMessages bool `comment:"whether to register handlers on the messages and log them"`
21
- P2P *p2p.Config
22
+ P2P *p2p.Config
23
+ Metrics *metricsserver.MetricsConfig
24
}
25
26
func (c *Config) Init() {
27
c.P2P = p2p.NewConfig()
28
+ c.Metrics = metricsserver.NewConfig()
29
30
31
func (c *Config) Name() string {
0 commit comments