metrics 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data/lib/metrics/backend/test.rb +2 -2
- data/lib/metrics/version.rb +1 -1
- data.tar.gz.sig +0 -0
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17744766f0b1ea11b5ff6d133cff9f17e3779c5ca364eb4d0ec6baff47a113b8
|
4
|
+
data.tar.gz: d375e8a6a550e480116af29e648c8e81c4a5639d1dc09dffdf0cfbfe8055f600
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 877a67b65d9c2b1ee8febb5a0899dd37dc07f2553d9b8a98a6c3c27c266c4c3a92c4345d717749110d7501e2eec0a9e9e5b70219c93fa6097c3d573c2a8f3e92
|
7
|
+
data.tar.gz: f0e2439306576fd0dcf20c1b6715da9534aa149252b7a6fb2aeb4d5bf8ec8844bf932a0d287b542ea23f03cf9d0ec41277c4d8bf6ff84557fdc4ba1dc4a138c5
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data/lib/metrics/backend/test.rb
CHANGED
@@ -26,8 +26,8 @@ require_relative '../metric'
|
|
26
26
|
module Metrics
|
27
27
|
module Backend
|
28
28
|
module Test
|
29
|
-
VALID_METRIC_NAME = /\A[a-z0-9\-_\.]{1,128}\Z/
|
30
|
-
VALID_TAG = /\A[a-z][a-z0-9\-_\.:\\]{0,127}\Z/
|
29
|
+
VALID_METRIC_NAME = /\A[a-z0-9\-_\.]{1,128}\Z/i
|
30
|
+
VALID_TAG = /\A[a-z][a-z0-9\-_\.:\\]{0,127}\Z/i
|
31
31
|
|
32
32
|
class Metric < Metrics::Metric
|
33
33
|
def emit(value, tags: nil, sample_rate: 1.0)
|
data/lib/metrics/version.rb
CHANGED
data.tar.gz.sig
CHANGED
Binary file
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|