Update README.md

Seems like indexed and size are being initialized, so they would require := instead of =
This commit is contained in:
wiremine 2015-02-11 15:41:57 -05:00
parent acbd2d3eac
commit 4e0c66e343
1 changed files with 2 additions and 2 deletions

View File

@ -19,13 +19,13 @@ import (
)
var (
indexed = prometheus.NewCounter(prometheus.CounterOpts{
indexed := prometheus.NewCounter(prometheus.CounterOpts{
Namespace: "my_company",
Subsystem: "indexer",
Name: "documents_indexed",
Help: "The number of documents indexed.",
})
size = prometheus.NewGauge(prometheus.GaugeOpts{
size := prometheus.NewGauge(prometheus.GaugeOpts{
Namespace: "my_company",
Subsystem: "storage",
Name: "documents_total_size_bytes",