README.md: rename "time series" to more clear "metrics" in the example

This commit is contained in:
Aliaksandr Valialkin 2022-07-20 14:56:10 +03:00
parent 96a67ce905
commit 7fa54d40f0
No known key found for this signature in database
GPG Key ID: A72BEC6CD3D0DED1

View File

@ -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")