middleware_apm_linux 2.1.0 → 2.1.1

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 92049e029e75ce2916df129acee668a2ce2a8ad16bef8468475048d96d211e5c
4
- data.tar.gz: 93a73c85a098ad6995ea75b50174b0643a9463110a2be324491998f0f1d921b6
3
+ metadata.gz: c2a66659cccc2f9a9957e1234dd645ab05371a80a81c04ed00c28f42bb255c62
4
+ data.tar.gz: 9f9386c87282676277f5135aeba8434070c219f2fb04f3d4754df0bd57b9c27b
5
5
  SHA512:
6
- metadata.gz: 8aae00e5e3b68d1482bda3a66f2c9d24e89cb99d1c561b668c2fcb1810d2893dcec3d45d199b4a2c424fc95c3376ded27f09975752952be246fa8eca0a1a4773
7
- data.tar.gz: acfb2cedbf153b8d750462916ab566dc1b9440295ae781c43a0d0fb975e5704584fde474dac98f69147b8bb493df17aabddb0ed0c12dcad9edcc42b592eb55d3
6
+ metadata.gz: 2dfb59930bd82cefda959144d05fa8991fd4ebf671b58144bbb06768040a81aab9e4d679083b61890fe81305baf122ccf48477962ce1529652667f6a188dd6f9
7
+ data.tar.gz: 8dbe23d2aef307eb11f6821e3bd71072e61155976f06ac637f275f7066727c8a7be868c0cf5a0be622da8efeff4274838aae52599ad6945432c291362678db4c
@@ -13,11 +13,11 @@ module Middleware
13
13
  def self.init
14
14
  authentication = Auth::Authentication.new
15
15
  return unless authentication.auth
16
-
16
+ account = authentication.get_response['data']['account']
17
17
  Pyroscope.configure do |config|
18
18
  config.application_name = ENV["OTEL_SERVICE_NAME"] || "default-service-name"
19
- config.server_address = ENV["MW_PROFILING_SERVER_URL"] || "https://profiling.middleware.io"
20
- config.tenant_id = authentication.get_response['data']['account']
19
+ config.server_address = ENV["MW_PROFILING_SERVER_URL"] || "https://#{account}.middleware.io/profiling"
20
+ config.tenant_id = account
21
21
  end
22
22
 
23
23
  MwLogger.info("Profiling started")
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Middleware
4
4
  module RubyGem
5
- VERSION = "2.1.0"
5
+ VERSION = "2.1.1"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleware_apm_linux
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.0
4
+ version: 2.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - middleware-dev
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-10-27 00:00:00.000000000 Z
11
+ date: 2024-06-21 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: The 'APM' (Application Performance Monitoring) Ruby gem provides developers
14
14
  with comprehensive insights into their software applications' performance and behavior.
@@ -62,7 +62,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
62
62
  - !ruby/object:Gem::Version
63
63
  version: '0'
64
64
  requirements: []
65
- rubygems_version: 3.3.26
65
+ rubygems_version: 3.3.27
66
66
  signing_key:
67
67
  specification_version: 4
68
68
  summary: APM is a practice and set of tools designed to monitor and manage the performance