prometheus-client-mmap 0.20.0 → 0.20.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c348888918d1d6d2ff4334aa37e1ca1b27275246050db022db7723e220613717
|
4
|
+
data.tar.gz: 6f082d9c9d3bb0b1181817b1ebfde447912ad8b23209e93d24350526e2118c36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2824ca427aab9d85d0516c4d8f4c42bc7dfd67995a1f208dc6cd2eefcfab71716ed202de22549943b7538ff5bb87aeb94d1d9e6e1ce476bb466292f3e2679a3e
|
7
|
+
data.tar.gz: 0ccb59ead46f5047cea39cddcd89d55516e30b0a09e92b25aa940b39e589b991e314264630c808b85bc3460f778ec2833d4a1111b40d82bb45fb99fe92aeb7a2
|
@@ -1,4 +1,5 @@
|
|
1
1
|
use magnus::{StaticSymbol, Symbol};
|
2
|
+
use std::fmt::Write;
|
2
3
|
|
3
4
|
use crate::error::{MmapError, RubyError};
|
4
5
|
use crate::file_info::FileInfo;
|
@@ -121,7 +122,8 @@ impl FileEntry {
|
|
121
122
|
|
122
123
|
entry.append_entry(metrics_data, &mut out)?;
|
123
124
|
|
124
|
-
|
125
|
+
writeln!(&mut out, " {}", entry.meta.value)
|
126
|
+
.map_err(|e| MmapError::Other(format!("Failed to append to output: {e}")))?;
|
125
127
|
|
126
128
|
processed_count += 1;
|
127
129
|
}
|
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.20.
|
4
|
+
version: 0.20.1
|
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: 2023-04-
|
12
|
+
date: 2023-04-15 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rb_sys
|
@@ -130,7 +130,6 @@ files:
|
|
130
130
|
- ext/fast_mmaped_file/value_access.c
|
131
131
|
- ext/fast_mmaped_file/value_access.h
|
132
132
|
- ext/fast_mmaped_file_rs/.cargo/config.toml
|
133
|
-
- ext/fast_mmaped_file_rs/.tool-versions
|
134
133
|
- ext/fast_mmaped_file_rs/Cargo.lock
|
135
134
|
- ext/fast_mmaped_file_rs/Cargo.toml
|
136
135
|
- ext/fast_mmaped_file_rs/README.md
|
@@ -213,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
213
212
|
- !ruby/object:Gem::Version
|
214
213
|
version: '0'
|
215
214
|
requirements: []
|
216
|
-
rubygems_version: 3.4.
|
215
|
+
rubygems_version: 3.4.12
|
217
216
|
signing_key:
|
218
217
|
specification_version: 4
|
219
218
|
summary: A suite of instrumentation metric primitivesthat can be exposed through a
|
@@ -1 +0,0 @@
|
|
1
|
-
rust 1.65.0
|