forked from mirror/client_golang
commit
3d127c266e
|
@ -29,9 +29,10 @@ var (
|
||||||
Namespace: "my_company",
|
Namespace: "my_company",
|
||||||
Subsystem: "storage",
|
Subsystem: "storage",
|
||||||
Name: "documents_total_size_bytes",
|
Name: "documents_total_size_bytes",
|
||||||
Help: "The total size of all documents in the storage."}})
|
Help: "The total size of all documents in the storage.",
|
||||||
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
http.Handle("/metrics", prometheus.Handler())
|
http.Handle("/metrics", prometheus.Handler())
|
||||||
|
|
||||||
|
@ -50,4 +51,3 @@ func init() {
|
||||||
# Documentation
|
# Documentation
|
||||||
|
|
||||||
[![GoDoc](https://godoc.org/github.com/prometheus/client_golang?status.png)](https://godoc.org/github.com/prometheus/client_golang)
|
[![GoDoc](https://godoc.org/github.com/prometheus/client_golang?status.png)](https://godoc.org/github.com/prometheus/client_golang)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue