prometheus-client-mmap 0.14.0 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/prometheus/client/mmaped_value.rb +3 -7
- data/lib/prometheus/client/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4a5499ad848cb63f9d28ec70e0c8e625362e3b0d88c39ec99bfb1f8063977225
|
4
|
+
data.tar.gz: 6eb5a5ac105cd8755dbd150e71d8438b29afd91528ecbc8687cb4d2c3f4fdc3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8937e83ed07d65c8b77128b12fb9df2e01950381b1f49bfacda43de81d1a087dfa97d646bac096002a4fcd151ecc6080454f1e6d8dd49b5b425b4ab49a0e908c
|
7
|
+
data.tar.gz: 7d63e7dc4965d3cf91efec8abe594c833483f4d2d54869916ba44a8a1b04419ff6eecb453d98f559fd15284c49d0a13d202ca86d2cf1b916933c505e417fe9b8
|
@@ -129,14 +129,10 @@ module Prometheus
|
|
129
129
|
|
130
130
|
|
131
131
|
def rebuild_key
|
132
|
-
|
133
|
-
|
134
|
-
@labels.each do |k, v|
|
135
|
-
labelnames << k
|
136
|
-
labelvalues << v
|
137
|
-
end
|
132
|
+
keys = @labels.keys.sort
|
133
|
+
values = @labels.values_at(*keys)
|
138
134
|
|
139
|
-
[@metric_name, @name,
|
135
|
+
[@metric_name, @name, keys, values].to_json
|
140
136
|
end
|
141
137
|
|
142
138
|
def write_value(key, val)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: prometheus-client-mmap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tobias Schmidt
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2021-08-
|
12
|
+
date: 2021-08-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: fuzzbert
|