appsignal 3.4.6 → 3.4.8

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: b2ca2df33b93d5de3deda35c427430f86c701e811c1e00a340d8a02e956fbb77
4
- data.tar.gz: 69d319fa4870d64c3e54bb78f12c643934bb0a17c20145dcc373b52defcea554
3
+ metadata.gz: 54fdd8b2a084c44b982733d9092c8261a92ef41b8aa1da2f720ab5fd2a121d0c
4
+ data.tar.gz: 620c8506a36a6a54a7cdf3666134df9c1eeabc755801cd575121f3f72886ae93
5
5
  SHA512:
6
- metadata.gz: 5791a6df017a1c54ce7631bbe61042150d500028dee4eda3f85d94c339c5c0728d103ece2586ed0cff2c45d8983de3e7ee1512a0b9221bd75db76e042a851f05
7
- data.tar.gz: e23e971908c575908983bd7f16ed6321f559799af5e6442766208532a117722dc51d245b11d723a08a22e348b18cbec6f2911f52abe598df87be24cc2aea1743
6
+ metadata.gz: 268a3f028f4dce2f02e7351a8202c233062f69900f2506e4baa408d1f07bfc9b51315cdc35c7b746baf5a657ad7c893999c8ed9d9246f9ec6f9c4f597dee55c8
7
+ data.tar.gz: 4cc40d1f68a9b58b8c70d2b8d4563eba367ca4d1d1f12c6175edd96ea5c52227fa2e9300dda893542037d189752690edba1eeca901bd6e874fedcb10c67913d5
data/.gitignore CHANGED
@@ -24,6 +24,7 @@ gemfiles/*.lock
24
24
  bundle_and_spec_all_*
25
25
  ext/libappsignal.*
26
26
  ext/appsignal-agent
27
+ ext/._appsignal-agent
27
28
  ext/appsignal.h
28
29
  ext/appsignal.version
29
30
  ext/Makefile
data/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # AppSignal for Ruby gem Changelog
2
2
 
3
+ ## 3.4.8
4
+
5
+ ### Added
6
+
7
+ - [5ddde58b](https://github.com/appsignal/appsignal-ruby/commit/5ddde58bb492984626d2dbddb292cecdfc225576) patch - Allow configuration of the agent's TCP and UDP servers using the `bind_address` config option. This is by default set to `127.0.0.1`, which only makes it accessible from the same host. If you want it to be accessible from other machines, use `0.0.0.0` or a specific IP address.
8
+ - [74583d26](https://github.com/appsignal/appsignal-ruby/commit/74583d26147e3ec386cdefbd4653abbe805ded96) patch - Report total CPU usage host metric for VMs. This change adds another `state` tag value on the `cpu` metric called `total_usage`, which reports the VM's total CPU usage in percentages.
9
+
10
+ ## 3.4.7
11
+
12
+ ### Added
13
+
14
+ - [46735abb](https://github.com/appsignal/appsignal-ruby/commit/46735abb0d0c43df2c923b36f80549b8322ae4f6) patch - Use `RENDER_GIT_COMMIT` environment variable as revision if no revision is specified.
15
+
16
+ ### Changed
17
+
18
+ - [86856aae](https://github.com/appsignal/appsignal-ruby/commit/86856aae7c16dc13854229d43c7369ec69ced18e) patch - Bump agent to 32590eb.
19
+
20
+ - Only ignore disk metrics that start with "loop", not all mounted disks that end with a number to report metrics for more disks.
21
+
3
22
  ## 3.4.6
4
23
 
5
24
  ### Changed
data/ext/agent.rb CHANGED
@@ -6,7 +6,7 @@
6
6
  # Modifications to this file will be overwritten with the next agent release.
7
7
 
8
8
  APPSIGNAL_AGENT_CONFIG = {
9
- "version" => "fd8ee9e",
9
+ "version" => "ceaca3b",
10
10
  "mirrors" => [
11
11
  "https://appsignal-agent-releases.global.ssl.fastly.net",
12
12
  "https://d135dj0rjqvssy.cloudfront.net"
@@ -14,131 +14,131 @@ APPSIGNAL_AGENT_CONFIG = {
14
14
  "triples" => {
15
15
  "x86_64-darwin" => {
16
16
  "static" => {
17
- "checksum" => "38731cb50e31377053618cd3687ab99d10cc991171b73ea81a40aab49d415fe1",
17
+ "checksum" => "00f1b2c0b79827ce1abb751005221c4852787ca1804ebcd7e2634714d146ffe0",
18
18
  "filename" => "appsignal-x86_64-darwin-all-static.tar.gz"
19
19
  },
20
20
  "dynamic" => {
21
- "checksum" => "d86f34a30a2cfc613f3af9bd84ddec0955af0644204cc394e0141860b201506a",
21
+ "checksum" => "9aed6c7268caf2b2fb33e8dc241f499089a68aaaab18c270a606a22c8afcad55",
22
22
  "filename" => "appsignal-x86_64-darwin-all-dynamic.tar.gz"
23
23
  }
24
24
  },
25
25
  "universal-darwin" => {
26
26
  "static" => {
27
- "checksum" => "38731cb50e31377053618cd3687ab99d10cc991171b73ea81a40aab49d415fe1",
27
+ "checksum" => "00f1b2c0b79827ce1abb751005221c4852787ca1804ebcd7e2634714d146ffe0",
28
28
  "filename" => "appsignal-x86_64-darwin-all-static.tar.gz"
29
29
  },
30
30
  "dynamic" => {
31
- "checksum" => "d86f34a30a2cfc613f3af9bd84ddec0955af0644204cc394e0141860b201506a",
31
+ "checksum" => "9aed6c7268caf2b2fb33e8dc241f499089a68aaaab18c270a606a22c8afcad55",
32
32
  "filename" => "appsignal-x86_64-darwin-all-dynamic.tar.gz"
33
33
  }
34
34
  },
35
35
  "aarch64-darwin" => {
36
36
  "static" => {
37
- "checksum" => "ee791758b84b56ce01482c1c3f65db926457558275f22673442e19a4e9b9c43e",
37
+ "checksum" => "e9195d0aa4e22214eeb2dcb54651014db09f2b84f5f5ef41f6c7fcddb9b58384",
38
38
  "filename" => "appsignal-aarch64-darwin-all-static.tar.gz"
39
39
  },
40
40
  "dynamic" => {
41
- "checksum" => "99bbb1d7072849196b7581abf3fbe8e060b6a794a868302988d38eb049b42352",
41
+ "checksum" => "031c9ed8449f4ebb24ebb50861b76162f10c9f371f163d86a48a6bc695a1a4ba",
42
42
  "filename" => "appsignal-aarch64-darwin-all-dynamic.tar.gz"
43
43
  }
44
44
  },
45
45
  "arm64-darwin" => {
46
46
  "static" => {
47
- "checksum" => "ee791758b84b56ce01482c1c3f65db926457558275f22673442e19a4e9b9c43e",
47
+ "checksum" => "e9195d0aa4e22214eeb2dcb54651014db09f2b84f5f5ef41f6c7fcddb9b58384",
48
48
  "filename" => "appsignal-aarch64-darwin-all-static.tar.gz"
49
49
  },
50
50
  "dynamic" => {
51
- "checksum" => "99bbb1d7072849196b7581abf3fbe8e060b6a794a868302988d38eb049b42352",
51
+ "checksum" => "031c9ed8449f4ebb24ebb50861b76162f10c9f371f163d86a48a6bc695a1a4ba",
52
52
  "filename" => "appsignal-aarch64-darwin-all-dynamic.tar.gz"
53
53
  }
54
54
  },
55
55
  "arm-darwin" => {
56
56
  "static" => {
57
- "checksum" => "ee791758b84b56ce01482c1c3f65db926457558275f22673442e19a4e9b9c43e",
57
+ "checksum" => "e9195d0aa4e22214eeb2dcb54651014db09f2b84f5f5ef41f6c7fcddb9b58384",
58
58
  "filename" => "appsignal-aarch64-darwin-all-static.tar.gz"
59
59
  },
60
60
  "dynamic" => {
61
- "checksum" => "99bbb1d7072849196b7581abf3fbe8e060b6a794a868302988d38eb049b42352",
61
+ "checksum" => "031c9ed8449f4ebb24ebb50861b76162f10c9f371f163d86a48a6bc695a1a4ba",
62
62
  "filename" => "appsignal-aarch64-darwin-all-dynamic.tar.gz"
63
63
  }
64
64
  },
65
65
  "aarch64-linux" => {
66
66
  "static" => {
67
- "checksum" => "65ccb3ed4fdc7f55671ca4ff04beaa97bb01835e0f30b6a5f2e02dbe8b5c31f4",
67
+ "checksum" => "d568c447595d5a46b726c09c44c66a28153bb85b843d9f915e755de60d2cc797",
68
68
  "filename" => "appsignal-aarch64-linux-all-static.tar.gz"
69
69
  },
70
70
  "dynamic" => {
71
- "checksum" => "2dfd4991a4607d5a240d8c46e8449e7dc979ed07155519cb60b840ac264e1daa",
71
+ "checksum" => "3884412af9f537b641113cb84e1b534e07289baadf5691cd3f4877fc4cd05896",
72
72
  "filename" => "appsignal-aarch64-linux-all-dynamic.tar.gz"
73
73
  }
74
74
  },
75
75
  "i686-linux" => {
76
76
  "static" => {
77
- "checksum" => "849d2a2ff27814961e1ce9183877a0aedda263f538b0dbfa5e17357e2af00ba4",
77
+ "checksum" => "4a8135e861ef8dd347ada22fa1fc993d1c5ba5db7f9f043a38fb9891c57368a5",
78
78
  "filename" => "appsignal-i686-linux-all-static.tar.gz"
79
79
  },
80
80
  "dynamic" => {
81
- "checksum" => "3d5f513d9e6a98a2619b798ead5edeef232654eefa1dabe55930acc662bc69b1",
81
+ "checksum" => "baf3941d9913f8b348bb4fce01c7638f6e0a112a8cc788889b081f141949a643",
82
82
  "filename" => "appsignal-i686-linux-all-dynamic.tar.gz"
83
83
  }
84
84
  },
85
85
  "x86-linux" => {
86
86
  "static" => {
87
- "checksum" => "849d2a2ff27814961e1ce9183877a0aedda263f538b0dbfa5e17357e2af00ba4",
87
+ "checksum" => "4a8135e861ef8dd347ada22fa1fc993d1c5ba5db7f9f043a38fb9891c57368a5",
88
88
  "filename" => "appsignal-i686-linux-all-static.tar.gz"
89
89
  },
90
90
  "dynamic" => {
91
- "checksum" => "3d5f513d9e6a98a2619b798ead5edeef232654eefa1dabe55930acc662bc69b1",
91
+ "checksum" => "baf3941d9913f8b348bb4fce01c7638f6e0a112a8cc788889b081f141949a643",
92
92
  "filename" => "appsignal-i686-linux-all-dynamic.tar.gz"
93
93
  }
94
94
  },
95
95
  "x86_64-linux" => {
96
96
  "static" => {
97
- "checksum" => "907889dbc50c5f670c1edce503b6f1cdacc52127217611df56b4913137e814f1",
97
+ "checksum" => "4a22f454e5c125cd24436ad331d53df965394be81272c8ab366a2e6ea5f02625",
98
98
  "filename" => "appsignal-x86_64-linux-all-static.tar.gz"
99
99
  },
100
100
  "dynamic" => {
101
- "checksum" => "7b4ef01a26aec35d892f4c89ac246b0e44d22f8e75b4fb60ed82d458f00e0a71",
101
+ "checksum" => "a49e8d8700b64f6aeb06c074cb628ed99d3d57662a52029f5409f8b51e185c4f",
102
102
  "filename" => "appsignal-x86_64-linux-all-dynamic.tar.gz"
103
103
  }
104
104
  },
105
105
  "x86_64-linux-musl" => {
106
106
  "static" => {
107
- "checksum" => "f4b26fbee43be4bf15033cd3594d8a79d5cd73a95aa62e1949e3a0836345af03",
107
+ "checksum" => "d770f78f9f87d3b5b01a93f0e3f0dffc36a4f8bd664ce37574fd0671276d4d8b",
108
108
  "filename" => "appsignal-x86_64-linux-musl-all-static.tar.gz"
109
109
  },
110
110
  "dynamic" => {
111
- "checksum" => "b7e0885ce6a19c42781b36c7876e729320df16492630972b47a12096333d9e46",
111
+ "checksum" => "1f018b072fca2234b7f8c9bdc0ae26a93826ddf3d715a1107c24b9e98a0e01d9",
112
112
  "filename" => "appsignal-x86_64-linux-musl-all-dynamic.tar.gz"
113
113
  }
114
114
  },
115
115
  "aarch64-linux-musl" => {
116
116
  "static" => {
117
- "checksum" => "d316c1a6a92963ba88c1c578a070eba505e1a466e3af768362122d935af31ccd",
117
+ "checksum" => "ef4838e0cd3e43d0cc138e0eb6b78b7cf1f29244daa8379bb30c47b1497f5570",
118
118
  "filename" => "appsignal-aarch64-linux-musl-all-static.tar.gz"
119
119
  },
120
120
  "dynamic" => {
121
- "checksum" => "fcfcfc277e44b87057221e34813146f614a3509128fcd3fe7bc9d8eaf7959a2c",
121
+ "checksum" => "1bac2cce3dcde3e17174f56c7db149b69a347c0d40723c6555a292425fab41e0",
122
122
  "filename" => "appsignal-aarch64-linux-musl-all-dynamic.tar.gz"
123
123
  }
124
124
  },
125
125
  "x86_64-freebsd" => {
126
126
  "static" => {
127
- "checksum" => "c2d8f903e683ce77f608d7e8d1eadc98a0fd29d19f07110e04cc73c5d2cb887c",
127
+ "checksum" => "f1730afd98b48f3fa938fd07b27dc470e7dcd3f8d2e72a7a0fc2a4b080461f5b",
128
128
  "filename" => "appsignal-x86_64-freebsd-all-static.tar.gz"
129
129
  },
130
130
  "dynamic" => {
131
- "checksum" => "7d07f06c7a1d86b78cc134213f1c797f1fab4454c274e1e148764f145e1ec30a",
131
+ "checksum" => "e7760c461ed4930983fe6b07a954c7ffa42c63ef627890c246eb2c4fb63bca84",
132
132
  "filename" => "appsignal-x86_64-freebsd-all-dynamic.tar.gz"
133
133
  }
134
134
  },
135
135
  "amd64-freebsd" => {
136
136
  "static" => {
137
- "checksum" => "c2d8f903e683ce77f608d7e8d1eadc98a0fd29d19f07110e04cc73c5d2cb887c",
137
+ "checksum" => "f1730afd98b48f3fa938fd07b27dc470e7dcd3f8d2e72a7a0fc2a4b080461f5b",
138
138
  "filename" => "appsignal-x86_64-freebsd-all-static.tar.gz"
139
139
  },
140
140
  "dynamic" => {
141
- "checksum" => "7d07f06c7a1d86b78cc134213f1c797f1fab4454c274e1e148764f145e1ec30a",
141
+ "checksum" => "e7760c461ed4930983fe6b07a954c7ffa42c63ef627890c246eb2c4fb63bca84",
142
142
  "filename" => "appsignal-x86_64-freebsd-all-dynamic.tar.gz"
143
143
  }
144
144
  }
@@ -66,6 +66,7 @@ module Appsignal
66
66
  ENV_TO_KEY_MAPPING = {
67
67
  "APPSIGNAL_ACTIVE" => :active,
68
68
  "APPSIGNAL_APP_NAME" => :name,
69
+ "APPSIGNAL_BIND_ADDRESS" => :bind_address,
69
70
  "APPSIGNAL_CA_FILE_PATH" => :ca_file_path,
70
71
  "APPSIGNAL_DEBUG" => :debug,
71
72
  "APPSIGNAL_DNS_SERVERS" => :dns_servers,
@@ -111,6 +112,7 @@ module Appsignal
111
112
  # @api private
112
113
  ENV_STRING_KEYS = %w[
113
114
  APPSIGNAL_APP_NAME
115
+ APPSIGNAL_BIND_ADDRESS
114
116
  APPSIGNAL_CA_FILE_PATH
115
117
  APPSIGNAL_HOSTNAME
116
118
  APPSIGNAL_HTTP_PROXY
@@ -323,6 +325,7 @@ module Appsignal
323
325
  ENV["_APPSIGNAL_AGENT_PATH"] = File.expand_path("../../ext", __dir__).to_s
324
326
  ENV["_APPSIGNAL_APP_NAME"] = config_hash[:name]
325
327
  ENV["_APPSIGNAL_APP_PATH"] = root_path.to_s
328
+ ENV["_APPSIGNAL_BIND_ADDRESS"] = config_hash[:bind_address].to_s
326
329
  ENV["_APPSIGNAL_CA_FILE_PATH"] = config_hash[:ca_file_path].to_s
327
330
  ENV["_APPSIGNAL_DEBUG_LOGGING"] = config_hash[:debug].to_s
328
331
  ENV["_APPSIGNAL_DNS_SERVERS"] = config_hash[:dns_servers].join(",")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Appsignal
4
- VERSION = "3.4.6"
4
+ VERSION = "3.4.8"
5
5
  end
@@ -383,6 +383,7 @@ describe Appsignal::Config do
383
383
  :running_in_container => true,
384
384
  :push_api_key => "aaa-bbb-ccc",
385
385
  :active => true,
386
+ :bind_address => "0.0.0.0",
386
387
  :name => "App name",
387
388
  :debug => true,
388
389
  :dns_servers => ["8.8.8.8", "8.8.4.4"],
@@ -404,6 +405,7 @@ describe Appsignal::Config do
404
405
  ENV["APPSIGNAL_PUSH_API_KEY"] = "aaa-bbb-ccc"
405
406
  ENV["APPSIGNAL_ACTIVE"] = "true"
406
407
  ENV["APPSIGNAL_APP_NAME"] = "App name"
408
+ ENV["APPSIGNAL_BIND_ADDRESS"] = "0.0.0.0"
407
409
  ENV["APPSIGNAL_DEBUG"] = "true"
408
410
  ENV["APPSIGNAL_DNS_SERVERS"] = "8.8.8.8,8.8.4.4"
409
411
  ENV["APPSIGNAL_IGNORE_ACTIONS"] = "action1,action2"
@@ -598,6 +600,7 @@ describe Appsignal::Config do
598
600
  describe "#write_to_environment" do
599
601
  let(:config) { project_fixture_config(:production) }
600
602
  before do
603
+ config[:bind_address] = "0.0.0.0"
601
604
  config[:logging_endpoint] = "http://localhost:123"
602
605
  config[:http_proxy] = "http://localhost"
603
606
  config[:ignore_actions] = %w[action1 action2]
@@ -620,6 +623,7 @@ describe Appsignal::Config do
620
623
  expect(ENV.fetch("_APPSIGNAL_APP_PATH", nil))
621
624
  .to end_with("spec/support/fixtures/projects/valid")
622
625
  expect(ENV.fetch("_APPSIGNAL_AGENT_PATH", nil)).to end_with("/ext")
626
+ expect(ENV.fetch("_APPSIGNAL_BIND_ADDRESS", nil)).to eq("0.0.0.0")
623
627
  expect(ENV.fetch("_APPSIGNAL_DEBUG_LOGGING", nil)).to eq "false"
624
628
  expect(ENV.fetch("_APPSIGNAL_LOG", nil)).to eq "stdout"
625
629
  expect(ENV.fetch("_APPSIGNAL_LOG_FILE_PATH", nil)).to end_with("/tmp/appsignal.log")
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: 3.4.6
4
+ version: 3.4.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robert Beekman
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2023-07-03 00:00:00.000000000 Z
13
+ date: 2023-07-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rack
@@ -153,7 +153,6 @@ files:
153
153
  - benchmark.rake
154
154
  - bin/appsignal
155
155
  - build_matrix.yml
156
- - ext/._appsignal-agent
157
156
  - ext/Rakefile
158
157
  - ext/agent.rb
159
158
  - ext/appsignal_extension.c
@@ -439,7 +438,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
439
438
  - !ruby/object:Gem::Version
440
439
  version: '0'
441
440
  requirements: []
442
- rubygems_version: 3.3.7
441
+ rubygems_version: 3.4.15
443
442
  signing_key:
444
443
  specification_version: 4
445
444
  summary: Logs performance and exception data from your app to appsignal.com
Binary file