appsignal 3.6.5 → 3.7.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 +4 -4
- data/.semaphore/semaphore.yml +417 -0
- data/CHANGELOG.md +57 -0
- data/build_matrix.yml +8 -0
- data/ext/agent.rb +27 -27
- data/ext/base.rb +3 -0
- data/lib/appsignal/config.rb +20 -7
- data/lib/appsignal/event_formatter.rb +0 -2
- data/lib/appsignal/heartbeat.rb +71 -0
- data/lib/appsignal/helpers/instrumentation.rb +5 -5
- data/lib/appsignal/helpers/metrics.rb +2 -2
- data/lib/appsignal/hooks/gvl.rb +1 -1
- data/lib/appsignal/hooks/mri.rb +1 -1
- data/lib/appsignal/hooks/sidekiq.rb +1 -1
- data/lib/appsignal/hooks.rb +1 -1
- data/lib/appsignal/integrations/railtie.rb +1 -1
- data/lib/appsignal/probes.rb +268 -0
- data/lib/appsignal/utils/stdout_and_logger_message.rb +17 -0
- data/lib/appsignal/utils.rb +1 -1
- data/lib/appsignal/version.rb +1 -1
- data/lib/appsignal.rb +24 -4
- data/spec/lib/appsignal/config_spec.rb +37 -10
- data/spec/lib/appsignal/heartbeat_spec.rb +89 -0
- data/spec/lib/appsignal/hooks/gvl_spec.rb +1 -1
- data/spec/lib/appsignal/hooks/mri_spec.rb +1 -1
- data/spec/lib/appsignal/hooks/puma_spec.rb +1 -1
- data/spec/lib/appsignal/{minutely_spec.rb → probes_spec.rb} +206 -57
- data/spec/lib/appsignal_spec.rb +31 -5
- data/spec/lib/puma/appsignal_spec.rb +8 -2
- data/spec/spec_helper.rb +2 -2
- metadata +7 -6
- data/lib/appsignal/minutely.rb +0 -206
- data/lib/appsignal/utils/deprecation_message.rb +0 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a2436d053b0117c1bf51f5d8522e679d27767e214adc6ee697bc97dd3d52da37
|
4
|
+
data.tar.gz: c7b979cedcdf09c44cca9181974cb7f6611c12789b8cdae8aa55fc2eabc4e512
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 34212adfd1baca988ed94ccbd416bd9cb08156de2165ccaafda7779f01e6f5ecfc3c5b078d31323c5912628366383ae0d8e3b9723837682aeae5e2605d09f913
|
7
|
+
data.tar.gz: 52f06def120af6c2a3dc6ecd66f3ac6632f7ae4b26fc432905db18910726b4faf03b9d0e1d5f136594a77f843018a395d5f0ffe86a2aec934fccadc7f800e6cc
|
data/.semaphore/semaphore.yml
CHANGED
@@ -1799,6 +1799,423 @@ blocks:
|
|
1799
1799
|
value: latest
|
1800
1800
|
commands:
|
1801
1801
|
- "./support/bundler_wrapper exec rake test"
|
1802
|
+
- name: Ruby 3.3.1
|
1803
|
+
dependencies:
|
1804
|
+
- Validation
|
1805
|
+
task:
|
1806
|
+
prologue:
|
1807
|
+
commands:
|
1808
|
+
- cache restore $_BUNDLER_CACHE-bundler-$RUBY_VERSION-$GEMSET-$(checksum $BUNDLE_GEMFILE)-$(checksum
|
1809
|
+
appsignal.gemspec)
|
1810
|
+
- cache restore $_GEMS_CACHE-gems-$RUBY_VERSION-$(checksum $BUNDLE_GEMFILE)-$(checksum
|
1811
|
+
appsignal.gemspec)
|
1812
|
+
- "./support/install_deps"
|
1813
|
+
- bundle config set clean 'true'
|
1814
|
+
- "./support/bundler_wrapper install --jobs=3 --retry=3"
|
1815
|
+
- "./support/bundler_wrapper exec rake extension:install"
|
1816
|
+
- "[ -e ext/install.report ] && cat ext/install.report || echo 'No ext/install.report
|
1817
|
+
file found'"
|
1818
|
+
- "[ -f ext/mkmf.log ] && cat ext/mkmf.log || echo 'No ext/mkmf.log file found'"
|
1819
|
+
epilogue: *1
|
1820
|
+
jobs:
|
1821
|
+
- name: Ruby 3.3.1 for no_dependencies
|
1822
|
+
env_vars:
|
1823
|
+
- *2
|
1824
|
+
- *3
|
1825
|
+
- *4
|
1826
|
+
- *5
|
1827
|
+
- name: RUBY_VERSION
|
1828
|
+
value: 3.3.1
|
1829
|
+
- name: GEMSET
|
1830
|
+
value: no_dependencies
|
1831
|
+
- name: BUNDLE_GEMFILE
|
1832
|
+
value: gemfiles/no_dependencies.gemfile
|
1833
|
+
- name: _RUBYGEMS_VERSION
|
1834
|
+
value: latest
|
1835
|
+
- name: _BUNDLER_VERSION
|
1836
|
+
value: latest
|
1837
|
+
commands:
|
1838
|
+
- "./support/bundler_wrapper exec rake test"
|
1839
|
+
- "./support/bundler_wrapper exec rake test:failure"
|
1840
|
+
- name: Ruby 3.3.1 - Gems
|
1841
|
+
dependencies:
|
1842
|
+
- Ruby 3.3.1
|
1843
|
+
task:
|
1844
|
+
prologue:
|
1845
|
+
commands:
|
1846
|
+
- cache restore $_BUNDLER_CACHE-bundler-$RUBY_VERSION-$GEMSET-$(checksum $BUNDLE_GEMFILE)-$(checksum
|
1847
|
+
appsignal.gemspec)
|
1848
|
+
- cache restore $_GEMS_CACHE-gems-$RUBY_VERSION-$(checksum $BUNDLE_GEMFILE)-$(checksum
|
1849
|
+
appsignal.gemspec)
|
1850
|
+
- "./support/install_deps"
|
1851
|
+
- bundle config set clean 'true'
|
1852
|
+
- "./support/bundler_wrapper install --jobs=3 --retry=3"
|
1853
|
+
- "./support/bundler_wrapper exec rake extension:install"
|
1854
|
+
- "[ -e ext/install.report ] && cat ext/install.report || echo 'No ext/install.report
|
1855
|
+
file found'"
|
1856
|
+
- "[ -f ext/mkmf.log ] && cat ext/mkmf.log || echo 'No ext/mkmf.log file found'"
|
1857
|
+
epilogue: *1
|
1858
|
+
jobs:
|
1859
|
+
- name: Ruby 3.3.1 for capistrano2
|
1860
|
+
env_vars:
|
1861
|
+
- *2
|
1862
|
+
- *3
|
1863
|
+
- *4
|
1864
|
+
- *5
|
1865
|
+
- name: RUBY_VERSION
|
1866
|
+
value: 3.3.1
|
1867
|
+
- name: GEMSET
|
1868
|
+
value: capistrano2
|
1869
|
+
- name: BUNDLE_GEMFILE
|
1870
|
+
value: gemfiles/capistrano2.gemfile
|
1871
|
+
- name: _RUBYGEMS_VERSION
|
1872
|
+
value: latest
|
1873
|
+
- name: _BUNDLER_VERSION
|
1874
|
+
value: latest
|
1875
|
+
commands:
|
1876
|
+
- "./support/bundler_wrapper exec rake test"
|
1877
|
+
- name: Ruby 3.3.1 for capistrano3
|
1878
|
+
env_vars:
|
1879
|
+
- *2
|
1880
|
+
- *3
|
1881
|
+
- *4
|
1882
|
+
- *5
|
1883
|
+
- name: RUBY_VERSION
|
1884
|
+
value: 3.3.1
|
1885
|
+
- name: GEMSET
|
1886
|
+
value: capistrano3
|
1887
|
+
- name: BUNDLE_GEMFILE
|
1888
|
+
value: gemfiles/capistrano3.gemfile
|
1889
|
+
- name: _RUBYGEMS_VERSION
|
1890
|
+
value: latest
|
1891
|
+
- name: _BUNDLER_VERSION
|
1892
|
+
value: latest
|
1893
|
+
commands:
|
1894
|
+
- "./support/bundler_wrapper exec rake test"
|
1895
|
+
- name: Ruby 3.3.1 for dry-monitor
|
1896
|
+
env_vars:
|
1897
|
+
- *2
|
1898
|
+
- *3
|
1899
|
+
- *4
|
1900
|
+
- *5
|
1901
|
+
- name: RUBY_VERSION
|
1902
|
+
value: 3.3.1
|
1903
|
+
- name: GEMSET
|
1904
|
+
value: dry-monitor
|
1905
|
+
- name: BUNDLE_GEMFILE
|
1906
|
+
value: gemfiles/dry-monitor.gemfile
|
1907
|
+
- name: _RUBYGEMS_VERSION
|
1908
|
+
value: latest
|
1909
|
+
- name: _BUNDLER_VERSION
|
1910
|
+
value: latest
|
1911
|
+
commands:
|
1912
|
+
- "./support/bundler_wrapper exec rake test"
|
1913
|
+
- name: Ruby 3.3.1 for grape
|
1914
|
+
env_vars:
|
1915
|
+
- *2
|
1916
|
+
- *3
|
1917
|
+
- *4
|
1918
|
+
- *5
|
1919
|
+
- name: RUBY_VERSION
|
1920
|
+
value: 3.3.1
|
1921
|
+
- name: GEMSET
|
1922
|
+
value: grape
|
1923
|
+
- name: BUNDLE_GEMFILE
|
1924
|
+
value: gemfiles/grape.gemfile
|
1925
|
+
- name: _RUBYGEMS_VERSION
|
1926
|
+
value: latest
|
1927
|
+
- name: _BUNDLER_VERSION
|
1928
|
+
value: latest
|
1929
|
+
commands:
|
1930
|
+
- "./support/bundler_wrapper exec rake test"
|
1931
|
+
- name: Ruby 3.3.1 for hanami
|
1932
|
+
env_vars:
|
1933
|
+
- *2
|
1934
|
+
- *3
|
1935
|
+
- *4
|
1936
|
+
- *5
|
1937
|
+
- name: RUBY_VERSION
|
1938
|
+
value: 3.3.1
|
1939
|
+
- name: GEMSET
|
1940
|
+
value: hanami
|
1941
|
+
- name: BUNDLE_GEMFILE
|
1942
|
+
value: gemfiles/hanami.gemfile
|
1943
|
+
- name: _RUBYGEMS_VERSION
|
1944
|
+
value: latest
|
1945
|
+
- name: _BUNDLER_VERSION
|
1946
|
+
value: latest
|
1947
|
+
commands:
|
1948
|
+
- "./support/bundler_wrapper exec rake test"
|
1949
|
+
- name: Ruby 3.3.1 for http5
|
1950
|
+
env_vars:
|
1951
|
+
- *2
|
1952
|
+
- *3
|
1953
|
+
- *4
|
1954
|
+
- *5
|
1955
|
+
- name: RUBY_VERSION
|
1956
|
+
value: 3.3.1
|
1957
|
+
- name: GEMSET
|
1958
|
+
value: http5
|
1959
|
+
- name: BUNDLE_GEMFILE
|
1960
|
+
value: gemfiles/http5.gemfile
|
1961
|
+
- name: _RUBYGEMS_VERSION
|
1962
|
+
value: latest
|
1963
|
+
- name: _BUNDLER_VERSION
|
1964
|
+
value: latest
|
1965
|
+
commands:
|
1966
|
+
- "./support/bundler_wrapper exec rake test"
|
1967
|
+
- name: Ruby 3.3.1 for padrino
|
1968
|
+
env_vars:
|
1969
|
+
- *2
|
1970
|
+
- *3
|
1971
|
+
- *4
|
1972
|
+
- *5
|
1973
|
+
- name: RUBY_VERSION
|
1974
|
+
value: 3.3.1
|
1975
|
+
- name: GEMSET
|
1976
|
+
value: padrino
|
1977
|
+
- name: BUNDLE_GEMFILE
|
1978
|
+
value: gemfiles/padrino.gemfile
|
1979
|
+
- name: _RUBYGEMS_VERSION
|
1980
|
+
value: latest
|
1981
|
+
- name: _BUNDLER_VERSION
|
1982
|
+
value: latest
|
1983
|
+
commands:
|
1984
|
+
- "./support/bundler_wrapper exec rake test"
|
1985
|
+
- name: Ruby 3.3.1 for psych-3
|
1986
|
+
env_vars:
|
1987
|
+
- *2
|
1988
|
+
- *3
|
1989
|
+
- *4
|
1990
|
+
- *5
|
1991
|
+
- name: RUBY_VERSION
|
1992
|
+
value: 3.3.1
|
1993
|
+
- name: GEMSET
|
1994
|
+
value: psych-3
|
1995
|
+
- name: BUNDLE_GEMFILE
|
1996
|
+
value: gemfiles/psych-3.gemfile
|
1997
|
+
- name: _RUBYGEMS_VERSION
|
1998
|
+
value: latest
|
1999
|
+
- name: _BUNDLER_VERSION
|
2000
|
+
value: latest
|
2001
|
+
commands:
|
2002
|
+
- "./support/bundler_wrapper exec rake test"
|
2003
|
+
- name: Ruby 3.3.1 for psych-4
|
2004
|
+
env_vars:
|
2005
|
+
- *2
|
2006
|
+
- *3
|
2007
|
+
- *4
|
2008
|
+
- *5
|
2009
|
+
- name: RUBY_VERSION
|
2010
|
+
value: 3.3.1
|
2011
|
+
- name: GEMSET
|
2012
|
+
value: psych-4
|
2013
|
+
- name: BUNDLE_GEMFILE
|
2014
|
+
value: gemfiles/psych-4.gemfile
|
2015
|
+
- name: _RUBYGEMS_VERSION
|
2016
|
+
value: latest
|
2017
|
+
- name: _BUNDLER_VERSION
|
2018
|
+
value: latest
|
2019
|
+
commands:
|
2020
|
+
- "./support/bundler_wrapper exec rake test"
|
2021
|
+
- name: Ruby 3.3.1 for que
|
2022
|
+
env_vars:
|
2023
|
+
- *2
|
2024
|
+
- *3
|
2025
|
+
- *4
|
2026
|
+
- *5
|
2027
|
+
- name: RUBY_VERSION
|
2028
|
+
value: 3.3.1
|
2029
|
+
- name: GEMSET
|
2030
|
+
value: que
|
2031
|
+
- name: BUNDLE_GEMFILE
|
2032
|
+
value: gemfiles/que.gemfile
|
2033
|
+
- name: _RUBYGEMS_VERSION
|
2034
|
+
value: latest
|
2035
|
+
- name: _BUNDLER_VERSION
|
2036
|
+
value: latest
|
2037
|
+
commands:
|
2038
|
+
- "./support/bundler_wrapper exec rake test"
|
2039
|
+
- name: Ruby 3.3.1 for que_beta
|
2040
|
+
env_vars:
|
2041
|
+
- *2
|
2042
|
+
- *3
|
2043
|
+
- *4
|
2044
|
+
- *5
|
2045
|
+
- name: RUBY_VERSION
|
2046
|
+
value: 3.3.1
|
2047
|
+
- name: GEMSET
|
2048
|
+
value: que_beta
|
2049
|
+
- name: BUNDLE_GEMFILE
|
2050
|
+
value: gemfiles/que_beta.gemfile
|
2051
|
+
- name: _RUBYGEMS_VERSION
|
2052
|
+
value: latest
|
2053
|
+
- name: _BUNDLER_VERSION
|
2054
|
+
value: latest
|
2055
|
+
commands:
|
2056
|
+
- "./support/bundler_wrapper exec rake test"
|
2057
|
+
- name: Ruby 3.3.1 for rails-6.1
|
2058
|
+
env_vars:
|
2059
|
+
- *2
|
2060
|
+
- *3
|
2061
|
+
- *4
|
2062
|
+
- *5
|
2063
|
+
- name: RUBY_VERSION
|
2064
|
+
value: 3.3.1
|
2065
|
+
- name: GEMSET
|
2066
|
+
value: rails-6.1
|
2067
|
+
- name: BUNDLE_GEMFILE
|
2068
|
+
value: gemfiles/rails-6.1.gemfile
|
2069
|
+
- name: _RUBYGEMS_VERSION
|
2070
|
+
value: latest
|
2071
|
+
- name: _BUNDLER_VERSION
|
2072
|
+
value: latest
|
2073
|
+
commands:
|
2074
|
+
- "./support/bundler_wrapper exec rake test"
|
2075
|
+
- name: Ruby 3.3.1 for rails-7.0
|
2076
|
+
env_vars:
|
2077
|
+
- *2
|
2078
|
+
- *3
|
2079
|
+
- *4
|
2080
|
+
- *5
|
2081
|
+
- name: RUBY_VERSION
|
2082
|
+
value: 3.3.1
|
2083
|
+
- name: GEMSET
|
2084
|
+
value: rails-7.0
|
2085
|
+
- name: BUNDLE_GEMFILE
|
2086
|
+
value: gemfiles/rails-7.0.gemfile
|
2087
|
+
- name: _RUBYGEMS_VERSION
|
2088
|
+
value: latest
|
2089
|
+
- name: _BUNDLER_VERSION
|
2090
|
+
value: latest
|
2091
|
+
commands:
|
2092
|
+
- "./support/bundler_wrapper exec rake test"
|
2093
|
+
- name: Ruby 3.3.1 for rails-7.1
|
2094
|
+
env_vars:
|
2095
|
+
- *2
|
2096
|
+
- *3
|
2097
|
+
- *4
|
2098
|
+
- *5
|
2099
|
+
- name: RUBY_VERSION
|
2100
|
+
value: 3.3.1
|
2101
|
+
- name: GEMSET
|
2102
|
+
value: rails-7.1
|
2103
|
+
- name: BUNDLE_GEMFILE
|
2104
|
+
value: gemfiles/rails-7.1.gemfile
|
2105
|
+
- name: _RUBYGEMS_VERSION
|
2106
|
+
value: latest
|
2107
|
+
- name: _BUNDLER_VERSION
|
2108
|
+
value: latest
|
2109
|
+
commands:
|
2110
|
+
- "./support/bundler_wrapper exec rake test"
|
2111
|
+
- name: Ruby 3.3.1 for sequel
|
2112
|
+
env_vars:
|
2113
|
+
- *2
|
2114
|
+
- *3
|
2115
|
+
- *4
|
2116
|
+
- *5
|
2117
|
+
- name: RUBY_VERSION
|
2118
|
+
value: 3.3.1
|
2119
|
+
- name: GEMSET
|
2120
|
+
value: sequel
|
2121
|
+
- name: BUNDLE_GEMFILE
|
2122
|
+
value: gemfiles/sequel.gemfile
|
2123
|
+
- name: _RUBYGEMS_VERSION
|
2124
|
+
value: latest
|
2125
|
+
- name: _BUNDLER_VERSION
|
2126
|
+
value: latest
|
2127
|
+
commands:
|
2128
|
+
- "./support/bundler_wrapper exec rake test"
|
2129
|
+
- name: Ruby 3.3.1 for sinatra
|
2130
|
+
env_vars:
|
2131
|
+
- *2
|
2132
|
+
- *3
|
2133
|
+
- *4
|
2134
|
+
- *5
|
2135
|
+
- name: RUBY_VERSION
|
2136
|
+
value: 3.3.1
|
2137
|
+
- name: GEMSET
|
2138
|
+
value: sinatra
|
2139
|
+
- name: BUNDLE_GEMFILE
|
2140
|
+
value: gemfiles/sinatra.gemfile
|
2141
|
+
- name: _RUBYGEMS_VERSION
|
2142
|
+
value: latest
|
2143
|
+
- name: _BUNDLER_VERSION
|
2144
|
+
value: latest
|
2145
|
+
commands:
|
2146
|
+
- "./support/bundler_wrapper exec rake test"
|
2147
|
+
- name: Ruby 3.3.1 for webmachine1
|
2148
|
+
env_vars:
|
2149
|
+
- *2
|
2150
|
+
- *3
|
2151
|
+
- *4
|
2152
|
+
- *5
|
2153
|
+
- name: RUBY_VERSION
|
2154
|
+
value: 3.3.1
|
2155
|
+
- name: GEMSET
|
2156
|
+
value: webmachine1
|
2157
|
+
- name: BUNDLE_GEMFILE
|
2158
|
+
value: gemfiles/webmachine1.gemfile
|
2159
|
+
- name: _RUBYGEMS_VERSION
|
2160
|
+
value: latest
|
2161
|
+
- name: _BUNDLER_VERSION
|
2162
|
+
value: latest
|
2163
|
+
commands:
|
2164
|
+
- "./support/bundler_wrapper exec rake test"
|
2165
|
+
- name: Ruby 3.3.1 for webmachine2
|
2166
|
+
env_vars:
|
2167
|
+
- *2
|
2168
|
+
- *3
|
2169
|
+
- *4
|
2170
|
+
- *5
|
2171
|
+
- name: RUBY_VERSION
|
2172
|
+
value: 3.3.1
|
2173
|
+
- name: GEMSET
|
2174
|
+
value: webmachine2
|
2175
|
+
- name: BUNDLE_GEMFILE
|
2176
|
+
value: gemfiles/webmachine2.gemfile
|
2177
|
+
- name: _RUBYGEMS_VERSION
|
2178
|
+
value: latest
|
2179
|
+
- name: _BUNDLER_VERSION
|
2180
|
+
value: latest
|
2181
|
+
commands:
|
2182
|
+
- "./support/bundler_wrapper exec rake test"
|
2183
|
+
- name: Ruby 3.3.1 for redis-4
|
2184
|
+
env_vars:
|
2185
|
+
- *2
|
2186
|
+
- *3
|
2187
|
+
- *4
|
2188
|
+
- *5
|
2189
|
+
- name: RUBY_VERSION
|
2190
|
+
value: 3.3.1
|
2191
|
+
- name: GEMSET
|
2192
|
+
value: redis-4
|
2193
|
+
- name: BUNDLE_GEMFILE
|
2194
|
+
value: gemfiles/redis-4.gemfile
|
2195
|
+
- name: _RUBYGEMS_VERSION
|
2196
|
+
value: latest
|
2197
|
+
- name: _BUNDLER_VERSION
|
2198
|
+
value: latest
|
2199
|
+
commands:
|
2200
|
+
- "./support/bundler_wrapper exec rake test"
|
2201
|
+
- name: Ruby 3.3.1 for redis-5
|
2202
|
+
env_vars:
|
2203
|
+
- *2
|
2204
|
+
- *3
|
2205
|
+
- *4
|
2206
|
+
- *5
|
2207
|
+
- name: RUBY_VERSION
|
2208
|
+
value: 3.3.1
|
2209
|
+
- name: GEMSET
|
2210
|
+
value: redis-5
|
2211
|
+
- name: BUNDLE_GEMFILE
|
2212
|
+
value: gemfiles/redis-5.gemfile
|
2213
|
+
- name: _RUBYGEMS_VERSION
|
2214
|
+
value: latest
|
2215
|
+
- name: _BUNDLER_VERSION
|
2216
|
+
value: latest
|
2217
|
+
commands:
|
2218
|
+
- "./support/bundler_wrapper exec rake test"
|
1802
2219
|
- name: Ruby jruby-9.4.1.0
|
1803
2220
|
dependencies:
|
1804
2221
|
- Validation
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,62 @@
|
|
1
1
|
# AppSignal for Ruby gem Changelog
|
2
2
|
|
3
|
+
## 3.7.1
|
4
|
+
|
5
|
+
_Published on 2024-04-29._
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
|
9
|
+
- [226a8f51](https://github.com/appsignal/appsignal-ruby/commit/226a8f51aa467f443ca8a93d4134f445b81f683a) patch - If the gem can't find a valid log path in the app's `log/` directory, it will no longer print the warning more than once.
|
10
|
+
- [5f97aa29](https://github.com/appsignal/appsignal-ruby/commit/5f97aa2997ca64955d6f7dc0a21de265eec110dc) patch - Stop the minutely probes when `Appsignal.stop` is called. When `Appsignal.stop` is called, the probes thread will no longer continue running in the app process.
|
11
|
+
- [ccfa3572](https://github.com/appsignal/appsignal-ruby/commit/ccfa3572260dc71765ff233682e50276059aa6aa) patch - Listen to the `APPSIGNAL_HTTP_PROXY` environment variable in the extension installer. When `APPSIGNAL_HTTP_PROXY` is set during `gem instal appsignal` or `bundle install`, it will use the proxy specified in the `APPSIGNAL_HTTP_PROXY` environment variable to download the extension and agent.
|
12
|
+
- [123c7108](https://github.com/appsignal/appsignal-ruby/commit/123c710861a09c4a857d749b3bf9e3b17968ce68) patch - Allow unregistering minutely probes. Use `Appsignal::Probes.unregister` to unregister probes registered with `Appsignal::Probes.register` if you do not need a certain probe, including default probes.
|
13
|
+
- [12305025](https://github.com/appsignal/appsignal-ruby/commit/1230502525004d324f3dbcf0ee61eb0e6fe7fdb5) patch - Add `Appsignal::Probes.register` method as the preferred method to register probes. The `Appsignal::Probes.probes.register` and `Appsignal::Minutely.probes.register` methods are now deprecated.
|
14
|
+
- [12305025](https://github.com/appsignal/appsignal-ruby/commit/1230502525004d324f3dbcf0ee61eb0e6fe7fdb5) patch - Automatically start new probes registered with `Appsignal::Probes.register` when the gem has already started the probes thread. Previously, the late registered probes would not be run.
|
15
|
+
- [12305025](https://github.com/appsignal/appsignal-ruby/commit/1230502525004d324f3dbcf0ee61eb0e6fe7fdb5) patch - Rename the Minutely constant to Probes so that the API is the same between AppSignal integrations. If your apps calls `Appsignal::Minutely`, please update it to `Appsignal::Probes`. If your app calls `Appsignal::Minutely` after this upgrade without the name change, the gem will print a deprecation warning for each time the `Appsignal::Minutely` is called.
|
16
|
+
- [ee08eed2](https://github.com/appsignal/appsignal-ruby/commit/ee08eed28a15955499bbb736fe76ae82a61de1b2) patch - Log debug messages when metrics are received for easier debugging.
|
17
|
+
|
18
|
+
### Fixed
|
19
|
+
|
20
|
+
- [a2f4b313](https://github.com/appsignal/appsignal-ruby/commit/a2f4b31359c13fc89bcf22e162cf9f79664edc6b) patch - Clear the AppSignal in memory logger, used during the gem start, after the file/STDOUT logger is started. This reduces memory usage of the AppSignal Ruby gem by a tiny bit, and prevent stale logs being logged whenever a process gets forked and starts AppSignal.
|
21
|
+
|
22
|
+
## 3.7.0
|
23
|
+
|
24
|
+
_Published on 2024-04-22._
|
25
|
+
|
26
|
+
### Added
|
27
|
+
|
28
|
+
- [5b0eb9b2](https://github.com/appsignal/appsignal-ruby/commit/5b0eb9b25ee3f5a738962acee9052dfce74acb29) minor - _Heartbeats are currently only available to beta testers. If you are interested in trying it out, [send an email to support@appsignal.com](mailto:support@appsignal.com?subject=Heartbeat%20beta)!_
|
29
|
+
|
30
|
+
---
|
31
|
+
|
32
|
+
Add heartbeats support. You can send heartbeats directly from your code, to track the execution of certain processes:
|
33
|
+
|
34
|
+
```ruby
|
35
|
+
def send_invoices()
|
36
|
+
# ... your code here ...
|
37
|
+
Appsignal.heartbeat("send_invoices")
|
38
|
+
end
|
39
|
+
```
|
40
|
+
|
41
|
+
You can pass a block to `Appsignal.heartbeat`, to report to AppSignal both when the process starts, and when it finishes, allowing you to see the duration of the process:
|
42
|
+
|
43
|
+
```ruby
|
44
|
+
def send_invoices()
|
45
|
+
Appsignal.heartbeat("send_invoices") do
|
46
|
+
# ... your code here ...
|
47
|
+
end
|
48
|
+
end
|
49
|
+
```
|
50
|
+
|
51
|
+
If an exception is raised within the block, the finish event will not be reported to AppSignal, triggering a notification about the missing heartbeat. The exception will bubble outside of the heartbeat block.
|
52
|
+
- [5fc83cc1](https://github.com/appsignal/appsignal-ruby/commit/5fc83cc186b1574d759731c5191edf13cf8339b7) patch - Implement the `ignore_logs` configuration option, which can also be configured as the `APPSIGNAL_IGNORE_LOGS` environment variable.
|
53
|
+
|
54
|
+
The value of `ignore_logs` is a list (comma-separated, when using the environment variable) of log line messages that should be ignored. For example, the value `"start"` will cause any message containing the word "start" to be ignored. Any log line message containing a value in `ignore_logs` will not be reported to AppSignal.
|
55
|
+
|
56
|
+
The values can use a small subset of regular expression syntax (specifically, `^`, `$` and `.*`) to narrow or expand the scope of lines that should be matched.
|
57
|
+
|
58
|
+
For example, the value `"^start$"` can be used to ignore any message that is _exactly_ the word "start", but not messages that merely contain it, like "Process failed to start". The value `"Task .* succeeded"` can be used to ignore messages about task success regardless of the specific task name.
|
59
|
+
|
3
60
|
## 3.6.5
|
4
61
|
|
5
62
|
_Published on 2024-04-17._
|
data/build_matrix.yml
CHANGED
@@ -169,6 +169,7 @@ matrix:
|
|
169
169
|
- ruby: "3.0.5"
|
170
170
|
- ruby: "3.1.3"
|
171
171
|
- ruby: "3.2.1"
|
172
|
+
- ruby: "3.3.1"
|
172
173
|
- ruby: "jruby-9.4.1.0"
|
173
174
|
gems: "minimal"
|
174
175
|
gems:
|
@@ -181,6 +182,7 @@ matrix:
|
|
181
182
|
- "3.0.5"
|
182
183
|
- "3.1.3"
|
183
184
|
- "3.2.1"
|
185
|
+
- "3.3.1"
|
184
186
|
- gem: "grape"
|
185
187
|
- gem: "hanami"
|
186
188
|
only:
|
@@ -188,6 +190,7 @@ matrix:
|
|
188
190
|
- "3.0.5"
|
189
191
|
- "3.1.3"
|
190
192
|
- "3.2.1"
|
193
|
+
- "3.3.1"
|
191
194
|
- gem: "http5"
|
192
195
|
- gem: "padrino"
|
193
196
|
- gem: "psych-3"
|
@@ -197,6 +200,7 @@ matrix:
|
|
197
200
|
- "3.0.5"
|
198
201
|
- "3.1.3"
|
199
202
|
- "3.2.1"
|
203
|
+
- "3.3.1"
|
200
204
|
- gem: "psych-4"
|
201
205
|
only:
|
202
206
|
ruby:
|
@@ -204,6 +208,7 @@ matrix:
|
|
204
208
|
- "3.0.5"
|
205
209
|
- "3.1.3"
|
206
210
|
- "3.2.1"
|
211
|
+
- "3.3.1"
|
207
212
|
- gem: "que"
|
208
213
|
- gem: "que_beta"
|
209
214
|
- gem: "rails-6.0"
|
@@ -219,6 +224,7 @@ matrix:
|
|
219
224
|
- "3.0.5"
|
220
225
|
- "3.1.3"
|
221
226
|
- "3.2.1"
|
227
|
+
- "3.3.1"
|
222
228
|
- "jruby-9.4.1.0"
|
223
229
|
- gem: "rails-7.0"
|
224
230
|
only:
|
@@ -227,6 +233,7 @@ matrix:
|
|
227
233
|
- "3.0.5"
|
228
234
|
- "3.1.3"
|
229
235
|
- "3.2.1"
|
236
|
+
- "3.3.1"
|
230
237
|
- "jruby-9.4.1.0"
|
231
238
|
- gem: "rails-7.1"
|
232
239
|
only:
|
@@ -234,6 +241,7 @@ matrix:
|
|
234
241
|
- "3.0.5"
|
235
242
|
- "3.1.3"
|
236
243
|
- "3.2.1"
|
244
|
+
- "3.3.1"
|
237
245
|
- "jruby-9.4.1.0"
|
238
246
|
- gem: "sequel"
|
239
247
|
- gem: "sinatra"
|