raygun-apm 1.0.22-x86-mingw32 → 1.0.23-x86-mingw32

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: de628cc42cc493e6403a77dc3af8302bdcdf5c4ad6b6420697a207efa6bd75af
4
- data.tar.gz: 64ee7bc68242b1898a25e1729868eaaeabcfa0385b18362c73b9d6e6a32f82fd
3
+ metadata.gz: 01f89131f3fa5d2defdf726677b7710cd9a684aee9b713b0aa255e5b70ff63ed
4
+ data.tar.gz: 3e47f7667cb27746e8b74b9d34261a19e674b9e573c59b93d9c42cc91b6e0145
5
5
  SHA512:
6
- metadata.gz: d095d60e631a6813665c3aec2067f7bd9cc4ca3932ac9d7d950b69c8542ea39883bd60f9dd07ef9633c5e7440f33aae2f97d3662e08598913c4b05be6be904fe
7
- data.tar.gz: a94f935c8166656527cc73dcbd366f48b42eea95378dc42af851e7d35ee47a1009ea0bf05d9cd0ed5064ecc5ec3707918c26cc7924232b37afe5a2f9772246a9
6
+ metadata.gz: ec36a22e3288cd1333680ac236ea43800605b5cfd506591e2ea437c61a41df8847ab3ec5cfdb1fbc168330fc01c59c92e3d70a70785ebc8fe7bfa17043631a3c
7
+ data.tar.gz: 12cf4bff1dd96c1888e119f57af974a4fe9d8b60491a2ae7082444d433fee11767cea068ad3bd922f742965e1b5286ad0a951858b712a89ec05081f6fe8f61f8
data/README.rdoc CHANGED
@@ -35,7 +35,7 @@ this deployment model if your production infrastructure already depends on Docke
35
35
 
36
36
  Also a great way to explore on your Mac.
37
37
 
38
- The <code>RAYGUN_AGENT_TOKEN</code> needs to be supplied as an argument and is available under "Application Settings" at the {Raygun Application Performance Monitoring}[https://raygun.com/platform/apm] UI
38
+ The <code>RAYGUN_AGENT_TOKEN</code> needs to be supplied as an argument and is available under "Application Settings" within the {Raygun Application Performance Monitoring}[https://raygun.com/platform/apm] UI
39
39
 
40
40
  To launch Raygun Agent using docker
41
41
  docker pull raygunowner/raygun-apm
@@ -63,6 +63,12 @@ Run <code>bundle</code> to install the gem.
63
63
 
64
64
  Alternatively install using rubygems <code>gem install raygun-apm</code>.
65
65
 
66
+ === Profiler configration
67
+
68
+ ==== Multiple applications, one Agent
69
+
70
+ Set the `PROTON_API_KEY` environment variable to your API key, which is available under "Application Settings" within the {Raygun Application Performance Monitoring}[https://raygun.com/platform/apm] UI.
71
+
66
72
  === Standalone ruby script / custom framework
67
73
 
68
74
  For standalone scripts, context start-end needs to be marked specifically and optionally extended events can be called.
Binary file
Binary file
Binary file
@@ -54,6 +54,7 @@ module Raygun
54
54
  UDP_SINK_PORT = 2799
55
55
 
56
56
  ## Enumerate all PROTON_ constants
57
+ config_var 'PROTON_API_KEY', as: String, default: ''
57
58
  config_var 'PROTON_DEBUG_LOGLEVEL', as: String, default: 'None'
58
59
  config_var 'PROTON_USER_OVERRIDES_FILE', as: String
59
60
  config_var 'PROTON_NETWORK_MODE', as: String, default: 'Udp'
@@ -27,8 +27,10 @@ module Raygun
27
27
  # Ignore comments set to false here to account for #<Class: etc. in Rails blacklist
28
28
  add_filters Raygun::Apm::Blacklist.resolve_entries, ignore_comments: false
29
29
  show_filters if config.loglevel == Tracer::LOG_BLACKLIST
30
+ # Special assignments from config to the Tracer
30
31
  self.log_level = config.loglevel
31
32
  self.environment = config.environment
33
+ self.api_key = config.proton_api_key
32
34
  ObjectSpace.define_finalizer(self, proc{ disable_tracepoints })
33
35
  # Any fails here is kamikaze for the tracer
34
36
  rescue => e
@@ -1,5 +1,5 @@
1
1
  module Raygun
2
2
  module Apm
3
- VERSION = "1.0.22"
3
+ VERSION = "1.0.23"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raygun-apm
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.22
4
+ version: 1.0.23
5
5
  platform: x86-mingw32
6
6
  authors:
7
7
  - Raygun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2020-03-29 00:00:00.000000000 Z
12
+ date: 2020-03-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: debase-ruby_core_source