From 0827bb6ce5dcfa45f5d9b6717200a63727b1021c Mon Sep 17 00:00:00 2001 From: Aliaksandr Valialkin Date: Sat, 23 Nov 2019 11:48:33 +0200 Subject: [PATCH] vendor: update github.com/VictoriaMetrics/metrics from v1.8.1 to v1.8.2 --- go.mod | 2 +- go.sum | 4 ++-- vendor/github.com/VictoriaMetrics/metrics/histogram.go | 8 ++++---- vendor/modules.txt | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/go.mod b/go.mod index 00acdd6fb..38004fd4e 100644 --- a/go.mod +++ b/go.mod @@ -4,7 +4,7 @@ require ( cloud.google.com/go v0.49.0 // indirect cloud.google.com/go/storage v1.4.0 github.com/VictoriaMetrics/fastcache v1.5.2 - github.com/VictoriaMetrics/metrics v1.8.1 + github.com/VictoriaMetrics/metrics v1.8.2 github.com/aws/aws-sdk-go v1.25.37 github.com/cespare/xxhash/v2 v2.1.1 github.com/golang/groupcache v0.0.0-20191027212112-611e8accdfc9 // indirect diff --git a/go.sum b/go.sum index 81b61843f..6ce0199ea 100644 --- a/go.sum +++ b/go.sum @@ -24,8 +24,8 @@ github.com/OneOfOne/xxhash v1.2.2/go.mod h1:HSdplMjZKSmBqAxg5vPj2TmRDmfkzw+cTzAE github.com/OneOfOne/xxhash v1.2.5/go.mod h1:eZbhyaAYD41SGSSsnmcpxVoRiQ/MPUTjUdIIOT9Um7Q= github.com/VictoriaMetrics/fastcache v1.5.2 h1:Erd8iIuBAL9kke8JzM4+WxkKuFkHh3ktwLanJvDgR44= github.com/VictoriaMetrics/fastcache v1.5.2/go.mod h1:+jv9Ckb+za/P1ZRg/sulP5Ni1v49daAVERr0H3CuscE= -github.com/VictoriaMetrics/metrics v1.8.1 h1:miHseb2n+HNDPWx6uEKBqGubeC/By5vIRmU/gpYA9FQ= -github.com/VictoriaMetrics/metrics v1.8.1/go.mod h1:LU2j9qq7xqZYXz8tF3/RQnB2z2MbZms5TDiIg9/NHiQ= +github.com/VictoriaMetrics/metrics v1.8.2 h1:Oa+u0XlcofYfPDAPTgKObyangxbp+vVGkjSwARtObFQ= +github.com/VictoriaMetrics/metrics v1.8.2/go.mod h1:LU2j9qq7xqZYXz8tF3/RQnB2z2MbZms5TDiIg9/NHiQ= github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156 h1:eMwmnE/GDgah4HI848JfFxHt+iPb26b4zyfspmqY0/8= github.com/allegro/bigcache v1.2.1-0.20190218064605-e24eb225f156/go.mod h1:Cb/ax3seSYIx7SuZdm2G2xzfwmv3TPSk2ucNfQESPXM= github.com/aws/aws-sdk-go v1.25.37 h1:gBtB/F3dophWpsUQKN/Kni+JzYEH2mGHF4hWNtfED1w= diff --git a/vendor/github.com/VictoriaMetrics/metrics/histogram.go b/vendor/github.com/VictoriaMetrics/metrics/histogram.go index 16e6989d7..423abde54 100644 --- a/vendor/github.com/VictoriaMetrics/metrics/histogram.go +++ b/vendor/github.com/VictoriaMetrics/metrics/histogram.go @@ -28,7 +28,7 @@ import ( // Each bucket contains a counter for values in the given range. // Each non-zero bucket is exposed with the following name: // -// _vmbucket{,vmrange="..."} +// _bucket{,vmrange="..."} // // Where: // @@ -40,9 +40,9 @@ import ( // Only non-zero buckets are exposed. // // Histogram buckets can be converted to Prometheus-like buckets in VictoriaMetrics -// with `prometheus_buckets(_vmbucket)`: +// with `prometheus_buckets(_bucket)`: // -// histogram_quantile(0.95, prometheus_buckets(rate(request_duration_vmbucket[5m]))) +// prometheus_buckets(rate(request_duration_bucket[5m])) // // Histogram cannot be used for negative values. type Histogram struct { @@ -140,7 +140,7 @@ func (h *Histogram) marshalBucket(prefix string, w io.Writer, idx int) { tag := fmt.Sprintf(`vmrange="%s...%s"`, start, end) prefix = addTag(prefix, tag) name, filters := splitMetricName(prefix) - fmt.Fprintf(w, "%s_vmbucket%s %d\n", name, filters, v) + fmt.Fprintf(w, "%s_bucket%s %d\n", name, filters, v) } func getBucketIdx(v float64) uint { diff --git a/vendor/modules.txt b/vendor/modules.txt index 1da760ca6..78c9d09af 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -12,7 +12,7 @@ cloud.google.com/go/storage github.com/BurntSushi/toml # github.com/VictoriaMetrics/fastcache v1.5.2 github.com/VictoriaMetrics/fastcache -# github.com/VictoriaMetrics/metrics v1.8.1 +# github.com/VictoriaMetrics/metrics v1.8.2 github.com/VictoriaMetrics/metrics # github.com/aws/aws-sdk-go v1.25.37 github.com/aws/aws-sdk-go/aws