appsignal 2.5.0-java → 2.5.1.beta.1-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/.rubocop.yml +1 -0
- data/CHANGELOG.md +7 -2
- data/ext/agent.yml +35 -35
- data/lib/appsignal/extension.rb +5 -5
- data/lib/appsignal/extension/jruby.rb +3 -3
- data/lib/appsignal/version.rb +1 -1
- data/spec/spec_helper.rb +2 -2
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: ebd4c0f9e414a89013001c93af25f86b15728d79d8c5e358ec7bc44045c755fb
|
4
|
+
data.tar.gz: 8895cd55200c505354be8271e31f0eaf44a73e51e6abd67698218335a13a2bb6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ebca2655e39bb33045751a8ed3de1b324b0bbf5c5f8f51e368990ae19ddd006378109ee1e4c557c7de42056579b3a6b7858e4bfb02369674315e7b0fda12f4d1
|
7
|
+
data.tar.gz: af763315157a42f9cab36b727608eaebc49322da769346b67942033d96495bbca163f96a7994357231f91e7fd3d19ca01bb9bf3823f6bd8a3bc85bb3fb259b66
|
data/.rubocop.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,10 @@
|
|
1
|
+
# 2.5.1 (Beta)
|
2
|
+
- Improve internal sample storage in agent.
|
3
|
+
Commit 2c8eae26685c7a1517cf2e57b44edd1557a502f2
|
4
|
+
|
1
5
|
# 2.5.0
|
2
|
-
*
|
6
|
+
* Fix Capistrano config overrides. PR #375
|
7
|
+
* Add JRuby beta support. PR #376
|
3
8
|
* Fix locking issue on diagnose mode run.
|
4
9
|
Commit e6c6de811f8115a73050fc865e89dd4945ddec57
|
5
10
|
|
@@ -363,7 +368,7 @@ Yanked
|
|
363
368
|
* Improved mongoid/mongodb sanitization
|
364
369
|
* Minor performance improvements
|
365
370
|
* Better handling for non-utf8 convertable strings
|
366
|
-
* Make gem installable (but not functional) on
|
371
|
+
* Make gem installable (but not functional) on JRuby
|
367
372
|
|
368
373
|
# 1.0.4
|
369
374
|
* Make working dir configurable using `APPSIGNAL_WORKING_DIR_PATH` or `:working_dir_path`
|
data/ext/agent.yml
CHANGED
@@ -1,64 +1,64 @@
|
|
1
1
|
---
|
2
|
-
version:
|
2
|
+
version: ea78a58
|
3
3
|
triples:
|
4
4
|
x86_64-darwin:
|
5
5
|
static:
|
6
|
-
checksum:
|
7
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
6
|
+
checksum: f3546e3e99823d5079dd2424f776be9aa51a736b7a36573902076f5c01e85d11
|
7
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-x86_64-darwin-all-static.tar.gz
|
8
8
|
dynamic:
|
9
|
-
checksum:
|
10
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
9
|
+
checksum: e5c04a5de130374bf226966a30ce18c4d01ab478d3665618fc982ce0980116d4
|
10
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-x86_64-darwin-all-dynamic.tar.gz
|
11
11
|
universal-darwin:
|
12
12
|
static:
|
13
|
-
checksum:
|
14
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
13
|
+
checksum: f3546e3e99823d5079dd2424f776be9aa51a736b7a36573902076f5c01e85d11
|
14
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-x86_64-darwin-all-static.tar.gz
|
15
15
|
dynamic:
|
16
|
-
checksum:
|
17
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
16
|
+
checksum: e5c04a5de130374bf226966a30ce18c4d01ab478d3665618fc982ce0980116d4
|
17
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-x86_64-darwin-all-dynamic.tar.gz
|
18
18
|
i686-linux:
|
19
19
|
static:
|
20
|
-
checksum:
|
21
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
20
|
+
checksum: 82708a13163fa6e03860a8d3c06e0617a4c15cca08fab29e6f2761752374d927
|
21
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-i686-linux-all-static.tar.gz
|
22
22
|
dynamic:
|
23
|
-
checksum:
|
24
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
23
|
+
checksum: ef43a7865a71d88a6929b0983a97c17462ba613990d0463e93cf0ed16364e390
|
24
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-i686-linux-all-dynamic.tar.gz
|
25
25
|
x86-linux:
|
26
26
|
static:
|
27
|
-
checksum:
|
28
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
27
|
+
checksum: 82708a13163fa6e03860a8d3c06e0617a4c15cca08fab29e6f2761752374d927
|
28
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-i686-linux-all-static.tar.gz
|
29
29
|
dynamic:
|
30
|
-
checksum:
|
31
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
30
|
+
checksum: ef43a7865a71d88a6929b0983a97c17462ba613990d0463e93cf0ed16364e390
|
31
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-i686-linux-all-dynamic.tar.gz
|
32
32
|
i686-linux-musl:
|
33
33
|
static:
|
34
|
-
checksum:
|
35
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
34
|
+
checksum: 01dcbeea6e39976d0da4ec36b16ecf6af4bf1f6821e0452671999129a541e6e4
|
35
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-i686-linux-musl-all-static.tar.gz
|
36
36
|
x86-linux-musl:
|
37
37
|
static:
|
38
|
-
checksum:
|
39
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
38
|
+
checksum: 01dcbeea6e39976d0da4ec36b16ecf6af4bf1f6821e0452671999129a541e6e4
|
39
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-i686-linux-musl-all-static.tar.gz
|
40
40
|
x86_64-linux:
|
41
41
|
static:
|
42
|
-
checksum:
|
43
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
42
|
+
checksum: c40ac2149c30bbc66b448685941c30965f9ab19f62cb4af37d437d0da3fb6760
|
43
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-x86_64-linux-all-static.tar.gz
|
44
44
|
dynamic:
|
45
|
-
checksum:
|
46
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
45
|
+
checksum: fe86db778c37639f8ea6a5269ffb4aa842a8cc334faae7b496e30ca387275867
|
46
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-x86_64-linux-all-dynamic.tar.gz
|
47
47
|
x86_64-linux-musl:
|
48
48
|
static:
|
49
|
-
checksum:
|
50
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
49
|
+
checksum: 694618273ef00e3cce1b156770eee51dfb3c31be5ee16d8e61e1c3970a943705
|
50
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-x86_64-linux-musl-all-static.tar.gz
|
51
51
|
x86_64-freebsd:
|
52
52
|
static:
|
53
|
-
checksum:
|
54
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
53
|
+
checksum: 666b3ec59f03fa8ae3c87348065866f30d9f868a4402809b9e5036214da943d5
|
54
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-x86_64-freebsd-all-static.tar.gz
|
55
55
|
dynamic:
|
56
|
-
checksum:
|
57
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
56
|
+
checksum: afaff145ed01ec0fc661c9ecc2aa72089fbddec8e64591aa5868da0d764996e0
|
57
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-x86_64-freebsd-all-dynamic.tar.gz
|
58
58
|
amd64-freebsd:
|
59
59
|
static:
|
60
|
-
checksum:
|
61
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
60
|
+
checksum: 666b3ec59f03fa8ae3c87348065866f30d9f868a4402809b9e5036214da943d5
|
61
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-x86_64-freebsd-all-static.tar.gz
|
62
62
|
dynamic:
|
63
|
-
checksum:
|
64
|
-
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/
|
63
|
+
checksum: afaff145ed01ec0fc661c9ecc2aa72089fbddec8e64591aa5868da0d764996e0
|
64
|
+
download_url: https://appsignal-agent-releases.global.ssl.fastly.net/ea78a58/appsignal-x86_64-freebsd-all-dynamic.tar.gz
|
data/lib/appsignal/extension.rb
CHANGED
@@ -3,7 +3,7 @@ require "yaml"
|
|
3
3
|
begin
|
4
4
|
if Appsignal::System.jruby?
|
5
5
|
require "appsignal/extension/jruby"
|
6
|
-
# {Appsignal.extension_loaded} is set in the
|
6
|
+
# {Appsignal.extension_loaded} is set in the JRuby extension file
|
7
7
|
else
|
8
8
|
require "appsignal_extension"
|
9
9
|
Appsignal.extension_loaded = true
|
@@ -42,14 +42,14 @@ module Appsignal
|
|
42
42
|
if Appsignal::System.jruby?
|
43
43
|
extend Appsignal::Extension::Jruby
|
44
44
|
|
45
|
-
# Reassign Transaction class for
|
45
|
+
# Reassign Transaction class for JRuby extension usage.
|
46
46
|
#
|
47
|
-
# Makes sure the generated docs aren't always overwritten with the
|
47
|
+
# Makes sure the generated docs aren't always overwritten with the JRuby
|
48
48
|
# version.
|
49
49
|
Transaction = Jruby::Transaction
|
50
|
-
# Reassign Data class for
|
50
|
+
# Reassign Data class for JRuby extension usage.
|
51
51
|
#
|
52
|
-
# Makes sure the generated docs aren't always overwritten with the
|
52
|
+
# Makes sure the generated docs aren't always overwritten with the JRuby
|
53
53
|
# version.
|
54
54
|
Data = Jruby::Data
|
55
55
|
end
|
@@ -2,15 +2,15 @@ require "ffi"
|
|
2
2
|
|
3
3
|
module Appsignal
|
4
4
|
class Extension
|
5
|
-
#
|
5
|
+
# JRuby extension wrapper
|
6
6
|
#
|
7
|
-
# Only loaded if the system is detected as
|
7
|
+
# Only loaded if the system is detected as JRuby.
|
8
8
|
#
|
9
9
|
# @api private
|
10
10
|
module Jruby # rubocop:disable Metrics/ModuleLength
|
11
11
|
extend FFI::Library
|
12
12
|
|
13
|
-
#
|
13
|
+
# JRuby extension String helpers.
|
14
14
|
#
|
15
15
|
# Based on the make_appsignal_string and make_ruby_string helpers from the
|
16
16
|
# AppSignal C-extension in `ext/appsignal_extension.c`.
|
data/lib/appsignal/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
@@ -90,7 +90,7 @@ RSpec.configure do |config|
|
|
90
90
|
appsignal_key_prefixes = %w[APPSIGNAL_ _APPSIGNAL_]
|
91
91
|
env_keys = ENV.keys.select { |key| key.start_with?(*appsignal_key_prefixes) }
|
92
92
|
# Always unset the diagnose variable
|
93
|
-
# For normal Ruby this is unset in the diagnose task itself, but the
|
93
|
+
# For normal Ruby this is unset in the diagnose task itself, but the JRuby
|
94
94
|
# bug requires us to unset it using the method below as well. It's not
|
95
95
|
# present in the ENV keys list because it's already cleared in Ruby itself
|
96
96
|
# in the diagnose task, so add it manually to the list of to-be cleaned up
|
@@ -98,7 +98,7 @@ RSpec.configure do |config|
|
|
98
98
|
env_keys << "_APPSIGNAL_DIAGNOSE"
|
99
99
|
env_keys.each do |key|
|
100
100
|
# First set the ENV var to an empty string and then delete the key from
|
101
|
-
# the env. We set the env var to an empty string first as
|
101
|
+
# the env. We set the env var to an empty string first as JRuby doesn't
|
102
102
|
# sync `delete` calls to extensions, making our extension think the env
|
103
103
|
# var is still set after calling `ENV.delete`. Setting it to an empty
|
104
104
|
# string will sort of unset it, our extension ignores env vars with an
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appsignal
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.5.
|
4
|
+
version: 2.5.1.beta.1
|
5
5
|
platform: java
|
6
6
|
authors:
|
7
7
|
- Robert Beekman
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2018-02-
|
12
|
+
date: 2018-02-19 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rack
|
@@ -371,12 +371,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
371
371
|
version: '1.9'
|
372
372
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
373
373
|
requirements:
|
374
|
-
- - "
|
374
|
+
- - ">"
|
375
375
|
- !ruby/object:Gem::Version
|
376
|
-
version:
|
376
|
+
version: 1.3.1
|
377
377
|
requirements: []
|
378
378
|
rubyforge_project:
|
379
|
-
rubygems_version: 2.
|
379
|
+
rubygems_version: 2.7.6
|
380
380
|
signing_key:
|
381
381
|
specification_version: 4
|
382
382
|
summary: Logs performance and exception data from your app to appsignal.com
|