README.md: rename "time series" to more clear "metrics" in the example
This commit is contained in:
parent
96a67ce905
commit
7fa54d40f0
@ -28,8 +28,8 @@
|
|||||||
```go
|
```go
|
||||||
import "github.com/VictoriaMetrics/metrics"
|
import "github.com/VictoriaMetrics/metrics"
|
||||||
|
|
||||||
// Register various time series.
|
// Register various metrics.
|
||||||
// Time series name may contain labels in Prometheus format - see below.
|
// Metric name may contain labels in Prometheus format - see below.
|
||||||
var (
|
var (
|
||||||
// Register counter without labels.
|
// Register counter without labels.
|
||||||
requestsTotal = metrics.NewCounter("requests_total")
|
requestsTotal = metrics.NewCounter("requests_total")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user