prometheus-client-mmap 1.6.1-aarch64-linux-gnu → 1.7.1-aarch64-linux-gnu
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Cargo.lock +18 -18
- data/ext/fast_mmaped_file_rs/Cargo.lock +18 -18
- data/ext/fast_mmaped_file_rs/Cargo.toml +2 -2
- data/ext/fast_mmaped_file_rs/src/map.rs +2 -2
- data/lib/3.2/fast_mmaped_file_rs.so +0 -0
- data/lib/3.3/fast_mmaped_file_rs.so +0 -0
- data/lib/3.4/fast_mmaped_file_rs.so +0 -0
- data/lib/4.0/fast_mmaped_file_rs.so +0 -0
- data/lib/prometheus/client/formats/text.rb +4 -4
- data/lib/prometheus/client/metric.rb +2 -2
- data/lib/prometheus/client/version.rb +1 -1
- metadata +5 -6
- data/lib/3.1/fast_mmaped_file_rs.so +0 -0
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d78a032ed964a578f337c6b43802d9ffc2fc428ff9d96f7c0af66d981061d599
|
|
4
|
+
data.tar.gz: d9a857dd0ba2983ec514c2abf9de3f58dc870990410760d64e12828d97ded849
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c3aa4935d95b9d79bb4a3c23259050ca6d5690e96d78d7ddcc325c1c1ae135b81a62ea100941bb699587c1cbc928839e27e7c3c76d4d43e57072c6bc6a6f2d51
|
|
7
|
+
data.tar.gz: 733a584d8906d14fa969943eb3d057d7cfbe2d81e380a3ab926987d7bfef2be7441333469c019ef7b026ab740bc2c4a66a750245468576eac6b068bb8d61ec84
|
data/Cargo.lock
CHANGED
|
@@ -64,9 +64,9 @@ dependencies = [
|
|
|
64
64
|
|
|
65
65
|
[[package]]
|
|
66
66
|
name = "bstr"
|
|
67
|
-
version = "1.13.
|
|
67
|
+
version = "1.13.1"
|
|
68
68
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
69
|
-
checksum = "
|
|
69
|
+
checksum = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f"
|
|
70
70
|
dependencies = [
|
|
71
71
|
"memchr",
|
|
72
72
|
"regex-automata",
|
|
@@ -260,9 +260,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
|
260
260
|
|
|
261
261
|
[[package]]
|
|
262
262
|
name = "libc"
|
|
263
|
-
version = "0.2.
|
|
263
|
+
version = "0.2.190"
|
|
264
264
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
265
|
-
checksum = "
|
|
265
|
+
checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78"
|
|
266
266
|
|
|
267
267
|
[[package]]
|
|
268
268
|
name = "libloading"
|
|
@@ -282,9 +282,9 @@ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
|
|
|
282
282
|
|
|
283
283
|
[[package]]
|
|
284
284
|
name = "magnus"
|
|
285
|
-
version = "0.
|
|
285
|
+
version = "0.9.2"
|
|
286
286
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
287
|
-
checksum = "
|
|
287
|
+
checksum = "b9068710e00d21be762edca59b9c4c8946dbdb29820d4f76ad559afea07982c9"
|
|
288
288
|
dependencies = [
|
|
289
289
|
"magnus-macros",
|
|
290
290
|
"rb-sys",
|
|
@@ -294,9 +294,9 @@ dependencies = [
|
|
|
294
294
|
|
|
295
295
|
[[package]]
|
|
296
296
|
name = "magnus-macros"
|
|
297
|
-
version = "0.
|
|
297
|
+
version = "0.9.1"
|
|
298
298
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
299
|
-
checksum = "
|
|
299
|
+
checksum = "9dafde2eeb66f090e0f326112323eb8324b12cb32b5d1210e541d3df6b0ce77e"
|
|
300
300
|
dependencies = [
|
|
301
301
|
"proc-macro2",
|
|
302
302
|
"quote",
|
|
@@ -433,18 +433,18 @@ dependencies = [
|
|
|
433
433
|
|
|
434
434
|
[[package]]
|
|
435
435
|
name = "rb-sys"
|
|
436
|
-
version = "0.9.
|
|
436
|
+
version = "0.9.130"
|
|
437
437
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
438
|
-
checksum = "
|
|
438
|
+
checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
|
|
439
439
|
dependencies = [
|
|
440
440
|
"rb-sys-build",
|
|
441
441
|
]
|
|
442
442
|
|
|
443
443
|
[[package]]
|
|
444
444
|
name = "rb-sys-build"
|
|
445
|
-
version = "0.9.
|
|
445
|
+
version = "0.9.130"
|
|
446
446
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
447
|
-
checksum = "
|
|
447
|
+
checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
|
|
448
448
|
dependencies = [
|
|
449
449
|
"bindgen",
|
|
450
450
|
"lazy_static",
|
|
@@ -589,9 +589,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
|
589
589
|
|
|
590
590
|
[[package]]
|
|
591
591
|
name = "smallvec"
|
|
592
|
-
version = "1.
|
|
592
|
+
version = "1.16.2"
|
|
593
593
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
594
|
-
checksum = "
|
|
594
|
+
checksum = "f9395f0f0eee849a9b707b2f06bb92a6a422090e2123bb2ef8e87a0e61892a8e"
|
|
595
595
|
dependencies = [
|
|
596
596
|
"serde",
|
|
597
597
|
]
|
|
@@ -633,18 +633,18 @@ dependencies = [
|
|
|
633
633
|
|
|
634
634
|
[[package]]
|
|
635
635
|
name = "thiserror"
|
|
636
|
-
version = "2.0.
|
|
636
|
+
version = "2.0.21"
|
|
637
637
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
638
|
-
checksum = "
|
|
638
|
+
checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
|
|
639
639
|
dependencies = [
|
|
640
640
|
"thiserror-impl",
|
|
641
641
|
]
|
|
642
642
|
|
|
643
643
|
[[package]]
|
|
644
644
|
name = "thiserror-impl"
|
|
645
|
-
version = "2.0.
|
|
645
|
+
version = "2.0.21"
|
|
646
646
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
647
|
-
checksum = "
|
|
647
|
+
checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
|
|
648
648
|
dependencies = [
|
|
649
649
|
"proc-macro2",
|
|
650
650
|
"quote",
|
|
@@ -64,9 +64,9 @@ dependencies = [
|
|
|
64
64
|
|
|
65
65
|
[[package]]
|
|
66
66
|
name = "bstr"
|
|
67
|
-
version = "1.13.
|
|
67
|
+
version = "1.13.1"
|
|
68
68
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
69
|
-
checksum = "
|
|
69
|
+
checksum = "6bb31b46c14244e20ee9984b11bf5c992b91fb6939fea616e3512c8baecdbe5f"
|
|
70
70
|
dependencies = [
|
|
71
71
|
"memchr",
|
|
72
72
|
"regex-automata",
|
|
@@ -260,9 +260,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
|
|
|
260
260
|
|
|
261
261
|
[[package]]
|
|
262
262
|
name = "libc"
|
|
263
|
-
version = "0.2.
|
|
263
|
+
version = "0.2.190"
|
|
264
264
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
265
|
-
checksum = "
|
|
265
|
+
checksum = "ce5d3ddc6d3fa000eb1536d85e147bfe31aacaba692ed6a876f95cb7c855be78"
|
|
266
266
|
|
|
267
267
|
[[package]]
|
|
268
268
|
name = "libloading"
|
|
@@ -282,9 +282,9 @@ checksum = "32a66949e030da00e8c7d4434b251670a91556f4144941d37452769c25d58a53"
|
|
|
282
282
|
|
|
283
283
|
[[package]]
|
|
284
284
|
name = "magnus"
|
|
285
|
-
version = "0.
|
|
285
|
+
version = "0.9.2"
|
|
286
286
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
287
|
-
checksum = "
|
|
287
|
+
checksum = "b9068710e00d21be762edca59b9c4c8946dbdb29820d4f76ad559afea07982c9"
|
|
288
288
|
dependencies = [
|
|
289
289
|
"magnus-macros",
|
|
290
290
|
"rb-sys",
|
|
@@ -294,9 +294,9 @@ dependencies = [
|
|
|
294
294
|
|
|
295
295
|
[[package]]
|
|
296
296
|
name = "magnus-macros"
|
|
297
|
-
version = "0.
|
|
297
|
+
version = "0.9.1"
|
|
298
298
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
299
|
-
checksum = "
|
|
299
|
+
checksum = "9dafde2eeb66f090e0f326112323eb8324b12cb32b5d1210e541d3df6b0ce77e"
|
|
300
300
|
dependencies = [
|
|
301
301
|
"proc-macro2",
|
|
302
302
|
"quote",
|
|
@@ -433,18 +433,18 @@ dependencies = [
|
|
|
433
433
|
|
|
434
434
|
[[package]]
|
|
435
435
|
name = "rb-sys"
|
|
436
|
-
version = "0.9.
|
|
436
|
+
version = "0.9.130"
|
|
437
437
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
438
|
-
checksum = "
|
|
438
|
+
checksum = "02faf625bb10ba893e3ae620f19c9fb1b5f8fcae0fe4eb86bb3f2230fad75edb"
|
|
439
439
|
dependencies = [
|
|
440
440
|
"rb-sys-build",
|
|
441
441
|
]
|
|
442
442
|
|
|
443
443
|
[[package]]
|
|
444
444
|
name = "rb-sys-build"
|
|
445
|
-
version = "0.9.
|
|
445
|
+
version = "0.9.130"
|
|
446
446
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
447
|
-
checksum = "
|
|
447
|
+
checksum = "05be6f9c86fe5482808162826f6c047d093b3670582296c770de1d94f8066694"
|
|
448
448
|
dependencies = [
|
|
449
449
|
"bindgen",
|
|
450
450
|
"lazy_static",
|
|
@@ -589,9 +589,9 @@ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
|
|
|
589
589
|
|
|
590
590
|
[[package]]
|
|
591
591
|
name = "smallvec"
|
|
592
|
-
version = "1.
|
|
592
|
+
version = "1.16.2"
|
|
593
593
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
594
|
-
checksum = "
|
|
594
|
+
checksum = "f9395f0f0eee849a9b707b2f06bb92a6a422090e2123bb2ef8e87a0e61892a8e"
|
|
595
595
|
dependencies = [
|
|
596
596
|
"serde",
|
|
597
597
|
]
|
|
@@ -633,18 +633,18 @@ dependencies = [
|
|
|
633
633
|
|
|
634
634
|
[[package]]
|
|
635
635
|
name = "thiserror"
|
|
636
|
-
version = "2.0.
|
|
636
|
+
version = "2.0.21"
|
|
637
637
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
638
|
-
checksum = "
|
|
638
|
+
checksum = "09e52cb86a36cede5cb101bf8908837b3e4c6e5e59fe7fd85c23fb56200d189e"
|
|
639
639
|
dependencies = [
|
|
640
640
|
"thiserror-impl",
|
|
641
641
|
]
|
|
642
642
|
|
|
643
643
|
[[package]]
|
|
644
644
|
name = "thiserror-impl"
|
|
645
|
-
version = "2.0.
|
|
645
|
+
version = "2.0.21"
|
|
646
646
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
647
|
-
checksum = "
|
|
647
|
+
checksum = "fe5197923287db20a58125f0bc85c062f7f2c892de97b18c356f9efb14b28524"
|
|
648
648
|
dependencies = [
|
|
649
649
|
"proc-macro2",
|
|
650
650
|
"quote",
|
|
@@ -8,7 +8,7 @@ edition = "2021"
|
|
|
8
8
|
[dependencies]
|
|
9
9
|
hashbrown = "0.17.0"
|
|
10
10
|
libc = "0.2.172"
|
|
11
|
-
magnus = { version = "0.
|
|
11
|
+
magnus = { version = "0.9.0", features = ["rb-sys"] }
|
|
12
12
|
memmap2 = "0.9.5"
|
|
13
13
|
# v0.26 cannot be built on CentOS 7 https://github.com/nix-rust/nix/issues/1972
|
|
14
14
|
nix = { version = "0.25", features = ["mman"] } # mman used for MsFlags
|
|
@@ -22,7 +22,7 @@ thiserror = "2.0.12"
|
|
|
22
22
|
bstr = "1.12"
|
|
23
23
|
indoc = "2.0.6"
|
|
24
24
|
# We need the `embed` feature to run tests, but this triggers failures when building as a Gem.
|
|
25
|
-
magnus = { version = "0.
|
|
25
|
+
magnus = { version = "0.9.0", features = ["rb-sys","embed"] }
|
|
26
26
|
rand = "0.9.1"
|
|
27
27
|
sha2 = "0.11.0"
|
|
28
28
|
tempfile = "3.19.1"
|
|
@@ -49,8 +49,8 @@ impl EntryMap {
|
|
|
49
49
|
buf.try_reserve(16_384)
|
|
50
50
|
.map_err(|_| err!(no_mem_error(), "Couldn't allocate for {} memory", 16_384))?;
|
|
51
51
|
|
|
52
|
-
for item in list_of_files.
|
|
53
|
-
let params = RArray::from_value(item
|
|
52
|
+
for item in list_of_files.into_iter() {
|
|
53
|
+
let params = RArray::from_value(item).expect("file list was not a Ruby Array");
|
|
54
54
|
if params.len() != 4 {
|
|
55
55
|
return Err(err!(
|
|
56
56
|
arg_error(),
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -70,12 +70,12 @@ module Prometheus
|
|
|
70
70
|
def histogram(name, set, value)
|
|
71
71
|
# |metric_name, labels, value|
|
|
72
72
|
rv = value.get.map do |q, v|
|
|
73
|
-
[name, set.merge(le: q), v]
|
|
73
|
+
["#{name}_bucket", set.merge(le: q), v]
|
|
74
74
|
end
|
|
75
75
|
|
|
76
|
-
rv << [name, set.merge(le: '+Inf'), value.get
|
|
77
|
-
rv << ["#{name}_sum", set, value.get
|
|
78
|
-
rv << ["#{name}_count", set, value.get
|
|
76
|
+
rv << ["#{name}_bucket", set.merge(le: '+Inf'), value.total_inf.get]
|
|
77
|
+
rv << ["#{name}_sum", set, value.sum.get]
|
|
78
|
+
rv << ["#{name}_count", set, value.total.get]
|
|
79
79
|
rv
|
|
80
80
|
end
|
|
81
81
|
end
|
|
@@ -12,9 +12,9 @@ module Prometheus
|
|
|
12
12
|
@mutex = Mutex.new
|
|
13
13
|
@validator = case type
|
|
14
14
|
when :summary
|
|
15
|
-
LabelSetValidator.new([
|
|
15
|
+
LabelSetValidator.new(%i[quantile])
|
|
16
16
|
when :histogram
|
|
17
|
-
LabelSetValidator.new([
|
|
17
|
+
LabelSetValidator.new(%i[le])
|
|
18
18
|
else
|
|
19
19
|
LabelSetValidator.new
|
|
20
20
|
end
|
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: 1.
|
|
4
|
+
version: 1.7.1
|
|
5
5
|
platform: aarch64-linux-gnu
|
|
6
6
|
authors:
|
|
7
7
|
- Tobias Schmidt
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2026-
|
|
14
|
+
date: 2026-10-12 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: base64
|
|
@@ -61,14 +61,14 @@ dependencies:
|
|
|
61
61
|
requirements:
|
|
62
62
|
- - "~>"
|
|
63
63
|
- !ruby/object:Gem::Version
|
|
64
|
-
version: 0.9.
|
|
64
|
+
version: 0.9.130
|
|
65
65
|
type: :runtime
|
|
66
66
|
prerelease: false
|
|
67
67
|
version_requirements: !ruby/object:Gem::Requirement
|
|
68
68
|
requirements:
|
|
69
69
|
- - "~>"
|
|
70
70
|
- !ruby/object:Gem::Version
|
|
71
|
-
version: 0.9.
|
|
71
|
+
version: 0.9.130
|
|
72
72
|
- !ruby/object:Gem::Dependency
|
|
73
73
|
name: fuzzbert
|
|
74
74
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -189,7 +189,6 @@ files:
|
|
|
189
189
|
- ext/fast_mmaped_file_rs/src/raw_entry.rs
|
|
190
190
|
- ext/fast_mmaped_file_rs/src/testhelper.rs
|
|
191
191
|
- ext/fast_mmaped_file_rs/src/util.rs
|
|
192
|
-
- lib/3.1/fast_mmaped_file_rs.so
|
|
193
192
|
- lib/3.2/fast_mmaped_file_rs.so
|
|
194
193
|
- lib/3.3/fast_mmaped_file_rs.so
|
|
195
194
|
- lib/3.4/fast_mmaped_file_rs.so
|
|
@@ -235,7 +234,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
235
234
|
requirements:
|
|
236
235
|
- - ">="
|
|
237
236
|
- !ruby/object:Gem::Version
|
|
238
|
-
version: '3.
|
|
237
|
+
version: '3.2'
|
|
239
238
|
- - "<"
|
|
240
239
|
- !ruby/object:Gem::Version
|
|
241
240
|
version: 4.1.dev
|
|
Binary file
|