@cryptotaxi247 / kubo / commits / ebd89b401

gateway: expand get metric metadata

Steven Allen committed Jun 4, 2019 at 17:19 UTC ebd89b4011c300601f7b1cfcda01ee51221b748b
1 file changed +5 -1
core/corehttp/metrics.go
+5 -1
@@ -97,8 +97,12 @@ var (
97 peersTotalMetric = prometheus.NewDesc(
98 prometheus.BuildFQName("ipfs", "p2p", "peers_total"),
99 "Number of connected peers", []string{"transport"}, nil)
100 +
101 unixfsGetMetric = prometheus.NewSummary(prometheus.SummaryOpts{
101 - Name: "unixfsGet",
102 + Namespace: "ipfs",
103 + Subsystem: "http",
104 + Name: "unixfs_get_latency_seconds",
105 + Help: "The time till the first block is received when 'getting' a file from the gateway.",
106 })
107 )
108