pyroscope 0.5.6 → 0.5.7

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: f09d48a6590ce6d6d1769b357d43838a9bf53fb650de63587dc88e21a4e5bdaa
4
- data.tar.gz: e22bc8052b1860f411e739c2709964d5838001ebd78255427a54ff2904ee9db7
3
+ metadata.gz: 03fe43099255b216f6e459fb72d42979b2fbf916366c70d52bc971fcfb25f348
4
+ data.tar.gz: 94769b9a1ad34b9085e5cdf9af74579c745d8202e61b53d742a4b852d69c8535
5
5
  SHA512:
6
- metadata.gz: c449397e5319bd6be334f939d59513edbbb9464221a4b96498657f067e2ef33664cf20b00a24ae717a81adb16498ebb24a6f75ae1f7de141c4778250510415ca
7
- data.tar.gz: 4b434d44f410272bd4b12c41bd02fd2f40f2469796f211e89f9d3b03ac0ead5f66fb7d2d9801bc67b1c2cba44ab1cb948e427f4887fef6f15056f9732cacc8a8
6
+ metadata.gz: 8a04c45ec9a48d8c9cc150ff01b6c8e1263c1cf42d3757c060065c04fde3968f8b5d4d41489de6e1d1c6761e3011be13cee29dca52dc6132310d2738aa0f582c
7
+ data.tar.gz: f8fa223a067547f92d50c05857eec4e196215457096353210422bd52704f6f8dfd67234ca6fa353fe291c313b73f36c9fefe6b61d08c21ca4f8d4182399c6198
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
- scope_org_id: *const c_char,
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 scope_org_id = unsafe { CStr::from_ptr(scope_org_id) }
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 scope_org_id != "" {
213
- agent_builder = agent_builder.scope_org_id(scope_org_id);
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);
@@ -1,3 +1,3 @@
1
1
  module Pyroscope
2
- VERSION = '0.5.6'.freeze
2
+ VERSION = '0.5.7'.freeze
3
3
  end
data/lib/pyroscope.rb CHANGED
@@ -50,7 +50,7 @@ module Pyroscope
50
50
  :compression,
51
51
  :report_encoding,
52
52
  :autoinstrument_rails,
53
- :scope_org_id,
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.scope_org_id = ''
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.scope_org_id || "",
123
+ @config.tenant_id || "",
124
124
  http_headers_to_json(@config.http_headers || {})
125
125
  )
126
126
  end
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.6
4
+ version: 0.5.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pyroscope Team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-04-28 00:00:00.000000000 Z
11
+ date: 2023-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ffi