pyroscope 0.5.6-aarch64-linux → 0.5.7-aarch64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/rbspy/Cargo.lock +6 -29
- data/ext/rbspy/src/lib.rs +4 -4
- data/lib/pyroscope/version.rb +1 -1
- data/lib/pyroscope.rb +3 -3
- data/lib/rbspy/rbspy.so +0 -0
- 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: 9cc45cfdce4eda225117317df4483a96495cf7af384bf604c524f9276ae07905
|
4
|
+
data.tar.gz: d7ce4a4ab12329f24971d485ce941d31d2b5a10c41bed046677661ffa2253cea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f42768afe95c9ef707192049c88b1d05cc86935f16d887f10635439638471d50164078edde973e3978a2050d5506e1f2fbd39dc59794d6ee998ea92f8c6c3cd
|
7
|
+
data.tar.gz: 20090fe883b3c50c11787b7cef67e86b65c91f2a8ef3211e05eff392d1cc5f5dcbb878874bc392399589bb9996bdf979b7a5064f141e9f4c61c0ebe252bedda8
|
data/ext/rbspy/Cargo.lock
CHANGED
@@ -1245,9 +1245,9 @@ dependencies = [
|
|
1245
1245
|
|
1246
1246
|
[[package]]
|
1247
1247
|
name = "names"
|
1248
|
-
version = "0.
|
1248
|
+
version = "0.14.0"
|
1249
1249
|
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1250
|
-
checksum = "
|
1250
|
+
checksum = "7bddcd3bf5144b6392de80e04c347cd7fab2508f6df16a85fc496ecd5cec39bc"
|
1251
1251
|
dependencies = [
|
1252
1252
|
"clap 3.2.23",
|
1253
1253
|
"rand 0.8.5",
|
@@ -1462,16 +1462,6 @@ dependencies = [
|
|
1462
1462
|
"winapi",
|
1463
1463
|
]
|
1464
1464
|
|
1465
|
-
[[package]]
|
1466
|
-
name = "prost"
|
1467
|
-
version = "0.10.4"
|
1468
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1469
|
-
checksum = "71adf41db68aa0daaefc69bb30bcd68ded9b9abaad5d1fbb6304c4fb390e083e"
|
1470
|
-
dependencies = [
|
1471
|
-
"bytes",
|
1472
|
-
"prost-derive 0.10.1",
|
1473
|
-
]
|
1474
|
-
|
1475
1465
|
[[package]]
|
1476
1466
|
name = "prost"
|
1477
1467
|
version = "0.11.6"
|
@@ -1479,20 +1469,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
|
|
1479
1469
|
checksum = "21dc42e00223fc37204bd4aa177e69420c604ca4a183209a8f9de30c6d934698"
|
1480
1470
|
dependencies = [
|
1481
1471
|
"bytes",
|
1482
|
-
"prost-derive
|
1483
|
-
]
|
1484
|
-
|
1485
|
-
[[package]]
|
1486
|
-
name = "prost-derive"
|
1487
|
-
version = "0.10.1"
|
1488
|
-
source = "registry+https://github.com/rust-lang/crates.io-index"
|
1489
|
-
checksum = "7b670f45da57fb8542ebdbb6105a925fe571b67f9e7ed9f47a06a84e72b4e7cc"
|
1490
|
-
dependencies = [
|
1491
|
-
"anyhow",
|
1492
|
-
"itertools",
|
1493
|
-
"proc-macro2",
|
1494
|
-
"quote",
|
1495
|
-
"syn",
|
1472
|
+
"prost-derive",
|
1496
1473
|
]
|
1497
1474
|
|
1498
1475
|
[[package]]
|
@@ -1510,14 +1487,14 @@ dependencies = [
|
|
1510
1487
|
|
1511
1488
|
[[package]]
|
1512
1489
|
name = "pyroscope"
|
1513
|
-
version = "0.5.
|
1490
|
+
version = "0.5.6"
|
1514
1491
|
dependencies = [
|
1515
1492
|
"json",
|
1516
1493
|
"libc",
|
1517
1494
|
"libflate",
|
1518
1495
|
"log",
|
1519
1496
|
"names",
|
1520
|
-
"prost
|
1497
|
+
"prost",
|
1521
1498
|
"reqwest",
|
1522
1499
|
"thiserror",
|
1523
1500
|
"url",
|
@@ -1651,7 +1628,7 @@ dependencies = [
|
|
1651
1628
|
"memmap2",
|
1652
1629
|
"nix 0.26.2",
|
1653
1630
|
"proc-maps",
|
1654
|
-
"prost
|
1631
|
+
"prost",
|
1655
1632
|
"rand 0.8.5",
|
1656
1633
|
"rbspy-ruby-structs",
|
1657
1634
|
"remoteprocess",
|
data/ext/rbspy/src/lib.rs
CHANGED
@@ -123,7 +123,7 @@ pub extern "C" fn initialize_agent(
|
|
123
123
|
tags: *const c_char,
|
124
124
|
compression: *const c_char,
|
125
125
|
report_encoding: *const c_char,
|
126
|
-
|
126
|
+
tenant_id: *const c_char,
|
127
127
|
http_headers_json: *const c_char,
|
128
128
|
) -> bool {
|
129
129
|
// Initialize FFIKit
|
@@ -169,7 +169,7 @@ pub extern "C" fn initialize_agent(
|
|
169
169
|
.unwrap()
|
170
170
|
.to_string();
|
171
171
|
|
172
|
-
let
|
172
|
+
let tenant_id = unsafe { CStr::from_ptr(tenant_id) }
|
173
173
|
.to_str()
|
174
174
|
.unwrap()
|
175
175
|
.to_string();
|
@@ -209,8 +209,8 @@ pub extern "C" fn initialize_agent(
|
|
209
209
|
agent_builder = agent_builder.basic_auth(basic_auth_user, basic_auth_password);
|
210
210
|
}
|
211
211
|
|
212
|
-
if
|
213
|
-
agent_builder = agent_builder.
|
212
|
+
if tenant_id != "" {
|
213
|
+
agent_builder = agent_builder.tenant_id(tenant_id);
|
214
214
|
}
|
215
215
|
|
216
216
|
let http_headers = pyroscope::pyroscope::parse_http_headers_json(http_headers_json);
|
data/lib/pyroscope/version.rb
CHANGED
data/lib/pyroscope.rb
CHANGED
@@ -50,7 +50,7 @@ module Pyroscope
|
|
50
50
|
:compression,
|
51
51
|
:report_encoding,
|
52
52
|
:autoinstrument_rails,
|
53
|
-
:
|
53
|
+
:tenant_id,
|
54
54
|
:http_headers,
|
55
55
|
) do
|
56
56
|
def initialize(*)
|
@@ -71,7 +71,7 @@ module Pyroscope
|
|
71
71
|
self.compression = 'gzip'
|
72
72
|
self.report_encoding = 'pprof'
|
73
73
|
self.autoinstrument_rails = true
|
74
|
-
self.
|
74
|
+
self.tenant_id = ''
|
75
75
|
self.http_headers = {}
|
76
76
|
end
|
77
77
|
end
|
@@ -120,7 +120,7 @@ module Pyroscope
|
|
120
120
|
tags_to_string(@config.tags || {}),
|
121
121
|
@config.compression || "",
|
122
122
|
@config.report_encoding || "pprof",
|
123
|
-
@config.
|
123
|
+
@config.tenant_id || "",
|
124
124
|
http_headers_to_json(@config.http_headers || {})
|
125
125
|
)
|
126
126
|
end
|
data/lib/rbspy/rbspy.so
CHANGED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: pyroscope
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.7
|
5
5
|
platform: aarch64-linux
|
6
6
|
authors:
|
7
7
|
- Pyroscope Team
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ffi
|