alchemrest 3.1.0

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.
Files changed (245) hide show
  1. checksums.yaml +7 -0
  2. data/.rspec +3 -0
  3. data/.rubocop.yml +22 -0
  4. data/.rubocop_todo.yml +242 -0
  5. data/.ruby-version +1 -0
  6. data/Appraisals +19 -0
  7. data/Gemfile +6 -0
  8. data/Gemfile.lock +378 -0
  9. data/Rakefile +29 -0
  10. data/alchemrest.gemspec +71 -0
  11. data/coach.yml +5 -0
  12. data/examples/bank_api/client.rb +31 -0
  13. data/examples/bank_api/data/account.rb +21 -0
  14. data/examples/bank_api/data/ach.rb +16 -0
  15. data/examples/bank_api/data/business_account.rb +22 -0
  16. data/examples/bank_api/data/card.rb +21 -0
  17. data/examples/bank_api/data/check.rb +19 -0
  18. data/examples/bank_api/data/product.rb +20 -0
  19. data/examples/bank_api/data/transaction.rb +49 -0
  20. data/examples/bank_api/data/user.rb +27 -0
  21. data/examples/bank_api/factories.rb +68 -0
  22. data/examples/bank_api/graph_visualization.rb +45 -0
  23. data/examples/bank_api/positive_interest_string.rb +33 -0
  24. data/examples/bank_api/requests/delete_user.rb +17 -0
  25. data/examples/bank_api/requests/get_business_account.rb +24 -0
  26. data/examples/bank_api/requests/get_products.rb +12 -0
  27. data/examples/bank_api/requests/get_transactions.rb +34 -0
  28. data/examples/bank_api/requests/get_user.rb +19 -0
  29. data/examples/bank_api/requests/post_transaction.rb +20 -0
  30. data/examples/bank_api/requests/update_user.rb +28 -0
  31. data/examples/bank_api/root.rb +52 -0
  32. data/examples/bank_api.rb +33 -0
  33. data/gemfiles/faraday_2.gemfile +9 -0
  34. data/gemfiles/faraday_2.gemfile.lock +363 -0
  35. data/gemfiles/rails_7_0.gemfile.lock +341 -0
  36. data/gemfiles/rails_7_2.gemfile +9 -0
  37. data/gemfiles/rails_7_2.gemfile.lock +384 -0
  38. data/gemfiles/rails_8_0.gemfile +9 -0
  39. data/gemfiles/rails_8_0.gemfile.lock +385 -0
  40. data/lib/alchemrest/circuit_breaker.rb +84 -0
  41. data/lib/alchemrest/client/configuration/connection.rb +83 -0
  42. data/lib/alchemrest/client/configuration.rb +89 -0
  43. data/lib/alchemrest/client.rb +48 -0
  44. data/lib/alchemrest/cop.rb +8 -0
  45. data/lib/alchemrest/data/capture_configuration.rb +77 -0
  46. data/lib/alchemrest/data/field.rb +36 -0
  47. data/lib/alchemrest/data/graph.rb +40 -0
  48. data/lib/alchemrest/data/record.rb +60 -0
  49. data/lib/alchemrest/data/schema.rb +80 -0
  50. data/lib/alchemrest/data.rb +9 -0
  51. data/lib/alchemrest/endpoint_definition.rb +47 -0
  52. data/lib/alchemrest/error.rb +122 -0
  53. data/lib/alchemrest/factory_bot.rb +64 -0
  54. data/lib/alchemrest/faraday_middleware/external_api_instrumentation.rb +24 -0
  55. data/lib/alchemrest/faraday_middleware/json_parser.rb +30 -0
  56. data/lib/alchemrest/faraday_middleware/kill_switch.rb +22 -0
  57. data/lib/alchemrest/faraday_middleware/underscore_response.rb +24 -0
  58. data/lib/alchemrest/hash_path.rb +81 -0
  59. data/lib/alchemrest/http_request.rb +75 -0
  60. data/lib/alchemrest/kill_switch/adapters.rb +88 -0
  61. data/lib/alchemrest/kill_switch.rb +31 -0
  62. data/lib/alchemrest/railtie.rb +25 -0
  63. data/lib/alchemrest/request/endpoint.rb +29 -0
  64. data/lib/alchemrest/request/returns.rb +46 -0
  65. data/lib/alchemrest/request.rb +80 -0
  66. data/lib/alchemrest/request_definition/builder.rb +13 -0
  67. data/lib/alchemrest/request_definition.rb +26 -0
  68. data/lib/alchemrest/response/pipeline/extract_payload.rb +64 -0
  69. data/lib/alchemrest/response/pipeline/final.rb +11 -0
  70. data/lib/alchemrest/response/pipeline/omit.rb +46 -0
  71. data/lib/alchemrest/response/pipeline/sanitize.rb +59 -0
  72. data/lib/alchemrest/response/pipeline/transform.rb +26 -0
  73. data/lib/alchemrest/response/pipeline/was_successful.rb +29 -0
  74. data/lib/alchemrest/response/pipeline.rb +71 -0
  75. data/lib/alchemrest/response.rb +73 -0
  76. data/lib/alchemrest/response_captured_handler.rb +68 -0
  77. data/lib/alchemrest/result/halt.rb +15 -0
  78. data/lib/alchemrest/result/try_helpers.rb +16 -0
  79. data/lib/alchemrest/result.rb +128 -0
  80. data/lib/alchemrest/root.rb +77 -0
  81. data/lib/alchemrest/transforms/base_to_type_transform_registry.rb +42 -0
  82. data/lib/alchemrest/transforms/constrainable.rb +41 -0
  83. data/lib/alchemrest/transforms/constraint/block.rb +22 -0
  84. data/lib/alchemrest/transforms/constraint/greater_than.rb +19 -0
  85. data/lib/alchemrest/transforms/constraint/greater_than_or_eq.rb +19 -0
  86. data/lib/alchemrest/transforms/constraint/in_list.rb +19 -0
  87. data/lib/alchemrest/transforms/constraint/is_instance_of.rb +19 -0
  88. data/lib/alchemrest/transforms/constraint/is_uuid.rb +19 -0
  89. data/lib/alchemrest/transforms/constraint/less_than.rb +19 -0
  90. data/lib/alchemrest/transforms/constraint/less_than_or_eq.rb +19 -0
  91. data/lib/alchemrest/transforms/constraint/matches_regex.rb +19 -0
  92. data/lib/alchemrest/transforms/constraint/max_length.rb +19 -0
  93. data/lib/alchemrest/transforms/constraint/min_length.rb +19 -0
  94. data/lib/alchemrest/transforms/constraint.rb +17 -0
  95. data/lib/alchemrest/transforms/constraint_builder/for_number.rb +25 -0
  96. data/lib/alchemrest/transforms/constraint_builder/for_string.rb +21 -0
  97. data/lib/alchemrest/transforms/constraint_builder.rb +15 -0
  98. data/lib/alchemrest/transforms/date_transform.rb +30 -0
  99. data/lib/alchemrest/transforms/enum.rb +52 -0
  100. data/lib/alchemrest/transforms/epoch_time.rb +32 -0
  101. data/lib/alchemrest/transforms/from_chain.rb +15 -0
  102. data/lib/alchemrest/transforms/from_number/to_type_transform_registry.rb +18 -0
  103. data/lib/alchemrest/transforms/from_number.rb +47 -0
  104. data/lib/alchemrest/transforms/from_string/to_type_transform_registry.rb +17 -0
  105. data/lib/alchemrest/transforms/from_string.rb +36 -0
  106. data/lib/alchemrest/transforms/from_type/empty_to_type_transform_registry.rb +14 -0
  107. data/lib/alchemrest/transforms/from_type.rb +64 -0
  108. data/lib/alchemrest/transforms/iso_time.rb +58 -0
  109. data/lib/alchemrest/transforms/json_number.rb +26 -0
  110. data/lib/alchemrest/transforms/loose_hash.rb +96 -0
  111. data/lib/alchemrest/transforms/money_transform.rb +42 -0
  112. data/lib/alchemrest/transforms/number.rb +27 -0
  113. data/lib/alchemrest/transforms/output_type.rb +65 -0
  114. data/lib/alchemrest/transforms/to_decimal.rb +22 -0
  115. data/lib/alchemrest/transforms/to_type/from_string_to_time_selector.rb +29 -0
  116. data/lib/alchemrest/transforms/to_type/transforms_selector.rb +61 -0
  117. data/lib/alchemrest/transforms/to_type.rb +86 -0
  118. data/lib/alchemrest/transforms/typed.rb +32 -0
  119. data/lib/alchemrest/transforms/union.rb +44 -0
  120. data/lib/alchemrest/transforms/with_constraint.rb +26 -0
  121. data/lib/alchemrest/transforms.rb +93 -0
  122. data/lib/alchemrest/url_builder/encoders.rb +39 -0
  123. data/lib/alchemrest/url_builder/options.rb +33 -0
  124. data/lib/alchemrest/url_builder.rb +31 -0
  125. data/lib/alchemrest/version.rb +5 -0
  126. data/lib/alchemrest/webmock_helpers.rb +27 -0
  127. data/lib/alchemrest.rb +159 -0
  128. data/lib/generators/alchemrest/kill_switch_migration_generator.rb +27 -0
  129. data/lib/generators/alchemrest/templates/kill_switch_migration.rb.erb +17 -0
  130. data/lib/rubocop/cop/alchemrest/define_request_using_with_params.rb +53 -0
  131. data/lib/rubocop/cop/alchemrest/endpoint_definition_using_generic_params.rb +55 -0
  132. data/lib/rubocop/cop/alchemrest/request_hash_returning_block.rb +54 -0
  133. data/lib/rubocop/cop/alchemrest/time_transform_with_no_zone.rb +56 -0
  134. data/lib/tapioca/dsl/compilers/alchemrest_data.rb +84 -0
  135. data/lib/tapioca/dsl/compilers/alchemrest_root.rb +68 -0
  136. data/mutant.yml +16 -0
  137. data/rbi/alchemrest/result.rbi +80 -0
  138. data/rbi/alchemrest.rbi +246 -0
  139. data/sorbet/config +5 -0
  140. data/sorbet/rbi/gems/.gitattributes +1 -0
  141. data/sorbet/rbi/gems/abstract_type@0.0.7.rbi +41 -0
  142. data/sorbet/rbi/gems/actionpack@8.0.4.rbi +11733 -0
  143. data/sorbet/rbi/gems/actionview@8.0.4.rbi +6560 -0
  144. data/sorbet/rbi/gems/activemodel@8.0.4.rbi +2891 -0
  145. data/sorbet/rbi/gems/activesupport@8.0.4.rbi +9621 -0
  146. data/sorbet/rbi/gems/adamantium@0.2.0.rbi +144 -0
  147. data/sorbet/rbi/gems/addressable@2.8.7.rbi +779 -0
  148. data/sorbet/rbi/gems/anima@0.3.2.rbi +103 -0
  149. data/sorbet/rbi/gems/ast@2.4.2.rbi +107 -0
  150. data/sorbet/rbi/gems/base64@0.3.0.rbi +52 -0
  151. data/sorbet/rbi/gems/benchmark@0.5.0.rbi +153 -0
  152. data/sorbet/rbi/gems/bigdecimal@3.3.1.rbi +77 -0
  153. data/sorbet/rbi/gems/builder@3.3.0.rbi +9 -0
  154. data/sorbet/rbi/gems/circuitbox@2.0.0.rbi +297 -0
  155. data/sorbet/rbi/gems/concord@0.1.6.rbi +51 -0
  156. data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +4716 -0
  157. data/sorbet/rbi/gems/connection_pool@2.5.4.rbi +9 -0
  158. data/sorbet/rbi/gems/crack@1.0.0.rbi +110 -0
  159. data/sorbet/rbi/gems/crass@1.0.6.rbi +294 -0
  160. data/sorbet/rbi/gems/date@3.4.1.rbi +58 -0
  161. data/sorbet/rbi/gems/drb@2.2.3.rbi +639 -0
  162. data/sorbet/rbi/gems/equalizer@0.0.11.rbi +38 -0
  163. data/sorbet/rbi/gems/erubi@1.13.1.rbi +85 -0
  164. data/sorbet/rbi/gems/factory_bot@6.5.0.rbi +1529 -0
  165. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +181 -0
  166. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.1.rbi +120 -0
  167. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +128 -0
  168. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +123 -0
  169. data/sorbet/rbi/gems/faraday-multipart@1.2.0.rbi +190 -0
  170. data/sorbet/rbi/gems/faraday-net_http@1.0.2.rbi +140 -0
  171. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +116 -0
  172. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +119 -0
  173. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +113 -0
  174. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +149 -0
  175. data/sorbet/rbi/gems/faraday@1.10.5.rbi +1620 -0
  176. data/sorbet/rbi/gems/hansi@0.2.1.rbi +9 -0
  177. data/sorbet/rbi/gems/hashdiff@1.1.2.rbi +174 -0
  178. data/sorbet/rbi/gems/i18n@1.14.7.rbi +1328 -0
  179. data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +145 -0
  180. data/sorbet/rbi/gems/io-console@0.8.0.rbi +9 -0
  181. data/sorbet/rbi/gems/json@2.9.1.rbi +282 -0
  182. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +8057 -0
  183. data/sorbet/rbi/gems/logger@1.7.0.rbi +260 -0
  184. data/sorbet/rbi/gems/loofah@2.24.0.rbi +571 -0
  185. data/sorbet/rbi/gems/memoizable@0.4.2.rbi +131 -0
  186. data/sorbet/rbi/gems/memosa@0.8.2.rbi +185 -0
  187. data/sorbet/rbi/gems/minitest@5.26.0.rbi +824 -0
  188. data/sorbet/rbi/gems/money@6.19.0.rbi +815 -0
  189. data/sorbet/rbi/gems/morpher@0.4.2.rbi +388 -0
  190. data/sorbet/rbi/gems/mprelude@0.1.0.rbi +140 -0
  191. data/sorbet/rbi/gems/multi_json@1.15.0.rbi +180 -0
  192. data/sorbet/rbi/gems/multipart-post@2.4.1.rbi +154 -0
  193. data/sorbet/rbi/gems/mustermann-contrib@3.0.3.rbi +9 -0
  194. data/sorbet/rbi/gems/mustermann@3.0.3.rbi +809 -0
  195. data/sorbet/rbi/gems/netrc@0.11.0.rbi +112 -0
  196. data/sorbet/rbi/gems/nokogiri@1.19.1.rbi +3412 -0
  197. data/sorbet/rbi/gems/parallel@1.26.3.rbi +234 -0
  198. data/sorbet/rbi/gems/parser@3.3.7.0.rbi +4877 -0
  199. data/sorbet/rbi/gems/pp@0.6.2.rbi +176 -0
  200. data/sorbet/rbi/gems/prettyprint@0.2.0.rbi +155 -0
  201. data/sorbet/rbi/gems/prism@1.5.1.rbi +26368 -0
  202. data/sorbet/rbi/gems/procto@0.0.3.rbi +9 -0
  203. data/sorbet/rbi/gems/psych@5.2.3.rbi +806 -0
  204. data/sorbet/rbi/gems/public_suffix@6.0.1.rbi +267 -0
  205. data/sorbet/rbi/gems/racc@1.8.1.rbi +120 -0
  206. data/sorbet/rbi/gems/rack-session@2.1.1.rbi +458 -0
  207. data/sorbet/rbi/gems/rack-test@2.2.0.rbi +405 -0
  208. data/sorbet/rbi/gems/rack@3.1.14.rbi +2774 -0
  209. data/sorbet/rbi/gems/rackup@2.2.1.rbi +132 -0
  210. data/sorbet/rbi/gems/rails-dom-testing@2.2.0.rbi +266 -0
  211. data/sorbet/rbi/gems/rails-html-sanitizer@1.6.2.rbi +545 -0
  212. data/sorbet/rbi/gems/railties@8.0.4.rbi +2150 -0
  213. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +333 -0
  214. data/sorbet/rbi/gems/rake@13.2.1.rbi +2054 -0
  215. data/sorbet/rbi/gems/rbi@0.2.3.rbi +3961 -0
  216. data/sorbet/rbi/gems/rdoc@6.13.1.rbi +6784 -0
  217. data/sorbet/rbi/gems/regexp_parser@2.11.3.rbi +3020 -0
  218. data/sorbet/rbi/gems/reline@0.6.0.rbi +9 -0
  219. data/sorbet/rbi/gems/rexml@3.4.2.rbi +1777 -0
  220. data/sorbet/rbi/gems/rubocop-ast@1.38.0.rbi +5293 -0
  221. data/sorbet/rbi/gems/rubocop@1.71.1.rbi +31846 -0
  222. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +980 -0
  223. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
  224. data/sorbet/rbi/gems/securerandom@0.4.1.rbi +33 -0
  225. data/sorbet/rbi/gems/sentry-ruby@5.22.1.rbi +3782 -0
  226. data/sorbet/rbi/gems/spoom@1.5.1.rbi +4321 -0
  227. data/sorbet/rbi/gems/stringio@3.1.2.rbi +9 -0
  228. data/sorbet/rbi/gems/tapioca@0.16.8.rbi +3399 -0
  229. data/sorbet/rbi/gems/thor@1.3.2.rbi +2012 -0
  230. data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +711 -0
  231. data/sorbet/rbi/gems/timeout@0.4.4.rbi +80 -0
  232. data/sorbet/rbi/gems/tsort@0.2.0.rbi +50 -0
  233. data/sorbet/rbi/gems/tzinfo@2.0.6.rbi +1677 -0
  234. data/sorbet/rbi/gems/unicode-display_width@2.6.0.rbi +62 -0
  235. data/sorbet/rbi/gems/uri@1.1.0.rbi +760 -0
  236. data/sorbet/rbi/gems/useragent@0.16.11.rbi +9 -0
  237. data/sorbet/rbi/gems/webmock@3.24.0.rbi +1362 -0
  238. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +345 -0
  239. data/sorbet/rbi/gems/yard@0.9.37.rbi +8795 -0
  240. data/sorbet/rbi/gems/zeitwerk@2.7.1.rbi +589 -0
  241. data/sorbet/tapioca/config.yml +45 -0
  242. data/sorbet/tapioca/require.rb +8 -0
  243. data/sorbet/tapioca/sorbet/rbi/dsl/.gitattributes +1 -0
  244. data/sorbet/tapioca/sorbet/rbi/dsl/active_support/callbacks.rbi +23 -0
  245. metadata +737 -0
@@ -0,0 +1,3782 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `sentry-ruby` gem.
5
+ # Please instead update this file by running `bin/tapioca gem sentry-ruby`.
6
+
7
+
8
+ # source://sentry-ruby//lib/sentry/rake.rb#26
9
+ module Rake
10
+ extend ::FileUtils::StreamUtils_
11
+ extend ::FileUtils
12
+ end
13
+
14
+ # source://sentry-ruby//lib/sentry/rake.rb#27
15
+ class Rake::Application
16
+ include ::Sentry::Rake::Application
17
+
18
+ # source://rake/13.2.1/lib/rake/application.rb#49
19
+ def initialize; end
20
+
21
+ # source://rake/13.2.1/lib/rake/application.rb#807
22
+ def add_import(fn); end
23
+
24
+ # source://rake/13.2.1/lib/rake/application.rb#161
25
+ def add_loader(ext, loader); end
26
+
27
+ # source://rake/13.2.1/lib/rake/application.rb#788
28
+ def collect_command_line_tasks(args); end
29
+
30
+ # source://rake/13.2.1/lib/rake/application.rb#802
31
+ def default_task_name; end
32
+
33
+ # source://rake/13.2.1/lib/rake/application.rb#288
34
+ def deprecate(old_usage, new_usage, call_site); end
35
+
36
+ # source://rake/13.2.1/lib/rake/application.rb#250
37
+ def display_cause_details(ex); end
38
+
39
+ # source://sentry-ruby//lib/sentry/rake.rb#10
40
+ def display_error_message(ex); end
41
+
42
+ # source://rake/13.2.1/lib/rake/application.rb#275
43
+ def display_exception_backtrace(ex); end
44
+
45
+ # source://rake/13.2.1/lib/rake/application.rb#242
46
+ def display_exception_details(ex); end
47
+
48
+ # source://rake/13.2.1/lib/rake/application.rb#257
49
+ def display_exception_details_seen; end
50
+
51
+ # source://rake/13.2.1/lib/rake/application.rb#265
52
+ def display_exception_message_details(ex); end
53
+
54
+ # source://rake/13.2.1/lib/rake/application.rb#411
55
+ def display_prerequisites; end
56
+
57
+ # source://rake/13.2.1/lib/rake/application.rb#328
58
+ def display_tasks_and_comments; end
59
+
60
+ # source://rake/13.2.1/lib/rake/application.rb#379
61
+ def dynamic_width; end
62
+
63
+ # source://rake/13.2.1/lib/rake/application.rb#383
64
+ def dynamic_width_stty; end
65
+
66
+ # source://rake/13.2.1/lib/rake/application.rb#387
67
+ def dynamic_width_tput; end
68
+
69
+ # source://rake/13.2.1/lib/rake/application.rb#229
70
+ def exit_because_of_exception(ex); end
71
+
72
+ # source://rake/13.2.1/lib/rake/application.rb#708
73
+ def find_rakefile_location; end
74
+
75
+ # source://rake/13.2.1/lib/rake/application.rb#674
76
+ def handle_options(argv); end
77
+
78
+ # source://rake/13.2.1/lib/rake/application.rb#261
79
+ def has_cause?(ex); end
80
+
81
+ # source://rake/13.2.1/lib/rake/application.rb#304
82
+ def have_rakefile; end
83
+
84
+ # source://rake/13.2.1/lib/rake/application.rb#88
85
+ def init(app_name = T.unsafe(nil), argv = T.unsafe(nil)); end
86
+
87
+ # source://rake/13.2.1/lib/rake/application.rb#185
88
+ def invoke_task(task_string); end
89
+
90
+ # source://rake/13.2.1/lib/rake/application.rb#812
91
+ def load_imports; end
92
+
93
+ # source://rake/13.2.1/lib/rake/application.rb#124
94
+ def load_rakefile; end
95
+
96
+ # source://rake/13.2.1/lib/rake/application.rb#24
97
+ def name; end
98
+
99
+ # source://rake/13.2.1/lib/rake/application.rb#167
100
+ def options; end
101
+
102
+ # source://rake/13.2.1/lib/rake/application.rb#27
103
+ def original_dir; end
104
+
105
+ # source://rake/13.2.1/lib/rake/application.rb#191
106
+ def parse_task_string(string); end
107
+
108
+ # source://rake/13.2.1/lib/rake/application.rb#720
109
+ def print_rakefile_directory(location); end
110
+
111
+ # source://rake/13.2.1/lib/rake/application.rb#694
112
+ def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil)); end
113
+
114
+ # source://rake/13.2.1/lib/rake/application.rb#30
115
+ def rakefile; end
116
+
117
+ # source://rake/13.2.1/lib/rake/application.rb#828
118
+ def rakefile_location(backtrace = T.unsafe(nil)); end
119
+
120
+ # source://rake/13.2.1/lib/rake/application.rb#725
121
+ def raw_load_rakefile; end
122
+
123
+ # source://rake/13.2.1/lib/rake/application.rb#79
124
+ def run(argv = T.unsafe(nil)); end
125
+
126
+ # source://rake/13.2.1/lib/rake/application.rb#144
127
+ def run_with_threads; end
128
+
129
+ # source://rake/13.2.1/lib/rake/application.rb#837
130
+ def set_default_options; end
131
+
132
+ # source://rake/13.2.1/lib/rake/application.rb#213
133
+ def standard_exception_handling; end
134
+
135
+ # source://rake/13.2.1/lib/rake/application.rb#432
136
+ def standard_rake_options; end
137
+
138
+ # source://rake/13.2.1/lib/rake/application.rb#757
139
+ def system_dir; end
140
+
141
+ # source://rake/13.2.1/lib/rake/application.rb#33
142
+ def terminal_columns; end
143
+
144
+ # source://rake/13.2.1/lib/rake/application.rb#33
145
+ def terminal_columns=(_arg0); end
146
+
147
+ # source://rake/13.2.1/lib/rake/application.rb#367
148
+ def terminal_width; end
149
+
150
+ # source://rake/13.2.1/lib/rake/application.rb#178
151
+ def thread_pool; end
152
+
153
+ # source://rake/13.2.1/lib/rake/application.rb#131
154
+ def top_level; end
155
+
156
+ # source://rake/13.2.1/lib/rake/application.rb#36
157
+ def top_level_tasks; end
158
+
159
+ # source://rake/13.2.1/lib/rake/application.rb#418
160
+ def trace(*strings); end
161
+
162
+ # source://rake/13.2.1/lib/rake/application.rb#400
163
+ def truncate(string, width); end
164
+
165
+ # source://rake/13.2.1/lib/rake/application.rb#323
166
+ def truncate_output?; end
167
+
168
+ # source://rake/13.2.1/lib/rake/application.rb#39
169
+ def tty_output=(_arg0); end
170
+
171
+ # source://rake/13.2.1/lib/rake/application.rb#317
172
+ def tty_output?; end
173
+
174
+ # source://rake/13.2.1/lib/rake/application.rb#391
175
+ def unix?; end
176
+
177
+ # source://rake/13.2.1/lib/rake/application.rb#396
178
+ def windows?; end
179
+
180
+ private
181
+
182
+ # source://rake/13.2.1/lib/rake/application.rb#751
183
+ def glob(path, &block); end
184
+
185
+ # source://rake/13.2.1/lib/rake/application.rb#297
186
+ def has_chain?(exception); end
187
+
188
+ # source://rake/13.2.1/lib/rake/application.rb#102
189
+ def load_debug_at_stop_feature; end
190
+
191
+ # source://rake/13.2.1/lib/rake/application.rb#650
192
+ def select_tasks_to_show(options, show_tasks, value); end
193
+
194
+ # source://rake/13.2.1/lib/rake/application.rb#657
195
+ def select_trace_output(options, trace_option, value); end
196
+
197
+ # source://rake/13.2.1/lib/rake/application.rb#423
198
+ def sort_options(options); end
199
+
200
+ # source://rake/13.2.1/lib/rake/application.rb#774
201
+ def standard_system_dir; end
202
+ end
203
+
204
+ # source://sentry-ruby//lib/sentry/version.rb#3
205
+ module Sentry
206
+ class << self
207
+ # source://sentry-ruby//lib/sentry-ruby.rb#219
208
+ def add_attachment(**opts); end
209
+
210
+ # source://sentry-ruby//lib/sentry-ruby.rb#316
211
+ def add_breadcrumb(breadcrumb, **options); end
212
+
213
+ # source://sentry-ruby//lib/sentry-ruby.rb#535
214
+ def add_global_event_processor(&block); end
215
+
216
+ # source://sentry-ruby//lib/sentry-ruby.rb#107
217
+ def apply_patches(config); end
218
+
219
+ # source://sentry-ruby//lib/sentry-ruby.rb#75
220
+ def background_worker; end
221
+
222
+ # source://sentry-ruby//lib/sentry-ruby.rb#75
223
+ def background_worker=(_arg0); end
224
+
225
+ # source://sentry-ruby//lib/sentry-ruby.rb#83
226
+ def backpressure_monitor; end
227
+
228
+ # source://sentry-ruby//lib/sentry-ruby.rb#475
229
+ def capture_check_in(slug, status, **options); end
230
+
231
+ # source://sentry-ruby//lib/sentry-ruby.rb#459
232
+ def capture_event(event); end
233
+
234
+ # source://sentry-ruby//lib/sentry-ruby.rb#423
235
+ def capture_exception(exception, **options, &block); end
236
+
237
+ # source://sentry-ruby//lib/sentry-ruby.rb#451
238
+ def capture_message(message, **options, &block); end
239
+
240
+ # source://sentry-ruby//lib/sentry-ruby.rb#353
241
+ def clone_hub_to_current_thread; end
242
+
243
+ # source://sentry-ruby//lib/sentry-ruby.rb#252
244
+ def close; end
245
+
246
+ # source://sentry-ruby//lib/sentry-ruby.rb#159
247
+ def configuration; end
248
+
249
+ # source://sentry-ruby//lib/sentry-ruby.rb#369
250
+ def configure_scope(&block); end
251
+
252
+ # source://sentry-ruby//lib/sentry-ruby.rb#579
253
+ def continue_trace(env, **options); end
254
+
255
+ # source://sentry-ruby//lib/sentry-ruby.rb#301
256
+ def csp_report_uri; end
257
+
258
+ # source://sentry-ruby//lib/sentry-ruby.rb#517
259
+ def exception_captured?(exc); end
260
+
261
+ # source://sentry-ruby//lib/sentry-ruby.rb#57
262
+ def exception_locals_tp; end
263
+
264
+ # source://sentry-ruby//lib/sentry-ruby.rb#552
265
+ def get_baggage; end
266
+
267
+ # source://sentry-ruby//lib/sentry-ruby.rb#337
268
+ def get_current_client; end
269
+
270
+ # source://sentry-ruby//lib/sentry-ruby.rb#326
271
+ def get_current_hub; end
272
+
273
+ # source://sentry-ruby//lib/sentry-ruby.rb#345
274
+ def get_current_scope; end
275
+
276
+ # source://sentry-ruby//lib/sentry-ruby.rb#309
277
+ def get_main_hub; end
278
+
279
+ # source://sentry-ruby//lib/sentry-ruby.rb#561
280
+ def get_trace_propagation_headers; end
281
+
282
+ # source://sentry-ruby//lib/sentry-ruby.rb#570
283
+ def get_trace_propagation_meta; end
284
+
285
+ # source://sentry-ruby//lib/sentry-ruby.rb#543
286
+ def get_traceparent; end
287
+
288
+ # source://sentry-ruby//lib/sentry-ruby.rb#230
289
+ def init(&block); end
290
+
291
+ # source://sentry-ruby//lib/sentry-ruby.rb#289
292
+ def initialized?; end
293
+
294
+ # source://sentry-ruby//lib/sentry-ruby.rb#123
295
+ def integrations; end
296
+
297
+ # source://sentry-ruby//lib/sentry-ruby.rb#509
298
+ def last_event_id; end
299
+
300
+ # source://sentry-ruby//lib/sentry-ruby.rb#595
301
+ def logger; end
302
+
303
+ # source://sentry-ruby//lib/sentry-ruby.rb#87
304
+ def metrics_aggregator; end
305
+
306
+ # source://sentry-ruby//lib/sentry-ruby.rb#131
307
+ def register_integration(name, version); end
308
+
309
+ # source://sentry-ruby//lib/sentry-ruby.rb#92
310
+ def register_patch(key, patch = T.unsafe(nil), target = T.unsafe(nil), &block); end
311
+
312
+ # source://sentry-ruby//lib/sentry-ruby.rb#114
313
+ def registered_patches; end
314
+
315
+ # source://sentry-ruby//lib/sentry-ruby.rb#600
316
+ def sdk_meta; end
317
+
318
+ # source://sentry-ruby//lib/sentry-ruby.rb#166
319
+ def send_event(*args); end
320
+
321
+ # source://sentry-ruby//lib/sentry-ruby.rb#79
322
+ def session_flusher; end
323
+
324
+ # source://sentry-ruby//lib/sentry-ruby.rb#212
325
+ def set_context(*args); end
326
+
327
+ # source://sentry-ruby//lib/sentry-ruby.rb#198
328
+ def set_extras(*args); end
329
+
330
+ # source://sentry-ruby//lib/sentry-ruby.rb#191
331
+ def set_tags(*args); end
332
+
333
+ # source://sentry-ruby//lib/sentry-ruby.rb#205
334
+ def set_user(*args); end
335
+
336
+ # source://sentry-ruby//lib/sentry-ruby.rb#483
337
+ def start_transaction(**options); end
338
+
339
+ # source://sentry-ruby//lib/sentry-ruby.rb#587
340
+ def sys_command(command); end
341
+
342
+ # source://sentry-ruby//lib/sentry-ruby.rb#605
343
+ def utc_now; end
344
+
345
+ # source://sentry-ruby//lib/sentry-ruby.rb#501
346
+ def with_child_span(**attributes, &block); end
347
+
348
+ # source://sentry-ruby//lib/sentry-ruby.rb#440
349
+ def with_exception_captured(**options, &block); end
350
+
351
+ # source://sentry-ruby//lib/sentry-ruby.rb#394
352
+ def with_scope(&block); end
353
+
354
+ # source://sentry-ruby//lib/sentry-ruby.rb#414
355
+ def with_session_tracking(&block); end
356
+ end
357
+ end
358
+
359
+ # source://sentry-ruby//lib/sentry/utils/argument_checking_helper.rb#4
360
+ module Sentry::ArgumentCheckingHelper
361
+ private
362
+
363
+ # source://sentry-ruby//lib/sentry/utils/argument_checking_helper.rb#13
364
+ def check_argument_includes!(argument, values); end
365
+
366
+ # source://sentry-ruby//lib/sentry/utils/argument_checking_helper.rb#7
367
+ def check_argument_type!(argument, *expected_types); end
368
+
369
+ # source://sentry-ruby//lib/sentry/utils/argument_checking_helper.rb#19
370
+ def check_callable!(name, value); end
371
+ end
372
+
373
+ # source://sentry-ruby//lib/sentry/attachment.rb#4
374
+ class Sentry::Attachment
375
+ # source://sentry-ruby//lib/sentry/attachment.rb#9
376
+ def initialize(bytes: T.unsafe(nil), filename: T.unsafe(nil), content_type: T.unsafe(nil), path: T.unsafe(nil)); end
377
+
378
+ # source://sentry-ruby//lib/sentry/attachment.rb#7
379
+ def bytes; end
380
+
381
+ # source://sentry-ruby//lib/sentry/attachment.rb#7
382
+ def content_type; end
383
+
384
+ # source://sentry-ruby//lib/sentry/attachment.rb#7
385
+ def filename; end
386
+
387
+ # source://sentry-ruby//lib/sentry/attachment.rb#7
388
+ def path; end
389
+
390
+ # source://sentry-ruby//lib/sentry/attachment.rb#20
391
+ def payload; end
392
+
393
+ # source://sentry-ruby//lib/sentry/attachment.rb#16
394
+ def to_envelope_headers; end
395
+
396
+ private
397
+
398
+ # source://sentry-ruby//lib/sentry/attachment.rb#32
399
+ def infer_filename(path); end
400
+ end
401
+
402
+ # source://sentry-ruby//lib/sentry/attachment.rb#5
403
+ class Sentry::Attachment::PathNotFoundError < ::StandardError; end
404
+
405
+ # source://sentry-ruby//lib/sentry-ruby.rb#49
406
+ Sentry::BAGGAGE_HEADER_NAME = T.let(T.unsafe(nil), String)
407
+
408
+ # source://sentry-ruby//lib/sentry/background_worker.rb#8
409
+ class Sentry::BackgroundWorker
410
+ include ::Sentry::LoggingHelper
411
+
412
+ # source://sentry-ruby//lib/sentry/background_worker.rb#18
413
+ def initialize(configuration); end
414
+
415
+ # source://sentry-ruby//lib/sentry/background_worker.rb#68
416
+ def full?; end
417
+
418
+ # source://sentry-ruby//lib/sentry/background_worker.rb#13
419
+ def logger; end
420
+
421
+ # source://sentry-ruby//lib/sentry/background_worker.rb#11
422
+ def max_queue; end
423
+
424
+ # source://sentry-ruby//lib/sentry/background_worker.rb#11
425
+ def number_of_threads; end
426
+
427
+ # source://sentry-ruby//lib/sentry/background_worker.rb#53
428
+ def perform(&block); end
429
+
430
+ # source://sentry-ruby//lib/sentry/background_worker.rb#63
431
+ def shutdown; end
432
+
433
+ # source://sentry-ruby//lib/sentry/background_worker.rb#14
434
+ def shutdown_timeout; end
435
+
436
+ # source://sentry-ruby//lib/sentry/background_worker.rb#14
437
+ def shutdown_timeout=(_arg0); end
438
+
439
+ private
440
+
441
+ # source://sentry-ruby//lib/sentry/background_worker.rb#75
442
+ def _perform(&block); end
443
+ end
444
+
445
+ # source://sentry-ruby//lib/sentry/background_worker.rb#16
446
+ Sentry::BackgroundWorker::DEFAULT_MAX_QUEUE = T.let(T.unsafe(nil), Integer)
447
+
448
+ # source://sentry-ruby//lib/sentry/backpressure_monitor.rb#4
449
+ class Sentry::BackpressureMonitor < ::Sentry::ThreadedPeriodicWorker
450
+ # source://sentry-ruby//lib/sentry/backpressure_monitor.rb#8
451
+ def initialize(configuration, client, interval: T.unsafe(nil)); end
452
+
453
+ # source://sentry-ruby//lib/sentry/backpressure_monitor.rb#31
454
+ def check_health; end
455
+
456
+ # source://sentry-ruby//lib/sentry/backpressure_monitor.rb#21
457
+ def downsample_factor; end
458
+
459
+ # source://sentry-ruby//lib/sentry/backpressure_monitor.rb#16
460
+ def healthy?; end
461
+
462
+ # source://sentry-ruby//lib/sentry/backpressure_monitor.rb#26
463
+ def run; end
464
+
465
+ # source://sentry-ruby//lib/sentry/backpressure_monitor.rb#35
466
+ def set_downsample_factor; end
467
+ end
468
+
469
+ # source://sentry-ruby//lib/sentry/backpressure_monitor.rb#5
470
+ Sentry::BackpressureMonitor::DEFAULT_INTERVAL = T.let(T.unsafe(nil), Integer)
471
+
472
+ # source://sentry-ruby//lib/sentry/backpressure_monitor.rb#6
473
+ Sentry::BackpressureMonitor::MAX_DOWNSAMPLE_FACTOR = T.let(T.unsafe(nil), Integer)
474
+
475
+ # source://sentry-ruby//lib/sentry/backtrace.rb#7
476
+ class Sentry::Backtrace
477
+ # source://sentry-ruby//lib/sentry/backtrace.rb#102
478
+ def initialize(lines); end
479
+
480
+ # source://sentry-ruby//lib/sentry/backtrace.rb#118
481
+ def ==(other); end
482
+
483
+ # source://sentry-ruby//lib/sentry/backtrace.rb#106
484
+ def inspect; end
485
+
486
+ # source://sentry-ruby//lib/sentry/backtrace.rb#84
487
+ def lines; end
488
+
489
+ # source://sentry-ruby//lib/sentry/backtrace.rb#110
490
+ def to_s; end
491
+
492
+ class << self
493
+ # source://sentry-ruby//lib/sentry/backtrace.rb#86
494
+ def parse(backtrace, project_root, app_dirs_pattern, &backtrace_cleanup_callback); end
495
+ end
496
+ end
497
+
498
+ # source://sentry-ruby//lib/sentry/backtrace.rb#9
499
+ class Sentry::Backtrace::Line
500
+ # source://sentry-ruby//lib/sentry/backtrace.rb#51
501
+ def initialize(file, number, method, module_name, in_app_pattern); end
502
+
503
+ # source://sentry-ruby//lib/sentry/backtrace.rb#74
504
+ def ==(other); end
505
+
506
+ # source://sentry-ruby//lib/sentry/backtrace.rb#22
507
+ def file; end
508
+
509
+ # source://sentry-ruby//lib/sentry/backtrace.rb#59
510
+ def in_app; end
511
+
512
+ # source://sentry-ruby//lib/sentry/backtrace.rb#33
513
+ def in_app_pattern; end
514
+
515
+ # source://sentry-ruby//lib/sentry/backtrace.rb#78
516
+ def inspect; end
517
+
518
+ # source://sentry-ruby//lib/sentry/backtrace.rb#28
519
+ def method; end
520
+
521
+ # source://sentry-ruby//lib/sentry/backtrace.rb#31
522
+ def module_name; end
523
+
524
+ # source://sentry-ruby//lib/sentry/backtrace.rb#25
525
+ def number; end
526
+
527
+ # source://sentry-ruby//lib/sentry/backtrace.rb#70
528
+ def to_s; end
529
+
530
+ class << self
531
+ # source://sentry-ruby//lib/sentry/backtrace.rb#38
532
+ def parse(unparsed_line, in_app_pattern = T.unsafe(nil)); end
533
+ end
534
+ end
535
+
536
+ # source://sentry-ruby//lib/sentry/backtrace.rb#19
537
+ Sentry::Backtrace::Line::JAVA_INPUT_FORMAT = T.let(T.unsafe(nil), Regexp)
538
+
539
+ # source://sentry-ruby//lib/sentry/backtrace.rb#10
540
+ Sentry::Backtrace::Line::RB_EXTENSION = T.let(T.unsafe(nil), String)
541
+
542
+ # source://sentry-ruby//lib/sentry/backtrace.rb#12
543
+ Sentry::Backtrace::Line::RUBY_INPUT_FORMAT = T.let(T.unsafe(nil), Regexp)
544
+
545
+ # source://sentry-ruby//lib/sentry/baggage.rb#7
546
+ class Sentry::Baggage
547
+ # source://sentry-ruby//lib/sentry/baggage.rb#17
548
+ def initialize(items, mutable: T.unsafe(nil)); end
549
+
550
+ # source://sentry-ruby//lib/sentry/baggage.rb#59
551
+ def dynamic_sampling_context; end
552
+
553
+ # source://sentry-ruby//lib/sentry/baggage.rb#52
554
+ def freeze!; end
555
+
556
+ # source://sentry-ruby//lib/sentry/baggage.rb#12
557
+ def items; end
558
+
559
+ # source://sentry-ruby//lib/sentry/baggage.rb#15
560
+ def mutable; end
561
+
562
+ # source://sentry-ruby//lib/sentry/baggage.rb#65
563
+ def serialize; end
564
+
565
+ class << self
566
+ # source://sentry-ruby//lib/sentry/baggage.rb#29
567
+ def from_incoming_header(header); end
568
+ end
569
+ end
570
+
571
+ # source://sentry-ruby//lib/sentry/baggage.rb#8
572
+ Sentry::Baggage::SENTRY_PREFIX = T.let(T.unsafe(nil), String)
573
+
574
+ # source://sentry-ruby//lib/sentry/baggage.rb#9
575
+ Sentry::Baggage::SENTRY_PREFIX_REGEX = T.let(T.unsafe(nil), Regexp)
576
+
577
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#4
578
+ class Sentry::Breadcrumb
579
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#26
580
+ def initialize(category: T.unsafe(nil), data: T.unsafe(nil), message: T.unsafe(nil), timestamp: T.unsafe(nil), level: T.unsafe(nil), type: T.unsafe(nil)); end
581
+
582
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#8
583
+ def category; end
584
+
585
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#8
586
+ def category=(_arg0); end
587
+
588
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#10
589
+ def data; end
590
+
591
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#10
592
+ def data=(_arg0); end
593
+
594
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#12
595
+ def level; end
596
+
597
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#55
598
+ def level=(level); end
599
+
600
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#18
601
+ def message; end
602
+
603
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#49
604
+ def message=(message); end
605
+
606
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#14
607
+ def timestamp; end
608
+
609
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#14
610
+ def timestamp=(_arg0); end
611
+
612
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#36
613
+ def to_hash; end
614
+
615
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#16
616
+ def type; end
617
+
618
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#16
619
+ def type=(_arg0); end
620
+
621
+ private
622
+
623
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#61
624
+ def serialized_data; end
625
+ end
626
+
627
+ # source://sentry-ruby//lib/sentry/breadcrumb.rb#5
628
+ Sentry::Breadcrumb::DATA_SERIALIZATION_ERROR_MESSAGE = T.let(T.unsafe(nil), String)
629
+
630
+ # source://sentry-ruby//lib/sentry/breadcrumb_buffer.rb#6
631
+ class Sentry::BreadcrumbBuffer
632
+ include ::Enumerable
633
+
634
+ # source://sentry-ruby//lib/sentry/breadcrumb_buffer.rb#14
635
+ def initialize(size = T.unsafe(nil)); end
636
+
637
+ # source://sentry-ruby//lib/sentry/breadcrumb_buffer.rb#11
638
+ def buffer; end
639
+
640
+ # source://sentry-ruby//lib/sentry/breadcrumb_buffer.rb#11
641
+ def buffer=(_arg0); end
642
+
643
+ # source://sentry-ruby//lib/sentry/breadcrumb_buffer.rb#58
644
+ def dup; end
645
+
646
+ # source://sentry-ruby//lib/sentry/breadcrumb_buffer.rb#41
647
+ def each(&block); end
648
+
649
+ # source://sentry-ruby//lib/sentry/breadcrumb_buffer.rb#46
650
+ def empty?; end
651
+
652
+ # source://sentry-ruby//lib/sentry/breadcrumb_buffer.rb#27
653
+ def members; end
654
+
655
+ # source://sentry-ruby//lib/sentry/breadcrumb_buffer.rb#33
656
+ def peek; end
657
+
658
+ # source://sentry-ruby//lib/sentry/breadcrumb_buffer.rb#20
659
+ def record(crumb); end
660
+
661
+ # source://sentry-ruby//lib/sentry/breadcrumb_buffer.rb#51
662
+ def to_hash; end
663
+ end
664
+
665
+ # source://sentry-ruby//lib/sentry/breadcrumb_buffer.rb#7
666
+ Sentry::BreadcrumbBuffer::DEFAULT_SIZE = T.let(T.unsafe(nil), Integer)
667
+
668
+ # source://sentry-ruby//lib/sentry-ruby.rb#43
669
+ Sentry::CAPTURED_SIGNATURE = T.let(T.unsafe(nil), Symbol)
670
+
671
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#7
672
+ class Sentry::CheckInEvent < ::Sentry::Event
673
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#32
674
+ def initialize(slug:, status:, duration: T.unsafe(nil), monitor_config: T.unsafe(nil), check_in_id: T.unsafe(nil), **options); end
675
+
676
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#12
677
+ def check_in_id; end
678
+
679
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#12
680
+ def check_in_id=(_arg0); end
681
+
682
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#20
683
+ def duration; end
684
+
685
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#20
686
+ def duration=(_arg0); end
687
+
688
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#24
689
+ def monitor_config; end
690
+
691
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#24
692
+ def monitor_config=(_arg0); end
693
+
694
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#16
695
+ def monitor_slug; end
696
+
697
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#16
698
+ def monitor_slug=(_arg0); end
699
+
700
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#28
701
+ def status; end
702
+
703
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#28
704
+ def status=(_arg0); end
705
+
706
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#50
707
+ def to_hash; end
708
+ end
709
+
710
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#8
711
+ Sentry::CheckInEvent::TYPE = T.let(T.unsafe(nil), String)
712
+
713
+ # source://sentry-ruby//lib/sentry/check_in_event.rb#30
714
+ Sentry::CheckInEvent::VALID_STATUSES = T.let(T.unsafe(nil), Array)
715
+
716
+ # source://sentry-ruby//lib/sentry/client.rb#6
717
+ class Sentry::Client
718
+ include ::Sentry::LoggingHelper
719
+
720
+ # source://sentry-ruby//lib/sentry/client.rb#24
721
+ def initialize(configuration); end
722
+
723
+ # source://sentry-ruby//lib/sentry/client.rb#94
724
+ def capture_envelope(envelope); end
725
+
726
+ # source://sentry-ruby//lib/sentry/client.rb#48
727
+ def capture_event(event, scope, hint = T.unsafe(nil)); end
728
+
729
+ # source://sentry-ruby//lib/sentry/client.rb#18
730
+ def configuration; end
731
+
732
+ # source://sentry-ruby//lib/sentry/client.rb#149
733
+ def event_from_check_in(slug, status, hint = T.unsafe(nil), duration: T.unsafe(nil), monitor_config: T.unsafe(nil), check_in_id: T.unsafe(nil)); end
734
+
735
+ # source://sentry-ruby//lib/sentry/client.rb#109
736
+ def event_from_exception(exception, hint = T.unsafe(nil)); end
737
+
738
+ # source://sentry-ruby//lib/sentry/client.rb#129
739
+ def event_from_message(message, hint = T.unsafe(nil), backtrace: T.unsafe(nil)); end
740
+
741
+ # source://sentry-ruby//lib/sentry/client.rb#173
742
+ def event_from_transaction(transaction); end
743
+
744
+ # source://sentry-ruby//lib/sentry/client.rb#100
745
+ def flush; end
746
+
747
+ # source://sentry-ruby//lib/sentry/client.rb#255
748
+ def generate_baggage(span); end
749
+
750
+ # source://sentry-ruby//lib/sentry/client.rb#241
751
+ def generate_sentry_trace(span); end
752
+
753
+ # source://sentry-ruby//lib/sentry/client.rb#21
754
+ def logger; end
755
+
756
+ # source://sentry-ruby//lib/sentry/client.rb#222
757
+ def send_envelope(envelope); end
758
+
759
+ # source://sentry-ruby//lib/sentry/client.rb#178
760
+ def send_event(event, hint = T.unsafe(nil)); end
761
+
762
+ # source://sentry-ruby//lib/sentry/client.rb#15
763
+ def spotlight_transport; end
764
+
765
+ # source://sentry-ruby//lib/sentry/client.rb#11
766
+ def transport; end
767
+
768
+ private
769
+
770
+ # source://sentry-ruby//lib/sentry/client.rb#275
771
+ def dispatch_async_event(async_block, event, hint); end
772
+
773
+ # source://sentry-ruby//lib/sentry/client.rb#269
774
+ def dispatch_background_event(event, hint); end
775
+ end
776
+
777
+ # source://sentry-ruby//lib/sentry/configuration.rb#17
778
+ class Sentry::Configuration
779
+ include ::Sentry::CustomInspection
780
+ include ::Sentry::LoggingHelper
781
+ include ::Sentry::ArgumentCheckingHelper
782
+
783
+ # source://sentry-ruby//lib/sentry/configuration.rb#365
784
+ def initialize; end
785
+
786
+ # source://sentry-ruby//lib/sentry/configuration.rb#29
787
+ def app_dirs_pattern; end
788
+
789
+ # source://sentry-ruby//lib/sentry/configuration.rb#29
790
+ def app_dirs_pattern=(_arg0); end
791
+
792
+ # source://sentry-ruby//lib/sentry/configuration.rb#36
793
+ def async; end
794
+
795
+ # source://sentry-ruby//lib/sentry/configuration.rb#432
796
+ def async=(value); end
797
+
798
+ # source://sentry-ruby//lib/sentry/configuration.rb#277
799
+ def auto_session_tracking; end
800
+
801
+ # source://sentry-ruby//lib/sentry/configuration.rb#277
802
+ def auto_session_tracking=(_arg0); end
803
+
804
+ # source://sentry-ruby//lib/sentry/configuration.rb#53
805
+ def background_worker_max_queue; end
806
+
807
+ # source://sentry-ruby//lib/sentry/configuration.rb#53
808
+ def background_worker_max_queue=(_arg0); end
809
+
810
+ # source://sentry-ruby//lib/sentry/configuration.rb#46
811
+ def background_worker_threads; end
812
+
813
+ # source://sentry-ruby//lib/sentry/configuration.rb#46
814
+ def background_worker_threads=(_arg0); end
815
+
816
+ # source://sentry-ruby//lib/sentry/configuration.rb#64
817
+ def backtrace_cleanup_callback; end
818
+
819
+ # source://sentry-ruby//lib/sentry/configuration.rb#64
820
+ def backtrace_cleanup_callback=(_arg0); end
821
+
822
+ # source://sentry-ruby//lib/sentry/configuration.rb#73
823
+ def before_breadcrumb; end
824
+
825
+ # source://sentry-ruby//lib/sentry/configuration.rb#473
826
+ def before_breadcrumb=(value); end
827
+
828
+ # source://sentry-ruby//lib/sentry/configuration.rb#87
829
+ def before_send; end
830
+
831
+ # source://sentry-ruby//lib/sentry/configuration.rb#461
832
+ def before_send=(value); end
833
+
834
+ # source://sentry-ruby//lib/sentry/configuration.rb#100
835
+ def before_send_transaction; end
836
+
837
+ # source://sentry-ruby//lib/sentry/configuration.rb#467
838
+ def before_send_transaction=(value); end
839
+
840
+ # source://sentry-ruby//lib/sentry/configuration.rb#112
841
+ def breadcrumbs_logger; end
842
+
843
+ # source://sentry-ruby//lib/sentry/configuration.rb#448
844
+ def breadcrumbs_logger=(logger); end
845
+
846
+ # source://sentry-ruby//lib/sentry/configuration.rb#155
847
+ def capture_exception_frame_locals; end
848
+
849
+ # source://sentry-ruby//lib/sentry/configuration.rb#169
850
+ def capture_exception_frame_locals=(value); end
851
+
852
+ # source://sentry-ruby//lib/sentry/configuration.rb#120
853
+ def context_lines; end
854
+
855
+ # source://sentry-ruby//lib/sentry/configuration.rb#120
856
+ def context_lines=(_arg0); end
857
+
858
+ # source://sentry-ruby//lib/sentry/configuration.rb#245
859
+ def cron; end
860
+
861
+ # source://sentry-ruby//lib/sentry/configuration.rb#574
862
+ def csp_report_uri; end
863
+
864
+ # source://sentry-ruby//lib/sentry/configuration.rb#129
865
+ def debug; end
866
+
867
+ # source://sentry-ruby//lib/sentry/configuration.rb#129
868
+ def debug=(_arg0); end
869
+
870
+ # source://sentry-ruby//lib/sentry/configuration.rb#596
871
+ def detect_release; end
872
+
873
+ # source://sentry-ruby//lib/sentry/configuration.rb#133
874
+ def dsn; end
875
+
876
+ # source://sentry-ruby//lib/sentry/configuration.rb#420
877
+ def dsn=(value); end
878
+
879
+ # source://sentry-ruby//lib/sentry/configuration.rb#283
880
+ def enable_backpressure_handling; end
881
+
882
+ # source://sentry-ruby//lib/sentry/configuration.rb#283
883
+ def enable_backpressure_handling=(_arg0); end
884
+
885
+ # source://sentry-ruby//lib/sentry/configuration.rb#268
886
+ def enable_tracing; end
887
+
888
+ # source://sentry-ruby//lib/sentry/configuration.rb#487
889
+ def enable_tracing=(enable_tracing); end
890
+
891
+ # source://sentry-ruby//lib/sentry/configuration.rb#137
892
+ def enabled_environments; end
893
+
894
+ # source://sentry-ruby//lib/sentry/configuration.rb#137
895
+ def enabled_environments=(_arg0); end
896
+
897
+ # source://sentry-ruby//lib/sentry/configuration.rb#552
898
+ def enabled_in_current_env?; end
899
+
900
+ # source://sentry-ruby//lib/sentry/configuration.rb#307
901
+ def enabled_patches; end
902
+
903
+ # source://sentry-ruby//lib/sentry/configuration.rb#307
904
+ def enabled_patches=(_arg0); end
905
+
906
+ # source://sentry-ruby//lib/sentry/configuration.rb#124
907
+ def environment; end
908
+
909
+ # source://sentry-ruby//lib/sentry/configuration.rb#479
910
+ def environment=(environment); end
911
+
912
+ # source://sentry-ruby//lib/sentry/configuration.rb#609
913
+ def error_messages; end
914
+
915
+ # source://sentry-ruby//lib/sentry/configuration.rb#311
916
+ def errors; end
917
+
918
+ # source://sentry-ruby//lib/sentry/configuration.rb#539
919
+ def exception_class_allowed?(exc); end
920
+
921
+ # source://sentry-ruby//lib/sentry/configuration.rb#141
922
+ def exclude_loggers; end
923
+
924
+ # source://sentry-ruby//lib/sentry/configuration.rb#141
925
+ def exclude_loggers=(_arg0); end
926
+
927
+ # source://sentry-ruby//lib/sentry/configuration.rb#146
928
+ def excluded_exceptions; end
929
+
930
+ # source://sentry-ruby//lib/sentry/configuration.rb#146
931
+ def excluded_exceptions=(_arg0); end
932
+
933
+ # source://sentry-ruby//lib/sentry/configuration.rb#311
934
+ def gem_specs; end
935
+
936
+ # source://sentry-ruby//lib/sentry/configuration.rb#155
937
+ def include_local_variables; end
938
+
939
+ # source://sentry-ruby//lib/sentry/configuration.rb#155
940
+ def include_local_variables=(_arg0); end
941
+
942
+ # source://sentry-ruby//lib/sentry/configuration.rb#150
943
+ def inspect_exception_causes_for_exclusion; end
944
+
945
+ # source://sentry-ruby//lib/sentry/configuration.rb#150
946
+ def inspect_exception_causes_for_exclusion=(_arg0); end
947
+
948
+ # source://sentry-ruby//lib/sentry/configuration.rb#150
949
+ def inspect_exception_causes_for_exclusion?; end
950
+
951
+ # source://sentry-ruby//lib/sentry/configuration.rb#292
952
+ def instrumenter; end
953
+
954
+ # source://sentry-ruby//lib/sentry/configuration.rb#483
955
+ def instrumenter=(instrumenter); end
956
+
957
+ # source://sentry-ruby//lib/sentry/configuration.rb#492
958
+ def is_numeric_or_nil?(value); end
959
+
960
+ # source://sentry-ruby//lib/sentry/configuration.rb#181
961
+ def linecache; end
962
+
963
+ # source://sentry-ruby//lib/sentry/configuration.rb#181
964
+ def linecache=(_arg0); end
965
+
966
+ # source://sentry-ruby//lib/sentry/configuration.rb#186
967
+ def logger; end
968
+
969
+ # source://sentry-ruby//lib/sentry/configuration.rb#186
970
+ def logger=(_arg0); end
971
+
972
+ # source://sentry-ruby//lib/sentry/configuration.rb#116
973
+ def max_breadcrumbs; end
974
+
975
+ # source://sentry-ruby//lib/sentry/configuration.rb#116
976
+ def max_breadcrumbs=(_arg0); end
977
+
978
+ # source://sentry-ruby//lib/sentry/configuration.rb#249
979
+ def metrics; end
980
+
981
+ # source://sentry-ruby//lib/sentry/configuration.rb#296
982
+ def profiler_class; end
983
+
984
+ # source://sentry-ruby//lib/sentry/configuration.rb#507
985
+ def profiler_class=(profiler_class); end
986
+
987
+ # source://sentry-ruby//lib/sentry/configuration.rb#302
988
+ def profiles_sample_rate; end
989
+
990
+ # source://sentry-ruby//lib/sentry/configuration.rb#501
991
+ def profiles_sample_rate=(profiles_sample_rate); end
992
+
993
+ # source://sentry-ruby//lib/sentry/configuration.rb#567
994
+ def profiling_enabled?; end
995
+
996
+ # source://sentry-ruby//lib/sentry/configuration.rb#191
997
+ def project_root; end
998
+
999
+ # source://sentry-ruby//lib/sentry/configuration.rb#191
1000
+ def project_root=(_arg0); end
1001
+
1002
+ # source://sentry-ruby//lib/sentry/configuration.rb#200
1003
+ def propagate_traces; end
1004
+
1005
+ # source://sentry-ruby//lib/sentry/configuration.rb#200
1006
+ def propagate_traces=(_arg0); end
1007
+
1008
+ # source://sentry-ruby//lib/sentry/configuration.rb#204
1009
+ def rack_env_whitelist; end
1010
+
1011
+ # source://sentry-ruby//lib/sentry/configuration.rb#204
1012
+ def rack_env_whitelist=(_arg0); end
1013
+
1014
+ # source://sentry-ruby//lib/sentry/configuration.rb#209
1015
+ def release; end
1016
+
1017
+ # source://sentry-ruby//lib/sentry/configuration.rb#426
1018
+ def release=(value); end
1019
+
1020
+ # source://sentry-ruby//lib/sentry/configuration.rb#529
1021
+ def sample_allowed?; end
1022
+
1023
+ # source://sentry-ruby//lib/sentry/configuration.rb#214
1024
+ def sample_rate; end
1025
+
1026
+ # source://sentry-ruby//lib/sentry/configuration.rb#214
1027
+ def sample_rate=(_arg0); end
1028
+
1029
+ # source://sentry-ruby//lib/sentry/configuration.rb#273
1030
+ def send_client_reports; end
1031
+
1032
+ # source://sentry-ruby//lib/sentry/configuration.rb#273
1033
+ def send_client_reports=(_arg0); end
1034
+
1035
+ # source://sentry-ruby//lib/sentry/configuration.rb#227
1036
+ def send_default_pii; end
1037
+
1038
+ # source://sentry-ruby//lib/sentry/configuration.rb#227
1039
+ def send_default_pii=(_arg0); end
1040
+
1041
+ # source://sentry-ruby//lib/sentry/configuration.rb#218
1042
+ def send_modules; end
1043
+
1044
+ # source://sentry-ruby//lib/sentry/configuration.rb#218
1045
+ def send_modules=(_arg0); end
1046
+
1047
+ # source://sentry-ruby//lib/sentry/configuration.rb#519
1048
+ def sending_allowed?; end
1049
+
1050
+ # source://sentry-ruby//lib/sentry/configuration.rb#523
1051
+ def sending_to_dsn_allowed?; end
1052
+
1053
+ # source://sentry-ruby//lib/sentry/configuration.rb#420
1054
+ def server=(value); end
1055
+
1056
+ # source://sentry-ruby//lib/sentry/configuration.rb#237
1057
+ def server_name; end
1058
+
1059
+ # source://sentry-ruby//lib/sentry/configuration.rb#237
1060
+ def server_name=(_arg0); end
1061
+
1062
+ # source://sentry-ruby//lib/sentry/configuration.rb#535
1063
+ def session_tracking?; end
1064
+
1065
+ # source://sentry-ruby//lib/sentry/configuration.rb#231
1066
+ def skip_rake_integration; end
1067
+
1068
+ # source://sentry-ruby//lib/sentry/configuration.rb#231
1069
+ def skip_rake_integration=(_arg0); end
1070
+
1071
+ # source://sentry-ruby//lib/sentry/configuration.rb#163
1072
+ def spotlight; end
1073
+
1074
+ # source://sentry-ruby//lib/sentry/configuration.rb#163
1075
+ def spotlight=(_arg0); end
1076
+
1077
+ # source://sentry-ruby//lib/sentry/configuration.rb#584
1078
+ def stacktrace_builder; end
1079
+
1080
+ # source://sentry-ruby//lib/sentry/configuration.rb#196
1081
+ def strip_backtrace_load_path; end
1082
+
1083
+ # source://sentry-ruby//lib/sentry/configuration.rb#196
1084
+ def strip_backtrace_load_path=(_arg0); end
1085
+
1086
+ # source://sentry-ruby//lib/sentry/configuration.rb#288
1087
+ def trace_propagation_targets; end
1088
+
1089
+ # source://sentry-ruby//lib/sentry/configuration.rb#288
1090
+ def trace_propagation_targets=(_arg0); end
1091
+
1092
+ # source://sentry-ruby//lib/sentry/configuration.rb#253
1093
+ def traces_sample_rate; end
1094
+
1095
+ # source://sentry-ruby//lib/sentry/configuration.rb#496
1096
+ def traces_sample_rate=(traces_sample_rate); end
1097
+
1098
+ # source://sentry-ruby//lib/sentry/configuration.rb#263
1099
+ def traces_sampler; end
1100
+
1101
+ # source://sentry-ruby//lib/sentry/configuration.rb#263
1102
+ def traces_sampler=(_arg0); end
1103
+
1104
+ # source://sentry-ruby//lib/sentry/configuration.rb#561
1105
+ def tracing_enabled?; end
1106
+
1107
+ # source://sentry-ruby//lib/sentry/configuration.rb#241
1108
+ def transport; end
1109
+
1110
+ # source://sentry-ruby//lib/sentry/configuration.rb#234
1111
+ def trusted_proxies; end
1112
+
1113
+ # source://sentry-ruby//lib/sentry/configuration.rb#234
1114
+ def trusted_proxies=(_arg0); end
1115
+
1116
+ # source://sentry-ruby//lib/sentry/configuration.rb#556
1117
+ def valid_sample_rate?(sample_rate); end
1118
+
1119
+ private
1120
+
1121
+ # source://sentry-ruby//lib/sentry/configuration.rb#651
1122
+ def capture_in_environment?; end
1123
+
1124
+ # source://sentry-ruby//lib/sentry/configuration.rb#667
1125
+ def environment_from_env; end
1126
+
1127
+ # source://sentry-ruby//lib/sentry/configuration.rb#622
1128
+ def excluded_exception?(incoming_exception); end
1129
+
1130
+ # source://sentry-ruby//lib/sentry/configuration.rb#628
1131
+ def excluded_exception_classes; end
1132
+
1133
+ # source://sentry-ruby//lib/sentry/configuration.rb#632
1134
+ def get_exception_class(x); end
1135
+
1136
+ # source://sentry-ruby//lib/sentry/configuration.rb#616
1137
+ def init_dsn(dsn_string); end
1138
+
1139
+ # source://sentry-ruby//lib/sentry/configuration.rb#636
1140
+ def matches_exception?(excluded_exception_class, incoming_exception); end
1141
+
1142
+ # source://sentry-ruby//lib/sentry/configuration.rb#691
1143
+ def processor_count; end
1144
+
1145
+ # source://sentry-ruby//lib/sentry/configuration.rb#685
1146
+ def run_post_initialization_callbacks; end
1147
+
1148
+ # source://sentry-ruby//lib/sentry/configuration.rb#681
1149
+ def running_on_heroku?; end
1150
+
1151
+ # source://sentry-ruby//lib/sentry/configuration.rb#644
1152
+ def safe_const_get(x); end
1153
+
1154
+ # source://sentry-ruby//lib/sentry/configuration.rb#671
1155
+ def server_name_from_env; end
1156
+
1157
+ # source://sentry-ruby//lib/sentry/configuration.rb#658
1158
+ def valid?; end
1159
+
1160
+ class << self
1161
+ # source://sentry-ruby//lib/sentry/configuration.rb#360
1162
+ def add_post_initialization_callback(&block); end
1163
+
1164
+ # source://sentry-ruby//lib/sentry/configuration.rb#355
1165
+ def post_initialization_callbacks; end
1166
+ end
1167
+ end
1168
+
1169
+ # source://sentry-ruby//lib/sentry/configuration.rb#350
1170
+ Sentry::Configuration::APP_DIRS_PATTERN = T.let(T.unsafe(nil), Regexp)
1171
+
1172
+ # source://sentry-ruby//lib/sentry/configuration.rb#348
1173
+ Sentry::Configuration::DEFAULT_PATCHES = T.let(T.unsafe(nil), Array)
1174
+
1175
+ # source://sentry-ruby//lib/sentry/configuration.rb#337
1176
+ Sentry::Configuration::HEROKU_DYNO_METADATA_MESSAGE = T.let(T.unsafe(nil), String)
1177
+
1178
+ # source://sentry-ruby//lib/sentry/configuration.rb#324
1179
+ Sentry::Configuration::IGNORE_DEFAULT = T.let(T.unsafe(nil), Array)
1180
+
1181
+ # source://sentry-ruby//lib/sentry/configuration.rb#344
1182
+ Sentry::Configuration::INSTRUMENTERS = T.let(T.unsafe(nil), Array)
1183
+
1184
+ # source://sentry-ruby//lib/sentry/configuration.rb#340
1185
+ Sentry::Configuration::LOG_PREFIX = T.let(T.unsafe(nil), String)
1186
+
1187
+ # source://sentry-ruby//lib/sentry/configuration.rb#341
1188
+ Sentry::Configuration::MODULE_SEPARATOR = T.let(T.unsafe(nil), String)
1189
+
1190
+ # source://sentry-ruby//lib/sentry/configuration.rb#346
1191
+ Sentry::Configuration::PROPAGATION_TARGETS_MATCH_ALL = T.let(T.unsafe(nil), Regexp)
1192
+
1193
+ # source://sentry-ruby//lib/sentry/configuration.rb#316
1194
+ Sentry::Configuration::PUMA_IGNORE_DEFAULT = T.let(T.unsafe(nil), Array)
1195
+
1196
+ # source://sentry-ruby//lib/sentry/configuration.rb#331
1197
+ Sentry::Configuration::RACK_ENV_WHITELIST_DEFAULT = T.let(T.unsafe(nil), Array)
1198
+
1199
+ # source://sentry-ruby//lib/sentry/configuration.rb#342
1200
+ Sentry::Configuration::SKIP_INSPECTION_ATTRIBUTES = T.let(T.unsafe(nil), Array)
1201
+
1202
+ # source://sentry-ruby//lib/sentry/cron/configuration.rb#4
1203
+ module Sentry::Cron; end
1204
+
1205
+ # source://sentry-ruby//lib/sentry/cron/configuration.rb#5
1206
+ class Sentry::Cron::Configuration
1207
+ # source://sentry-ruby//lib/sentry/cron/configuration.rb#11
1208
+ def default_checkin_margin; end
1209
+
1210
+ # source://sentry-ruby//lib/sentry/cron/configuration.rb#11
1211
+ def default_checkin_margin=(_arg0); end
1212
+
1213
+ # source://sentry-ruby//lib/sentry/cron/configuration.rb#16
1214
+ def default_max_runtime; end
1215
+
1216
+ # source://sentry-ruby//lib/sentry/cron/configuration.rb#16
1217
+ def default_max_runtime=(_arg0); end
1218
+
1219
+ # source://sentry-ruby//lib/sentry/cron/configuration.rb#20
1220
+ def default_timezone; end
1221
+
1222
+ # source://sentry-ruby//lib/sentry/cron/configuration.rb#20
1223
+ def default_timezone=(_arg0); end
1224
+ end
1225
+
1226
+ # source://sentry-ruby//lib/sentry/cron/monitor_check_ins.rb#5
1227
+ module Sentry::Cron::MonitorCheckIns
1228
+ mixes_in_class_methods ::Sentry::Cron::MonitorCheckIns::ClassMethods
1229
+
1230
+ class << self
1231
+ # source://sentry-ruby//lib/sentry/cron/monitor_check_ins.rb#72
1232
+ def included(base); end
1233
+ end
1234
+ end
1235
+
1236
+ # source://sentry-ruby//lib/sentry/cron/monitor_check_ins.rb#45
1237
+ module Sentry::Cron::MonitorCheckIns::ClassMethods
1238
+ # source://sentry-ruby//lib/sentry/cron/monitor_check_ins.rb#46
1239
+ def sentry_monitor_check_ins(slug: T.unsafe(nil), monitor_config: T.unsafe(nil)); end
1240
+
1241
+ # source://sentry-ruby//lib/sentry/cron/monitor_check_ins.rb#67
1242
+ def sentry_monitor_config; end
1243
+
1244
+ # source://sentry-ruby//lib/sentry/cron/monitor_check_ins.rb#60
1245
+ def sentry_monitor_slug(name: T.unsafe(nil)); end
1246
+ end
1247
+
1248
+ # source://sentry-ruby//lib/sentry/cron/monitor_check_ins.rb#6
1249
+ Sentry::Cron::MonitorCheckIns::MAX_SLUG_LENGTH = T.let(T.unsafe(nil), Integer)
1250
+
1251
+ # source://sentry-ruby//lib/sentry/cron/monitor_check_ins.rb#8
1252
+ module Sentry::Cron::MonitorCheckIns::Patch
1253
+ # source://sentry-ruby//lib/sentry/cron/monitor_check_ins.rb#9
1254
+ def perform(*args, **opts); end
1255
+ end
1256
+
1257
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#7
1258
+ class Sentry::Cron::MonitorConfig
1259
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#26
1260
+ def initialize(schedule, checkin_margin: T.unsafe(nil), max_runtime: T.unsafe(nil), timezone: T.unsafe(nil)); end
1261
+
1262
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#15
1263
+ def checkin_margin; end
1264
+
1265
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#15
1266
+ def checkin_margin=(_arg0); end
1267
+
1268
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#20
1269
+ def max_runtime; end
1270
+
1271
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#20
1272
+ def max_runtime=(_arg0); end
1273
+
1274
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#10
1275
+ def schedule; end
1276
+
1277
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#10
1278
+ def schedule=(_arg0); end
1279
+
1280
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#24
1281
+ def timezone; end
1282
+
1283
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#24
1284
+ def timezone=(_arg0); end
1285
+
1286
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#43
1287
+ def to_hash; end
1288
+
1289
+ class << self
1290
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#33
1291
+ def from_crontab(crontab, **options); end
1292
+
1293
+ # source://sentry-ruby//lib/sentry/cron/monitor_config.rb#37
1294
+ def from_interval(num, unit, **options); end
1295
+ end
1296
+ end
1297
+
1298
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#5
1299
+ module Sentry::Cron::MonitorSchedule; end
1300
+
1301
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#6
1302
+ class Sentry::Cron::MonitorSchedule::Crontab
1303
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#11
1304
+ def initialize(value); end
1305
+
1306
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#15
1307
+ def to_hash; end
1308
+
1309
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#9
1310
+ def value; end
1311
+
1312
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#9
1313
+ def value=(_arg0); end
1314
+ end
1315
+
1316
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#20
1317
+ class Sentry::Cron::MonitorSchedule::Interval
1318
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#31
1319
+ def initialize(value, unit); end
1320
+
1321
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#36
1322
+ def to_hash; end
1323
+
1324
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#27
1325
+ def unit; end
1326
+
1327
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#27
1328
+ def unit=(_arg0); end
1329
+
1330
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#23
1331
+ def value; end
1332
+
1333
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#23
1334
+ def value=(_arg0); end
1335
+ end
1336
+
1337
+ # source://sentry-ruby//lib/sentry/cron/monitor_schedule.rb#29
1338
+ Sentry::Cron::MonitorSchedule::Interval::VALID_UNITS = T.let(T.unsafe(nil), Array)
1339
+
1340
+ # source://sentry-ruby//lib/sentry/utils/custom_inspection.rb#4
1341
+ module Sentry::CustomInspection
1342
+ # source://sentry-ruby//lib/sentry/utils/custom_inspection.rb#5
1343
+ def inspect; end
1344
+ end
1345
+
1346
+ # source://sentry-ruby//lib/sentry/dsn.rb#6
1347
+ class Sentry::DSN
1348
+ # source://sentry-ruby//lib/sentry/dsn.rb#12
1349
+ def initialize(dsn_string); end
1350
+
1351
+ # source://sentry-ruby//lib/sentry/dsn.rb#45
1352
+ def csp_report_uri; end
1353
+
1354
+ # source://sentry-ruby//lib/sentry/dsn.rb#49
1355
+ def envelope_endpoint; end
1356
+
1357
+ # source://sentry-ruby//lib/sentry/dsn.rb#10
1358
+ def host; end
1359
+
1360
+ # source://sentry-ruby//lib/sentry/dsn.rb#10
1361
+ def path; end
1362
+
1363
+ # source://sentry-ruby//lib/sentry/dsn.rb#10
1364
+ def port; end
1365
+
1366
+ # source://sentry-ruby//lib/sentry/dsn.rb#10
1367
+ def project_id; end
1368
+
1369
+ # source://sentry-ruby//lib/sentry/dsn.rb#10
1370
+ def public_key; end
1371
+
1372
+ # source://sentry-ruby//lib/sentry/dsn.rb#10
1373
+ def scheme; end
1374
+
1375
+ # source://sentry-ruby//lib/sentry/dsn.rb#10
1376
+ def secret_key; end
1377
+
1378
+ # source://sentry-ruby//lib/sentry/dsn.rb#39
1379
+ def server; end
1380
+
1381
+ # source://sentry-ruby//lib/sentry/dsn.rb#35
1382
+ def to_s; end
1383
+
1384
+ # source://sentry-ruby//lib/sentry/dsn.rb#31
1385
+ def valid?; end
1386
+ end
1387
+
1388
+ # source://sentry-ruby//lib/sentry/dsn.rb#7
1389
+ Sentry::DSN::PORT_MAP = T.let(T.unsafe(nil), Hash)
1390
+
1391
+ # source://sentry-ruby//lib/sentry/dsn.rb#8
1392
+ Sentry::DSN::REQUIRED_ATTRIBUTES = T.let(T.unsafe(nil), Array)
1393
+
1394
+ # source://sentry-ruby//lib/sentry/transport/dummy_transport.rb#4
1395
+ class Sentry::DummyTransport < ::Sentry::Transport
1396
+ # source://sentry-ruby//lib/sentry/transport/dummy_transport.rb#7
1397
+ def initialize(*_arg0); end
1398
+
1399
+ # source://sentry-ruby//lib/sentry/transport/dummy_transport.rb#5
1400
+ def envelopes; end
1401
+
1402
+ # source://sentry-ruby//lib/sentry/transport/dummy_transport.rb#5
1403
+ def envelopes=(_arg0); end
1404
+
1405
+ # source://sentry-ruby//lib/sentry/transport/dummy_transport.rb#5
1406
+ def events; end
1407
+
1408
+ # source://sentry-ruby//lib/sentry/transport/dummy_transport.rb#5
1409
+ def events=(_arg0); end
1410
+
1411
+ # source://sentry-ruby//lib/sentry/transport/dummy_transport.rb#17
1412
+ def send_envelope(envelope); end
1413
+
1414
+ # source://sentry-ruby//lib/sentry/transport/dummy_transport.rb#13
1415
+ def send_event(event); end
1416
+ end
1417
+
1418
+ # source://sentry-ruby//lib/sentry/envelope.rb#5
1419
+ class Sentry::Envelope
1420
+ # source://sentry-ruby//lib/sentry/envelope.rb#8
1421
+ def initialize(headers = T.unsafe(nil)); end
1422
+
1423
+ # source://sentry-ruby//lib/sentry/envelope.rb#13
1424
+ def add_item(headers, payload); end
1425
+
1426
+ # source://sentry-ruby//lib/sentry/envelope.rb#21
1427
+ def event_id; end
1428
+
1429
+ # source://sentry-ruby//lib/sentry/envelope.rb#6
1430
+ def headers; end
1431
+
1432
+ # source://sentry-ruby//lib/sentry/envelope.rb#6
1433
+ def headers=(_arg0); end
1434
+
1435
+ # source://sentry-ruby//lib/sentry/envelope.rb#17
1436
+ def item_types; end
1437
+
1438
+ # source://sentry-ruby//lib/sentry/envelope.rb#6
1439
+ def items; end
1440
+
1441
+ # source://sentry-ruby//lib/sentry/envelope.rb#6
1442
+ def items=(_arg0); end
1443
+ end
1444
+
1445
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#5
1446
+ class Sentry::Envelope::Item
1447
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#28
1448
+ def initialize(headers, payload); end
1449
+
1450
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#13
1451
+ def data_category; end
1452
+
1453
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#13
1454
+ def headers; end
1455
+
1456
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#13
1457
+ def payload; end
1458
+
1459
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#40
1460
+ def serialize; end
1461
+
1462
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#56
1463
+ def size_breakdown; end
1464
+
1465
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#13
1466
+ def size_limit; end
1467
+
1468
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#36
1469
+ def to_s; end
1470
+
1471
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#13
1472
+ def type; end
1473
+
1474
+ private
1475
+
1476
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#72
1477
+ def reduce_stacktrace!; end
1478
+
1479
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#64
1480
+ def remove_breadcrumbs!; end
1481
+
1482
+ class << self
1483
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#16
1484
+ def data_category(type); end
1485
+ end
1486
+ end
1487
+
1488
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#7
1489
+ Sentry::Envelope::Item::MAX_SERIALIZED_PAYLOAD_SIZE = T.let(T.unsafe(nil), Integer)
1490
+
1491
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#9
1492
+ Sentry::Envelope::Item::SIZE_LIMITS = T.let(T.unsafe(nil), Hash)
1493
+
1494
+ # source://sentry-ruby//lib/sentry/envelope/item.rb#6
1495
+ Sentry::Envelope::Item::STACKTRACE_FRAME_LIMIT_ON_OVERSIZED_PAYLOAD = T.let(T.unsafe(nil), Integer)
1496
+
1497
+ # source://sentry-ruby//lib/sentry/exceptions.rb#4
1498
+ class Sentry::Error < ::StandardError; end
1499
+
1500
+ # source://sentry-ruby//lib/sentry/error_event.rb#5
1501
+ class Sentry::ErrorEvent < ::Sentry::Event
1502
+ # source://sentry-ruby//lib/sentry/error_event.rb#30
1503
+ def add_exception_interface(exception, mechanism:); end
1504
+
1505
+ # source://sentry-ruby//lib/sentry/error_event.rb#21
1506
+ def add_threads_interface(backtrace: T.unsafe(nil), **options); end
1507
+
1508
+ # source://sentry-ruby//lib/sentry/error_event.rb#7
1509
+ def exception; end
1510
+
1511
+ # source://sentry-ruby//lib/sentry/error_event.rb#10
1512
+ def threads; end
1513
+
1514
+ # source://sentry-ruby//lib/sentry/error_event.rb#13
1515
+ def to_hash; end
1516
+ end
1517
+
1518
+ # source://sentry-ruby//lib/sentry/event.rb#14
1519
+ class Sentry::Event
1520
+ include ::Sentry::CustomInspection
1521
+
1522
+ # source://sentry-ruby//lib/sentry/event.rb#51
1523
+ def initialize(configuration:, integration_meta: T.unsafe(nil), message: T.unsafe(nil)); end
1524
+
1525
+ # source://sentry-ruby//lib/sentry/event.rb#46
1526
+ def attachments; end
1527
+
1528
+ # source://sentry-ruby//lib/sentry/event.rb#46
1529
+ def attachments=(_arg0); end
1530
+
1531
+ # source://sentry-ruby//lib/sentry/event.rb#35
1532
+ def breadcrumbs; end
1533
+
1534
+ # source://sentry-ruby//lib/sentry/event.rb#34
1535
+ def breadcrumbs=(_arg0); end
1536
+
1537
+ # source://sentry-ruby//lib/sentry/event.rb#85
1538
+ def configuration; end
1539
+
1540
+ # source://sentry-ruby//lib/sentry/event.rb#35
1541
+ def contexts; end
1542
+
1543
+ # source://sentry-ruby//lib/sentry/event.rb#34
1544
+ def contexts=(_arg0); end
1545
+
1546
+ # source://sentry-ruby//lib/sentry/event.rb#43
1547
+ def dynamic_sampling_context; end
1548
+
1549
+ # source://sentry-ruby//lib/sentry/event.rb#43
1550
+ def dynamic_sampling_context=(_arg0); end
1551
+
1552
+ # source://sentry-ruby//lib/sentry/event.rb#35
1553
+ def environment; end
1554
+
1555
+ # source://sentry-ruby//lib/sentry/event.rb#34
1556
+ def environment=(_arg0); end
1557
+
1558
+ # source://sentry-ruby//lib/sentry/event.rb#35
1559
+ def event_id; end
1560
+
1561
+ # source://sentry-ruby//lib/sentry/event.rb#34
1562
+ def event_id=(_arg0); end
1563
+
1564
+ # source://sentry-ruby//lib/sentry/event.rb#35
1565
+ def extra; end
1566
+
1567
+ # source://sentry-ruby//lib/sentry/event.rb#34
1568
+ def extra=(_arg0); end
1569
+
1570
+ # source://sentry-ruby//lib/sentry/event.rb#35
1571
+ def fingerprint; end
1572
+
1573
+ # source://sentry-ruby//lib/sentry/event.rb#34
1574
+ def fingerprint=(_arg0); end
1575
+
1576
+ # source://sentry-ruby//lib/sentry/event.rb#35
1577
+ def level; end
1578
+
1579
+ # source://sentry-ruby//lib/sentry/event.rb#99
1580
+ def level=(level); end
1581
+
1582
+ # source://sentry-ruby//lib/sentry/event.rb#35
1583
+ def message; end
1584
+
1585
+ # source://sentry-ruby//lib/sentry/event.rb#34
1586
+ def message=(_arg0); end
1587
+
1588
+ # source://sentry-ruby//lib/sentry/event.rb#35
1589
+ def modules; end
1590
+
1591
+ # source://sentry-ruby//lib/sentry/event.rb#34
1592
+ def modules=(_arg0); end
1593
+
1594
+ # source://sentry-ruby//lib/sentry/event.rb#35
1595
+ def platform; end
1596
+
1597
+ # source://sentry-ruby//lib/sentry/event.rb#34
1598
+ def platform=(_arg0); end
1599
+
1600
+ # source://sentry-ruby//lib/sentry/event.rb#107
1601
+ def rack_env=(env); end
1602
+
1603
+ # source://sentry-ruby//lib/sentry/event.rb#35
1604
+ def release; end
1605
+
1606
+ # source://sentry-ruby//lib/sentry/event.rb#34
1607
+ def release=(_arg0); end
1608
+
1609
+ # source://sentry-ruby//lib/sentry/event.rb#38
1610
+ def request; end
1611
+
1612
+ # source://sentry-ruby//lib/sentry/event.rb#35
1613
+ def sdk; end
1614
+
1615
+ # source://sentry-ruby//lib/sentry/event.rb#34
1616
+ def sdk=(_arg0); end
1617
+
1618
+ # source://sentry-ruby//lib/sentry/event.rb#35
1619
+ def server_name; end
1620
+
1621
+ # source://sentry-ruby//lib/sentry/event.rb#34
1622
+ def server_name=(_arg0); end
1623
+
1624
+ # source://sentry-ruby//lib/sentry/event.rb#35
1625
+ def tags; end
1626
+
1627
+ # source://sentry-ruby//lib/sentry/event.rb#34
1628
+ def tags=(_arg0); end
1629
+
1630
+ # source://sentry-ruby//lib/sentry/event.rb#35
1631
+ def timestamp; end
1632
+
1633
+ # source://sentry-ruby//lib/sentry/event.rb#92
1634
+ def timestamp=(time); end
1635
+
1636
+ # source://sentry-ruby//lib/sentry/event.rb#120
1637
+ def to_hash; end
1638
+
1639
+ # source://sentry-ruby//lib/sentry/event.rb#128
1640
+ def to_json_compatible; end
1641
+
1642
+ # source://sentry-ruby//lib/sentry/event.rb#35
1643
+ def transaction; end
1644
+
1645
+ # source://sentry-ruby//lib/sentry/event.rb#34
1646
+ def transaction=(_arg0); end
1647
+
1648
+ # source://sentry-ruby//lib/sentry/event.rb#35
1649
+ def transaction_info; end
1650
+
1651
+ # source://sentry-ruby//lib/sentry/event.rb#34
1652
+ def transaction_info=(_arg0); end
1653
+
1654
+ # source://sentry-ruby//lib/sentry/event.rb#35
1655
+ def type; end
1656
+
1657
+ # source://sentry-ruby//lib/sentry/event.rb#35
1658
+ def user; end
1659
+
1660
+ # source://sentry-ruby//lib/sentry/event.rb#34
1661
+ def user=(_arg0); end
1662
+
1663
+ private
1664
+
1665
+ # source://sentry-ruby//lib/sentry/event.rb#134
1666
+ def add_request_interface(env); end
1667
+
1668
+ # source://sentry-ruby//lib/sentry/event.rb#148
1669
+ def calculate_real_ip_from_rack(env); end
1670
+
1671
+ # source://sentry-ruby//lib/sentry/event.rb#138
1672
+ def serialize_attributes; end
1673
+ end
1674
+
1675
+ # source://sentry-ruby//lib/sentry/event.rb#28
1676
+ Sentry::Event::MAX_MESSAGE_SIZE_IN_BYTES = T.let(T.unsafe(nil), Integer)
1677
+
1678
+ # source://sentry-ruby//lib/sentry/event.rb#17
1679
+ Sentry::Event::SERIALIZEABLE_ATTRIBUTES = T.let(T.unsafe(nil), Array)
1680
+
1681
+ # source://sentry-ruby//lib/sentry/event.rb#30
1682
+ Sentry::Event::SKIP_INSPECTION_ATTRIBUTES = T.let(T.unsafe(nil), Array)
1683
+
1684
+ # source://sentry-ruby//lib/sentry/event.rb#15
1685
+ Sentry::Event::TYPE = T.let(T.unsafe(nil), String)
1686
+
1687
+ # source://sentry-ruby//lib/sentry/event.rb#26
1688
+ Sentry::Event::WRITER_ATTRIBUTES = T.let(T.unsafe(nil), Array)
1689
+
1690
+ # source://sentry-ruby//lib/sentry/interfaces/exception.rb#6
1691
+ class Sentry::ExceptionInterface < ::Sentry::Interface
1692
+ # source://sentry-ruby//lib/sentry/interfaces/exception.rb#11
1693
+ def initialize(exceptions:); end
1694
+
1695
+ # source://sentry-ruby//lib/sentry/interfaces/exception.rb#16
1696
+ def to_hash; end
1697
+
1698
+ # source://sentry-ruby//lib/sentry/interfaces/exception.rb#8
1699
+ def values; end
1700
+
1701
+ class << self
1702
+ # source://sentry-ruby//lib/sentry/interfaces/exception.rb#29
1703
+ def build(exception:, stacktrace_builder:, mechanism:); end
1704
+ end
1705
+ end
1706
+
1707
+ # source://sentry-ruby//lib/sentry/exceptions.rb#7
1708
+ class Sentry::ExternalError < ::Sentry::Error; end
1709
+
1710
+ # source://sentry-ruby//lib/sentry/faraday.rb#4
1711
+ module Sentry::Faraday; end
1712
+
1713
+ # source://sentry-ruby//lib/sentry/faraday.rb#7
1714
+ module Sentry::Faraday::Connection
1715
+ # source://sentry-ruby//lib/sentry/faraday.rb#12
1716
+ def initialize(url = T.unsafe(nil), options = T.unsafe(nil)); end
1717
+ end
1718
+
1719
+ # source://sentry-ruby//lib/sentry/faraday.rb#25
1720
+ class Sentry::Faraday::Instrumenter
1721
+ include ::Sentry::Utils::HttpTracing
1722
+
1723
+ # source://sentry-ruby//lib/sentry/faraday.rb#31
1724
+ def instrument(op_name, env, &block); end
1725
+
1726
+ private
1727
+
1728
+ # source://sentry-ruby//lib/sentry/faraday.rb#58
1729
+ def extract_request_info(env); end
1730
+ end
1731
+
1732
+ # source://sentry-ruby//lib/sentry/faraday.rb#27
1733
+ Sentry::Faraday::Instrumenter::BREADCRUMB_CATEGORY = T.let(T.unsafe(nil), String)
1734
+
1735
+ # source://sentry-ruby//lib/sentry/faraday.rb#26
1736
+ Sentry::Faraday::Instrumenter::SPAN_ORIGIN = T.let(T.unsafe(nil), String)
1737
+
1738
+ # source://sentry-ruby//lib/sentry/faraday.rb#5
1739
+ Sentry::Faraday::OP_NAME = T.let(T.unsafe(nil), String)
1740
+
1741
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#7
1742
+ class Sentry::HTTPTransport < ::Sentry::Transport
1743
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#27
1744
+ def initialize(*args); end
1745
+
1746
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#90
1747
+ def conn; end
1748
+
1749
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#72
1750
+ def endpoint; end
1751
+
1752
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#76
1753
+ def generate_auth_header; end
1754
+
1755
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#32
1756
+ def send_data(data); end
1757
+
1758
+ private
1759
+
1760
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#121
1761
+ def handle_rate_limited_response(headers); end
1762
+
1763
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#117
1764
+ def has_rate_limited_header?(headers); end
1765
+
1766
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#182
1767
+ def normalize_proxy(proxy); end
1768
+
1769
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#147
1770
+ def parse_rate_limit_header(rate_limit_header); end
1771
+
1772
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#175
1773
+ def should_compress?(data); end
1774
+
1775
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#196
1776
+ def ssl_configuration; end
1777
+ end
1778
+
1779
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#10
1780
+ Sentry::HTTPTransport::CONTENT_TYPE = T.let(T.unsafe(nil), String)
1781
+
1782
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#12
1783
+ Sentry::HTTPTransport::DEFAULT_DELAY = T.let(T.unsafe(nil), Integer)
1784
+
1785
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#8
1786
+ Sentry::HTTPTransport::GZIP_ENCODING = T.let(T.unsafe(nil), String)
1787
+
1788
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#9
1789
+ Sentry::HTTPTransport::GZIP_THRESHOLD = T.let(T.unsafe(nil), Integer)
1790
+
1791
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#19
1792
+ Sentry::HTTPTransport::HTTP_ERRORS = T.let(T.unsafe(nil), Array)
1793
+
1794
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#14
1795
+ Sentry::HTTPTransport::RATE_LIMIT_HEADER = T.let(T.unsafe(nil), String)
1796
+
1797
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#13
1798
+ Sentry::HTTPTransport::RETRY_AFTER_HEADER = T.let(T.unsafe(nil), String)
1799
+
1800
+ # source://sentry-ruby//lib/sentry/transport/http_transport.rb#15
1801
+ Sentry::HTTPTransport::USER_AGENT = T.let(T.unsafe(nil), String)
1802
+
1803
+ # source://sentry-ruby//lib/sentry/hub.rb#8
1804
+ class Sentry::Hub
1805
+ include ::Sentry::ArgumentCheckingHelper
1806
+
1807
+ # source://sentry-ruby//lib/sentry/hub.rb#13
1808
+ def initialize(client, scope); end
1809
+
1810
+ # source://sentry-ruby//lib/sentry/hub.rb#222
1811
+ def add_breadcrumb(breadcrumb, hint: T.unsafe(nil)); end
1812
+
1813
+ # source://sentry-ruby//lib/sentry/hub.rb#45
1814
+ def bind_client(client); end
1815
+
1816
+ # source://sentry-ruby//lib/sentry/hub.rb#165
1817
+ def capture_check_in(slug, status, **options); end
1818
+
1819
+ # source://sentry-ruby//lib/sentry/hub.rb#189
1820
+ def capture_event(event, **options, &block); end
1821
+
1822
+ # source://sentry-ruby//lib/sentry/hub.rb#124
1823
+ def capture_exception(exception, **options, &block); end
1824
+
1825
+ # source://sentry-ruby//lib/sentry/hub.rb#150
1826
+ def capture_message(message, **options, &block); end
1827
+
1828
+ # source://sentry-ruby//lib/sentry/hub.rb#35
1829
+ def clone; end
1830
+
1831
+ # source://sentry-ruby//lib/sentry/hub.rb#27
1832
+ def configuration; end
1833
+
1834
+ # source://sentry-ruby//lib/sentry/hub.rb#53
1835
+ def configure_scope(&block); end
1836
+
1837
+ # source://sentry-ruby//lib/sentry/hub.rb#306
1838
+ def continue_trace(env, **options); end
1839
+
1840
+ # source://sentry-ruby//lib/sentry/hub.rb#23
1841
+ def current_client; end
1842
+
1843
+ # source://sentry-ruby//lib/sentry/hub.rb#31
1844
+ def current_scope; end
1845
+
1846
+ # source://sentry-ruby//lib/sentry/hub.rb#251
1847
+ def end_session; end
1848
+
1849
+ # source://sentry-ruby//lib/sentry/hub.rb#281
1850
+ def get_baggage; end
1851
+
1852
+ # source://sentry-ruby//lib/sentry/hub.rb#288
1853
+ def get_trace_propagation_headers; end
1854
+
1855
+ # source://sentry-ruby//lib/sentry/hub.rb#300
1856
+ def get_trace_propagation_meta; end
1857
+
1858
+ # source://sentry-ruby//lib/sentry/hub.rb#274
1859
+ def get_traceparent; end
1860
+
1861
+ # source://sentry-ruby//lib/sentry/hub.rb#11
1862
+ def last_event_id; end
1863
+
1864
+ # source://sentry-ruby//lib/sentry/hub.rb#19
1865
+ def new_from_top; end
1866
+
1867
+ # source://sentry-ruby//lib/sentry/hub.rb#75
1868
+ def pop_scope; end
1869
+
1870
+ # source://sentry-ruby//lib/sentry/hub.rb#64
1871
+ def push_scope; end
1872
+
1873
+ # source://sentry-ruby//lib/sentry/hub.rb#246
1874
+ def start_session; end
1875
+
1876
+ # source://sentry-ruby//lib/sentry/hub.rb#85
1877
+ def start_transaction(transaction: T.unsafe(nil), custom_sampling_context: T.unsafe(nil), instrumenter: T.unsafe(nil), **options); end
1878
+
1879
+ # source://sentry-ruby//lib/sentry/hub.rb#237
1880
+ def with_background_worker_disabled(&block); end
1881
+
1882
+ # source://sentry-ruby//lib/sentry/hub.rb#104
1883
+ def with_child_span(instrumenter: T.unsafe(nil), **attributes, &block); end
1884
+
1885
+ # source://sentry-ruby//lib/sentry/hub.rb#57
1886
+ def with_scope(&block); end
1887
+
1888
+ # source://sentry-ruby//lib/sentry/hub.rb#265
1889
+ def with_session_tracking(&block); end
1890
+
1891
+ private
1892
+
1893
+ # source://sentry-ruby//lib/sentry/hub.rb#326
1894
+ def current_layer; end
1895
+ end
1896
+
1897
+ # source://sentry-ruby//lib/sentry/hub.rb#330
1898
+ class Sentry::Hub::Layer
1899
+ # source://sentry-ruby//lib/sentry/hub.rb#334
1900
+ def initialize(client, scope); end
1901
+
1902
+ # source://sentry-ruby//lib/sentry/hub.rb#331
1903
+ def client; end
1904
+
1905
+ # source://sentry-ruby//lib/sentry/hub.rb#331
1906
+ def client=(_arg0); end
1907
+
1908
+ # source://sentry-ruby//lib/sentry/hub.rb#332
1909
+ def scope; end
1910
+ end
1911
+
1912
+ # source://sentry-ruby//lib/sentry/interface.rb#4
1913
+ class Sentry::Interface
1914
+ # source://sentry-ruby//lib/sentry/interface.rb#6
1915
+ def to_hash; end
1916
+ end
1917
+
1918
+ # source://sentry-ruby//lib/sentry-ruby.rb#45
1919
+ Sentry::LOGGER_PROGNAME = T.let(T.unsafe(nil), String)
1920
+
1921
+ # source://sentry-ruby//lib/sentry/linecache.rb#5
1922
+ class Sentry::LineCache
1923
+ # source://sentry-ruby//lib/sentry/linecache.rb#6
1924
+ def initialize; end
1925
+
1926
+ # source://sentry-ruby//lib/sentry/linecache.rb#14
1927
+ def get_file_context(filename, lineno, context); end
1928
+
1929
+ private
1930
+
1931
+ # source://sentry-ruby//lib/sentry/linecache.rb#38
1932
+ def getline(path, n); end
1933
+
1934
+ # source://sentry-ruby//lib/sentry/linecache.rb#30
1935
+ def getlines(path); end
1936
+
1937
+ # source://sentry-ruby//lib/sentry/linecache.rb#25
1938
+ def valid_path?(path); end
1939
+ end
1940
+
1941
+ # source://sentry-ruby//lib/sentry/logger.rb#6
1942
+ class Sentry::Logger < ::Logger
1943
+ # source://sentry-ruby//lib/sentry/logger.rb#10
1944
+ def initialize(*_arg0); end
1945
+ end
1946
+
1947
+ # source://sentry-ruby//lib/sentry/logger.rb#7
1948
+ Sentry::Logger::LOG_PREFIX = T.let(T.unsafe(nil), String)
1949
+
1950
+ # source://sentry-ruby//lib/sentry/logger.rb#8
1951
+ Sentry::Logger::PROGNAME = T.let(T.unsafe(nil), String)
1952
+
1953
+ # source://sentry-ruby//lib/sentry/utils/logging_helper.rb#4
1954
+ module Sentry::LoggingHelper
1955
+ # source://sentry-ruby//lib/sentry/utils/logging_helper.rb#14
1956
+ def log_debug(message); end
1957
+
1958
+ # source://sentry-ruby//lib/sentry/utils/logging_helper.rb#5
1959
+ def log_error(message, exception, debug: T.unsafe(nil)); end
1960
+
1961
+ # source://sentry-ruby//lib/sentry/utils/logging_helper.rb#18
1962
+ def log_warn(message); end
1963
+ end
1964
+
1965
+ # source://sentry-ruby//lib/sentry-ruby.rb#41
1966
+ Sentry::META = T.let(T.unsafe(nil), Hash)
1967
+
1968
+ # source://sentry-ruby//lib/sentry-ruby.rb#53
1969
+ Sentry::MUTEX = T.let(T.unsafe(nil), Thread::Mutex)
1970
+
1971
+ # source://sentry-ruby//lib/sentry/interfaces/mechanism.rb#4
1972
+ class Sentry::Mechanism < ::Sentry::Interface
1973
+ # source://sentry-ruby//lib/sentry/interfaces/mechanism.rb#15
1974
+ def initialize(type: T.unsafe(nil), handled: T.unsafe(nil)); end
1975
+
1976
+ # source://sentry-ruby//lib/sentry/interfaces/mechanism.rb#13
1977
+ def handled; end
1978
+
1979
+ # source://sentry-ruby//lib/sentry/interfaces/mechanism.rb#13
1980
+ def handled=(_arg0); end
1981
+
1982
+ # source://sentry-ruby//lib/sentry/interfaces/mechanism.rb#7
1983
+ def type; end
1984
+
1985
+ # source://sentry-ruby//lib/sentry/interfaces/mechanism.rb#7
1986
+ def type=(_arg0); end
1987
+ end
1988
+
1989
+ # source://sentry-ruby//lib/sentry/metrics/configuration.rb#4
1990
+ module Sentry::Metrics
1991
+ class << self
1992
+ # source://sentry-ruby//lib/sentry/metrics.rb#25
1993
+ def distribution(key, value, unit: T.unsafe(nil), tags: T.unsafe(nil), timestamp: T.unsafe(nil)); end
1994
+
1995
+ # source://sentry-ruby//lib/sentry/metrics.rb#33
1996
+ def gauge(key, value, unit: T.unsafe(nil), tags: T.unsafe(nil), timestamp: T.unsafe(nil)); end
1997
+
1998
+ # source://sentry-ruby//lib/sentry/metrics.rb#21
1999
+ def increment(key, value = T.unsafe(nil), unit: T.unsafe(nil), tags: T.unsafe(nil), timestamp: T.unsafe(nil)); end
2000
+
2001
+ # source://sentry-ruby//lib/sentry/metrics.rb#29
2002
+ def set(key, value, unit: T.unsafe(nil), tags: T.unsafe(nil), timestamp: T.unsafe(nil)); end
2003
+
2004
+ # source://sentry-ruby//lib/sentry/metrics.rb#37
2005
+ def timing(key, unit: T.unsafe(nil), tags: T.unsafe(nil), timestamp: T.unsafe(nil), &block); end
2006
+ end
2007
+ end
2008
+
2009
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#5
2010
+ class Sentry::Metrics::Aggregator < ::Sentry::ThreadedPeriodicWorker
2011
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#36
2012
+ def initialize(configuration, client); end
2013
+
2014
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#59
2015
+ def add(type, key, value, unit: T.unsafe(nil), tags: T.unsafe(nil), timestamp: T.unsafe(nil), stacklevel: T.unsafe(nil)); end
2016
+
2017
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#34
2018
+ def buckets; end
2019
+
2020
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#34
2021
+ def client; end
2022
+
2023
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#34
2024
+ def code_locations; end
2025
+
2026
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#91
2027
+ def flush(force: T.unsafe(nil)); end
2028
+
2029
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#34
2030
+ def flush_shift; end
2031
+
2032
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#91
2033
+ def run(force: T.unsafe(nil)); end
2034
+
2035
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#34
2036
+ def thread; end
2037
+
2038
+ private
2039
+
2040
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#151
2041
+ def get_code_locations!; end
2042
+
2043
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#134
2044
+ def get_flushable_buckets!(force); end
2045
+
2046
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#200
2047
+ def get_transaction_name; end
2048
+
2049
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#208
2050
+ def get_updated_tags(tags); end
2051
+
2052
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#225
2053
+ def process_bucket(timestamp, key, type, value); end
2054
+
2055
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#217
2056
+ def process_span_aggregator(key, value); end
2057
+
2058
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#239
2059
+ def record_code_location(type, key, unit, timestamp, stacklevel: T.unsafe(nil)); end
2060
+
2061
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#184
2062
+ def sanitize_key(key); end
2063
+
2064
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#192
2065
+ def sanitize_tag_key(key); end
2066
+
2067
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#196
2068
+ def sanitize_tag_value(value); end
2069
+
2070
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#188
2071
+ def sanitize_unit(unit); end
2072
+
2073
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#160
2074
+ def serialize_buckets(buckets); end
2075
+
2076
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#172
2077
+ def serialize_locations(timestamp, locations); end
2078
+
2079
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#124
2080
+ def serialize_tags(tags); end
2081
+ end
2082
+
2083
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#11
2084
+ Sentry::Metrics::Aggregator::DEFAULT_STACKLEVEL = T.let(T.unsafe(nil), Integer)
2085
+
2086
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#6
2087
+ Sentry::Metrics::Aggregator::FLUSH_INTERVAL = T.let(T.unsafe(nil), Integer)
2088
+
2089
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#13
2090
+ Sentry::Metrics::Aggregator::KEY_SANITIZATION_REGEX = T.let(T.unsafe(nil), Regexp)
2091
+
2092
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#26
2093
+ Sentry::Metrics::Aggregator::METRIC_TYPES = T.let(T.unsafe(nil), Hash)
2094
+
2095
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#7
2096
+ Sentry::Metrics::Aggregator::ROLLUP_IN_SECONDS = T.let(T.unsafe(nil), Integer)
2097
+
2098
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#15
2099
+ Sentry::Metrics::Aggregator::TAG_KEY_SANITIZATION_REGEX = T.let(T.unsafe(nil), Regexp)
2100
+
2101
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#17
2102
+ Sentry::Metrics::Aggregator::TAG_VALUE_SANITIZATION_MAP = T.let(T.unsafe(nil), Hash)
2103
+
2104
+ # source://sentry-ruby//lib/sentry/metrics/aggregator.rb#14
2105
+ Sentry::Metrics::Aggregator::UNIT_SANITIZATION_REGEX = T.let(T.unsafe(nil), Regexp)
2106
+
2107
+ # source://sentry-ruby//lib/sentry/metrics/configuration.rb#5
2108
+ class Sentry::Metrics::Configuration
2109
+ include ::Sentry::ArgumentCheckingHelper
2110
+
2111
+ # source://sentry-ruby//lib/sentry/metrics/configuration.rb#35
2112
+ def initialize; end
2113
+
2114
+ # source://sentry-ruby//lib/sentry/metrics/configuration.rb#33
2115
+ def before_emit; end
2116
+
2117
+ # source://sentry-ruby//lib/sentry/metrics/configuration.rb#40
2118
+ def before_emit=(value); end
2119
+
2120
+ # source://sentry-ruby//lib/sentry/metrics/configuration.rb#18
2121
+ def enable_code_locations; end
2122
+
2123
+ # source://sentry-ruby//lib/sentry/metrics/configuration.rb#18
2124
+ def enable_code_locations=(_arg0); end
2125
+
2126
+ # source://sentry-ruby//lib/sentry/metrics/configuration.rb#12
2127
+ def enabled; end
2128
+
2129
+ # source://sentry-ruby//lib/sentry/metrics/configuration.rb#12
2130
+ def enabled=(_arg0); end
2131
+ end
2132
+
2133
+ # source://sentry-ruby//lib/sentry/metrics/counter_metric.rb#5
2134
+ class Sentry::Metrics::CounterMetric < ::Sentry::Metrics::Metric
2135
+ # source://sentry-ruby//lib/sentry/metrics/counter_metric.rb#8
2136
+ def initialize(value); end
2137
+
2138
+ # source://sentry-ruby//lib/sentry/metrics/counter_metric.rb#12
2139
+ def add(value); end
2140
+
2141
+ # source://sentry-ruby//lib/sentry/metrics/counter_metric.rb#16
2142
+ def serialize; end
2143
+
2144
+ # source://sentry-ruby//lib/sentry/metrics/counter_metric.rb#6
2145
+ def value; end
2146
+
2147
+ # source://sentry-ruby//lib/sentry/metrics/counter_metric.rb#20
2148
+ def weight; end
2149
+ end
2150
+
2151
+ # source://sentry-ruby//lib/sentry/metrics.rb#13
2152
+ Sentry::Metrics::DURATION_UNITS = T.let(T.unsafe(nil), Array)
2153
+
2154
+ # source://sentry-ruby//lib/sentry/metrics/distribution_metric.rb#5
2155
+ class Sentry::Metrics::DistributionMetric < ::Sentry::Metrics::Metric
2156
+ # source://sentry-ruby//lib/sentry/metrics/distribution_metric.rb#8
2157
+ def initialize(value); end
2158
+
2159
+ # source://sentry-ruby//lib/sentry/metrics/distribution_metric.rb#12
2160
+ def add(value); end
2161
+
2162
+ # source://sentry-ruby//lib/sentry/metrics/distribution_metric.rb#16
2163
+ def serialize; end
2164
+
2165
+ # source://sentry-ruby//lib/sentry/metrics/distribution_metric.rb#6
2166
+ def value; end
2167
+
2168
+ # source://sentry-ruby//lib/sentry/metrics/distribution_metric.rb#20
2169
+ def weight; end
2170
+ end
2171
+
2172
+ # source://sentry-ruby//lib/sentry/metrics.rb#15
2173
+ Sentry::Metrics::FRACTIONAL_UNITS = T.let(T.unsafe(nil), Array)
2174
+
2175
+ # source://sentry-ruby//lib/sentry/metrics/gauge_metric.rb#5
2176
+ class Sentry::Metrics::GaugeMetric < ::Sentry::Metrics::Metric
2177
+ # source://sentry-ruby//lib/sentry/metrics/gauge_metric.rb#8
2178
+ def initialize(value); end
2179
+
2180
+ # source://sentry-ruby//lib/sentry/metrics/gauge_metric.rb#17
2181
+ def add(value); end
2182
+
2183
+ # source://sentry-ruby//lib/sentry/metrics/gauge_metric.rb#6
2184
+ def count; end
2185
+
2186
+ # source://sentry-ruby//lib/sentry/metrics/gauge_metric.rb#6
2187
+ def last; end
2188
+
2189
+ # source://sentry-ruby//lib/sentry/metrics/gauge_metric.rb#6
2190
+ def max; end
2191
+
2192
+ # source://sentry-ruby//lib/sentry/metrics/gauge_metric.rb#6
2193
+ def min; end
2194
+
2195
+ # source://sentry-ruby//lib/sentry/metrics/gauge_metric.rb#26
2196
+ def serialize; end
2197
+
2198
+ # source://sentry-ruby//lib/sentry/metrics/gauge_metric.rb#6
2199
+ def sum; end
2200
+
2201
+ # source://sentry-ruby//lib/sentry/metrics/gauge_metric.rb#30
2202
+ def weight; end
2203
+ end
2204
+
2205
+ # source://sentry-ruby//lib/sentry/metrics.rb#14
2206
+ Sentry::Metrics::INFORMATION_UNITS = T.let(T.unsafe(nil), Array)
2207
+
2208
+ # source://sentry-ruby//lib/sentry/metrics/local_aggregator.rb#5
2209
+ class Sentry::Metrics::LocalAggregator
2210
+ # source://sentry-ruby//lib/sentry/metrics/local_aggregator.rb#9
2211
+ def initialize; end
2212
+
2213
+ # source://sentry-ruby//lib/sentry/metrics/local_aggregator.rb#13
2214
+ def add(key, value); end
2215
+
2216
+ # source://sentry-ruby//lib/sentry/metrics/local_aggregator.rb#7
2217
+ def buckets; end
2218
+
2219
+ # source://sentry-ruby//lib/sentry/metrics/local_aggregator.rb#21
2220
+ def to_hash; end
2221
+
2222
+ private
2223
+
2224
+ # source://sentry-ruby//lib/sentry/metrics/local_aggregator.rb#42
2225
+ def deserialize_tags(tags); end
2226
+ end
2227
+
2228
+ # source://sentry-ruby//lib/sentry/metrics/metric.rb#5
2229
+ class Sentry::Metrics::Metric
2230
+ # source://sentry-ruby//lib/sentry/metrics/metric.rb#6
2231
+ def add(value); end
2232
+
2233
+ # source://sentry-ruby//lib/sentry/metrics/metric.rb#10
2234
+ def serialize; end
2235
+
2236
+ # source://sentry-ruby//lib/sentry/metrics/metric.rb#14
2237
+ def weight; end
2238
+ end
2239
+
2240
+ # source://sentry-ruby//lib/sentry/metrics.rb#17
2241
+ Sentry::Metrics::OP_NAME = T.let(T.unsafe(nil), String)
2242
+
2243
+ # source://sentry-ruby//lib/sentry/metrics.rb#18
2244
+ Sentry::Metrics::SPAN_ORIGIN = T.let(T.unsafe(nil), String)
2245
+
2246
+ # source://sentry-ruby//lib/sentry/metrics/set_metric.rb#8
2247
+ class Sentry::Metrics::SetMetric < ::Sentry::Metrics::Metric
2248
+ # source://sentry-ruby//lib/sentry/metrics/set_metric.rb#11
2249
+ def initialize(value); end
2250
+
2251
+ # source://sentry-ruby//lib/sentry/metrics/set_metric.rb#15
2252
+ def add(value); end
2253
+
2254
+ # source://sentry-ruby//lib/sentry/metrics/set_metric.rb#19
2255
+ def serialize; end
2256
+
2257
+ # source://sentry-ruby//lib/sentry/metrics/set_metric.rb#9
2258
+ def value; end
2259
+
2260
+ # source://sentry-ruby//lib/sentry/metrics/set_metric.rb#23
2261
+ def weight; end
2262
+ end
2263
+
2264
+ # source://sentry-ruby//lib/sentry/metrics/timing.rb#5
2265
+ module Sentry::Metrics::Timing
2266
+ class << self
2267
+ # source://sentry-ruby//lib/sentry/metrics/timing.rb#33
2268
+ def day; end
2269
+
2270
+ # source://sentry-ruby//lib/sentry/metrics/timing.rb#29
2271
+ def hour; end
2272
+
2273
+ # source://sentry-ruby//lib/sentry/metrics/timing.rb#12
2274
+ def microsecond; end
2275
+
2276
+ # source://sentry-ruby//lib/sentry/metrics/timing.rb#17
2277
+ def millisecond; end
2278
+
2279
+ # source://sentry-ruby//lib/sentry/metrics/timing.rb#25
2280
+ def minute; end
2281
+
2282
+ # source://sentry-ruby//lib/sentry/metrics/timing.rb#7
2283
+ def nanosecond; end
2284
+
2285
+ # source://sentry-ruby//lib/sentry/metrics/timing.rb#21
2286
+ def second; end
2287
+
2288
+ # source://sentry-ruby//lib/sentry/metrics/timing.rb#37
2289
+ def week; end
2290
+ end
2291
+ end
2292
+
2293
+ # source://sentry-ruby//lib/sentry/net/http.rb#9
2294
+ module Sentry::Net; end
2295
+
2296
+ # source://sentry-ruby//lib/sentry/net/http.rb#10
2297
+ module Sentry::Net::HTTP
2298
+ include ::Sentry::Utils::HttpTracing
2299
+
2300
+ # source://sentry-ruby//lib/sentry/net/http.rb#32
2301
+ def request(req, body = T.unsafe(nil), &block); end
2302
+
2303
+ private
2304
+
2305
+ # source://sentry-ruby//lib/sentry/net/http.rb#65
2306
+ def extract_request_info(req); end
2307
+
2308
+ # source://sentry-ruby//lib/sentry/net/http.rb#60
2309
+ def from_sentry_sdk?; end
2310
+ end
2311
+
2312
+ # source://sentry-ruby//lib/sentry/net/http.rb#15
2313
+ Sentry::Net::HTTP::BREADCRUMB_CATEGORY = T.let(T.unsafe(nil), String)
2314
+
2315
+ # source://sentry-ruby//lib/sentry/net/http.rb#13
2316
+ Sentry::Net::HTTP::OP_NAME = T.let(T.unsafe(nil), String)
2317
+
2318
+ # source://sentry-ruby//lib/sentry/net/http.rb#14
2319
+ Sentry::Net::HTTP::SPAN_ORIGIN = T.let(T.unsafe(nil), String)
2320
+
2321
+ # source://sentry-ruby//lib/sentry/profiler/helpers.rb#6
2322
+ class Sentry::Profiler
2323
+ include ::Sentry::Profiler::Helpers
2324
+
2325
+ # source://sentry-ruby//lib/sentry/profiler.rb#19
2326
+ def initialize(configuration); end
2327
+
2328
+ # source://sentry-ruby//lib/sentry/profiler.rb#50
2329
+ def active_thread_id; end
2330
+
2331
+ # source://sentry-ruby//lib/sentry/profiler.rb#17
2332
+ def event_id; end
2333
+
2334
+ # source://sentry-ruby//lib/sentry/profiler.rb#17
2335
+ def sampled; end
2336
+
2337
+ # source://sentry-ruby//lib/sentry/profiler.rb#56
2338
+ def set_initial_sample_decision(transaction_sampled); end
2339
+
2340
+ # source://sentry-ruby//lib/sentry/profiler.rb#31
2341
+ def start; end
2342
+
2343
+ # source://sentry-ruby//lib/sentry/profiler.rb#17
2344
+ def started; end
2345
+
2346
+ # source://sentry-ruby//lib/sentry/profiler.rb#42
2347
+ def stop; end
2348
+
2349
+ # source://sentry-ruby//lib/sentry/profiler.rb#83
2350
+ def to_hash; end
2351
+
2352
+ private
2353
+
2354
+ # source://sentry-ruby//lib/sentry/profiler.rb#194
2355
+ def log(message); end
2356
+
2357
+ # source://sentry-ruby//lib/sentry/profiler.rb#198
2358
+ def record_lost_event(reason); end
2359
+ end
2360
+
2361
+ # source://sentry-ruby//lib/sentry/profiler.rb#13
2362
+ Sentry::Profiler::DEFAULT_INTERVAL = T.let(T.unsafe(nil), Float)
2363
+
2364
+ # source://sentry-ruby//lib/sentry/profiler/helpers.rb#7
2365
+ module Sentry::Profiler::Helpers
2366
+ # source://sentry-ruby//lib/sentry/profiler/helpers.rb#15
2367
+ def compute_filename(abs_path, in_app); end
2368
+
2369
+ # source://sentry-ruby//lib/sentry/profiler/helpers.rb#8
2370
+ def in_app?(abs_path); end
2371
+
2372
+ # source://sentry-ruby//lib/sentry/profiler/helpers.rb#36
2373
+ def split_module(name); end
2374
+ end
2375
+
2376
+ # source://sentry-ruby//lib/sentry/profiler.rb#14
2377
+ Sentry::Profiler::MICRO_TO_NANO_SECONDS = T.let(T.unsafe(nil), Float)
2378
+
2379
+ # source://sentry-ruby//lib/sentry/profiler.rb#15
2380
+ Sentry::Profiler::MIN_SAMPLES_REQUIRED = T.let(T.unsafe(nil), Integer)
2381
+
2382
+ # source://sentry-ruby//lib/sentry/profiler.rb#11
2383
+ Sentry::Profiler::PLATFORM = T.let(T.unsafe(nil), String)
2384
+
2385
+ # source://sentry-ruby//lib/sentry/profiler.rb#10
2386
+ Sentry::Profiler::VERSION = T.let(T.unsafe(nil), String)
2387
+
2388
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#7
2389
+ class Sentry::PropagationContext
2390
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#36
2391
+ def initialize(scope, env = T.unsafe(nil)); end
2392
+
2393
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#34
2394
+ def baggage; end
2395
+
2396
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#105
2397
+ def get_baggage; end
2398
+
2399
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#112
2400
+ def get_dynamic_sampling_context; end
2401
+
2402
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#89
2403
+ def get_trace_context; end
2404
+
2405
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#99
2406
+ def get_traceparent; end
2407
+
2408
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#30
2409
+ def incoming_trace; end
2410
+
2411
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#27
2412
+ def parent_sampled; end
2413
+
2414
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#24
2415
+ def parent_span_id; end
2416
+
2417
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#21
2418
+ def span_id; end
2419
+
2420
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#18
2421
+ def trace_id; end
2422
+
2423
+ private
2424
+
2425
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#118
2426
+ def populate_head_baggage; end
2427
+
2428
+ class << self
2429
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#77
2430
+ def extract_sentry_trace(sentry_trace); end
2431
+ end
2432
+ end
2433
+
2434
+ # source://sentry-ruby//lib/sentry/propagation_context.rb#8
2435
+ Sentry::PropagationContext::SENTRY_TRACE_REGEXP = T.let(T.unsafe(nil), Regexp)
2436
+
2437
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#4
2438
+ module Sentry::Rack; end
2439
+
2440
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#5
2441
+ class Sentry::Rack::CaptureExceptions
2442
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#10
2443
+ def initialize(app); end
2444
+
2445
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#14
2446
+ def call(env); end
2447
+
2448
+ private
2449
+
2450
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#60
2451
+ def capture_exception(exception, env); end
2452
+
2453
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#52
2454
+ def collect_exception(env); end
2455
+
2456
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#79
2457
+ def finish_transaction(transaction, status_code); end
2458
+
2459
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#86
2460
+ def mechanism; end
2461
+
2462
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#66
2463
+ def start_transaction(env, scope); end
2464
+
2465
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#56
2466
+ def transaction_op; end
2467
+ end
2468
+
2469
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#6
2470
+ Sentry::Rack::CaptureExceptions::ERROR_EVENT_ID_KEY = T.let(T.unsafe(nil), String)
2471
+
2472
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#7
2473
+ Sentry::Rack::CaptureExceptions::MECHANISM_TYPE = T.let(T.unsafe(nil), String)
2474
+
2475
+ # source://sentry-ruby//lib/sentry/rack/capture_exceptions.rb#8
2476
+ Sentry::Rack::CaptureExceptions::SPAN_ORIGIN = T.let(T.unsafe(nil), String)
2477
+
2478
+ # source://sentry-ruby//lib/sentry/rake.rb#7
2479
+ module Sentry::Rake; end
2480
+
2481
+ # source://sentry-ruby//lib/sentry/rake.rb#8
2482
+ module Sentry::Rake::Application
2483
+ # source://sentry-ruby//lib/sentry/rake.rb#10
2484
+ def display_error_message(ex); end
2485
+ end
2486
+
2487
+ # source://sentry-ruby//lib/sentry/redis.rb#5
2488
+ class Sentry::Redis
2489
+ # source://sentry-ruby//lib/sentry/redis.rb#10
2490
+ def initialize(commands, host, port, db); end
2491
+
2492
+ # source://sentry-ruby//lib/sentry/redis.rb#14
2493
+ def instrument; end
2494
+
2495
+ private
2496
+
2497
+ # source://sentry-ruby//lib/sentry/redis.rb#34
2498
+ def commands; end
2499
+
2500
+ # source://sentry-ruby//lib/sentry/redis.rb#53
2501
+ def commands_description; end
2502
+
2503
+ # source://sentry-ruby//lib/sentry/redis.rb#34
2504
+ def db; end
2505
+
2506
+ # source://sentry-ruby//lib/sentry/redis.rb#34
2507
+ def host; end
2508
+
2509
+ # source://sentry-ruby//lib/sentry/redis.rb#59
2510
+ def parsed_commands; end
2511
+
2512
+ # source://sentry-ruby//lib/sentry/redis.rb#34
2513
+ def port; end
2514
+
2515
+ # source://sentry-ruby//lib/sentry/redis.rb#36
2516
+ def record_breadcrumb; end
2517
+
2518
+ # source://sentry-ruby//lib/sentry/redis.rb#75
2519
+ def server_description; end
2520
+ end
2521
+
2522
+ # source://sentry-ruby//lib/sentry/redis.rb#85
2523
+ module Sentry::Redis::GlobalRedisInstrumentation
2524
+ # source://sentry-ruby//lib/sentry/redis.rb#86
2525
+ def call(command, redis_config); end
2526
+
2527
+ # source://sentry-ruby//lib/sentry/redis.rb#92
2528
+ def call_pipelined(commands, redis_config); end
2529
+ end
2530
+
2531
+ # source://sentry-ruby//lib/sentry/redis.rb#8
2532
+ Sentry::Redis::LOGGER_NAME = T.let(T.unsafe(nil), Symbol)
2533
+
2534
+ # source://sentry-ruby//lib/sentry/redis.rb#6
2535
+ Sentry::Redis::OP_NAME = T.let(T.unsafe(nil), String)
2536
+
2537
+ # source://sentry-ruby//lib/sentry/redis.rb#79
2538
+ module Sentry::Redis::OldClientPatch
2539
+ # source://sentry-ruby//lib/sentry/redis.rb#80
2540
+ def logging(commands, &block); end
2541
+ end
2542
+
2543
+ # source://sentry-ruby//lib/sentry/redis.rb#7
2544
+ Sentry::Redis::SPAN_ORIGIN = T.let(T.unsafe(nil), String)
2545
+
2546
+ # source://sentry-ruby//lib/sentry/release_detector.rb#5
2547
+ class Sentry::ReleaseDetector
2548
+ class << self
2549
+ # source://sentry-ruby//lib/sentry/release_detector.rb#7
2550
+ def detect_release(project_root:, running_on_heroku:); end
2551
+
2552
+ # source://sentry-ruby//lib/sentry/release_detector.rb#19
2553
+ def detect_release_from_capistrano(project_root); end
2554
+
2555
+ # source://sentry-ruby//lib/sentry/release_detector.rb#34
2556
+ def detect_release_from_env; end
2557
+
2558
+ # source://sentry-ruby//lib/sentry/release_detector.rb#30
2559
+ def detect_release_from_git; end
2560
+
2561
+ # source://sentry-ruby//lib/sentry/release_detector.rb#14
2562
+ def detect_release_from_heroku(running_on_heroku); end
2563
+ end
2564
+ end
2565
+
2566
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#4
2567
+ class Sentry::RequestInterface < ::Sentry::Interface
2568
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#44
2569
+ def initialize(env:, send_default_pii:, rack_env_whitelist:); end
2570
+
2571
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#31
2572
+ def cookies; end
2573
+
2574
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#31
2575
+ def cookies=(_arg0); end
2576
+
2577
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#25
2578
+ def data; end
2579
+
2580
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#25
2581
+ def data=(_arg0); end
2582
+
2583
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#37
2584
+ def env; end
2585
+
2586
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#37
2587
+ def env=(_arg0); end
2588
+
2589
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#34
2590
+ def headers; end
2591
+
2592
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#34
2593
+ def headers=(_arg0); end
2594
+
2595
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#22
2596
+ def method; end
2597
+
2598
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#22
2599
+ def method=(_arg0); end
2600
+
2601
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#28
2602
+ def query_string; end
2603
+
2604
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#28
2605
+ def query_string=(_arg0); end
2606
+
2607
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#19
2608
+ def url; end
2609
+
2610
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#19
2611
+ def url=(_arg0); end
2612
+
2613
+ private
2614
+
2615
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#126
2616
+ def filter_and_format_env(env, rack_env_whitelist); end
2617
+
2618
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#84
2619
+ def filter_and_format_headers(env, send_default_pii); end
2620
+
2621
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#119
2622
+ def is_server_protocol?(key, value, protocol_version); end
2623
+
2624
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#108
2625
+ def is_skippable_header?(key); end
2626
+
2627
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#71
2628
+ def read_data_from(request); end
2629
+ end
2630
+
2631
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#6
2632
+ Sentry::RequestInterface::CONTENT_HEADERS = T.let(T.unsafe(nil), Array)
2633
+
2634
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#7
2635
+ Sentry::RequestInterface::IP_HEADERS = T.let(T.unsafe(nil), Array)
2636
+
2637
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#16
2638
+ Sentry::RequestInterface::MAX_BODY_LIMIT = T.let(T.unsafe(nil), Integer)
2639
+
2640
+ # source://sentry-ruby//lib/sentry/interfaces/request.rb#5
2641
+ Sentry::RequestInterface::REQUEST_ID_HEADERS = T.let(T.unsafe(nil), Array)
2642
+
2643
+ # source://sentry-ruby//lib/sentry-ruby.rb#47
2644
+ Sentry::SENTRY_TRACE_HEADER_NAME = T.let(T.unsafe(nil), String)
2645
+
2646
+ # source://sentry-ruby//lib/sentry/scope.rb#9
2647
+ class Sentry::Scope
2648
+ include ::Sentry::ArgumentCheckingHelper
2649
+
2650
+ # source://sentry-ruby//lib/sentry/scope.rb#33
2651
+ def initialize(max_breadcrumbs: T.unsafe(nil)); end
2652
+
2653
+ # source://sentry-ruby//lib/sentry/scope.rb#295
2654
+ def add_attachment(**opts); end
2655
+
2656
+ # source://sentry-ruby//lib/sentry/scope.rb#85
2657
+ def add_breadcrumb(breadcrumb); end
2658
+
2659
+ # source://sentry-ruby//lib/sentry/scope.rb#283
2660
+ def add_event_processor(&block); end
2661
+
2662
+ # source://sentry-ruby//lib/sentry/scope.rb#48
2663
+ def apply_to_event(event, hint = T.unsafe(nil)); end
2664
+
2665
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2666
+ def attachments; end
2667
+
2668
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2669
+ def breadcrumbs; end
2670
+
2671
+ # source://sentry-ruby//lib/sentry/scope.rb#40
2672
+ def clear; end
2673
+
2674
+ # source://sentry-ruby//lib/sentry/scope.rb#91
2675
+ def clear_breadcrumbs; end
2676
+
2677
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2678
+ def contexts; end
2679
+
2680
+ # source://sentry-ruby//lib/sentry/scope.rb#96
2681
+ def dup; end
2682
+
2683
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2684
+ def event_processors; end
2685
+
2686
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2687
+ def extra; end
2688
+
2689
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2690
+ def fingerprint; end
2691
+
2692
+ # source://sentry-ruby//lib/sentry/scope.rb#290
2693
+ def generate_propagation_context(env = T.unsafe(nil)); end
2694
+
2695
+ # source://sentry-ruby//lib/sentry/scope.rb#267
2696
+ def get_span; end
2697
+
2698
+ # source://sentry-ruby//lib/sentry/scope.rb#261
2699
+ def get_transaction; end
2700
+
2701
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2702
+ def level; end
2703
+
2704
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2705
+ def propagation_context; end
2706
+
2707
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2708
+ def rack_env; end
2709
+
2710
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2711
+ def session; end
2712
+
2713
+ # source://sentry-ruby//lib/sentry/scope.rb#225
2714
+ def set_context(key, value); end
2715
+
2716
+ # source://sentry-ruby//lib/sentry/scope.rb#213
2717
+ def set_contexts(contexts_hash); end
2718
+
2719
+ # source://sentry-ruby//lib/sentry/scope.rb#192
2720
+ def set_extra(key, value); end
2721
+
2722
+ # source://sentry-ruby//lib/sentry/scope.rb#183
2723
+ def set_extras(extras_hash); end
2724
+
2725
+ # source://sentry-ruby//lib/sentry/scope.rb#274
2726
+ def set_fingerprint(fingerprint); end
2727
+
2728
+ # source://sentry-ruby//lib/sentry/scope.rb#233
2729
+ def set_level(level); end
2730
+
2731
+ # source://sentry-ruby//lib/sentry/scope.rb#163
2732
+ def set_rack_env(env); end
2733
+
2734
+ # source://sentry-ruby//lib/sentry/scope.rb#249
2735
+ def set_session(session); end
2736
+
2737
+ # source://sentry-ruby//lib/sentry/scope.rb#171
2738
+ def set_span(span); end
2739
+
2740
+ # source://sentry-ruby//lib/sentry/scope.rb#206
2741
+ def set_tag(key, value); end
2742
+
2743
+ # source://sentry-ruby//lib/sentry/scope.rb#197
2744
+ def set_tags(tags_hash); end
2745
+
2746
+ # source://sentry-ruby//lib/sentry/scope.rb#241
2747
+ def set_transaction_name(transaction_name, source: T.unsafe(nil)); end
2748
+
2749
+ # source://sentry-ruby//lib/sentry/scope.rb#177
2750
+ def set_user(user_hash); end
2751
+
2752
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2753
+ def span; end
2754
+
2755
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2756
+ def tags; end
2757
+
2758
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2759
+ def transaction_name; end
2760
+
2761
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2762
+ def transaction_source; end
2763
+
2764
+ # source://sentry-ruby//lib/sentry/scope.rb#255
2765
+ def transaction_source_low_quality?; end
2766
+
2767
+ # source://sentry-ruby//lib/sentry/scope.rb#139
2768
+ def update_from_options(contexts: T.unsafe(nil), extra: T.unsafe(nil), tags: T.unsafe(nil), user: T.unsafe(nil), level: T.unsafe(nil), fingerprint: T.unsafe(nil), attachments: T.unsafe(nil), **options); end
2769
+
2770
+ # source://sentry-ruby//lib/sentry/scope.rb#116
2771
+ def update_from_scope(scope); end
2772
+
2773
+ # source://sentry-ruby//lib/sentry/scope.rb#30
2774
+ def user; end
2775
+
2776
+ protected
2777
+
2778
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2779
+ def attachments=(_arg0); end
2780
+
2781
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2782
+ def breadcrumbs=(_arg0); end
2783
+
2784
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2785
+ def contexts=(_arg0); end
2786
+
2787
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2788
+ def event_processors=(_arg0); end
2789
+
2790
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2791
+ def extra=(_arg0); end
2792
+
2793
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2794
+ def fingerprint=(_arg0); end
2795
+
2796
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2797
+ def level=(_arg0); end
2798
+
2799
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2800
+ def propagation_context=(_arg0); end
2801
+
2802
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2803
+ def rack_env=(_arg0); end
2804
+
2805
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2806
+ def session=(_arg0); end
2807
+
2808
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2809
+ def span=(_arg0); end
2810
+
2811
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2812
+ def tags=(_arg0); end
2813
+
2814
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2815
+ def transaction_name=(_arg0); end
2816
+
2817
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2818
+ def transaction_source=(_arg0); end
2819
+
2820
+ # source://sentry-ruby//lib/sentry/scope.rb#303
2821
+ def user=(_arg0); end
2822
+
2823
+ private
2824
+
2825
+ # source://sentry-ruby//lib/sentry/scope.rb#307
2826
+ def set_default_value; end
2827
+
2828
+ # source://sentry-ruby//lib/sentry/scope.rb#325
2829
+ def set_new_breadcrumb_buffer; end
2830
+
2831
+ class << self
2832
+ # source://sentry-ruby//lib/sentry/scope.rb#365
2833
+ def add_global_event_processor(&block); end
2834
+
2835
+ # source://sentry-ruby//lib/sentry/scope.rb#355
2836
+ def global_event_processors; end
2837
+
2838
+ # source://sentry-ruby//lib/sentry/scope.rb#331
2839
+ def os_context; end
2840
+
2841
+ # source://sentry-ruby//lib/sentry/scope.rb#346
2842
+ def runtime_context; end
2843
+ end
2844
+ end
2845
+
2846
+ # source://sentry-ruby//lib/sentry/scope.rb#12
2847
+ Sentry::Scope::ATTRIBUTES = T.let(T.unsafe(nil), Array)
2848
+
2849
+ # source://sentry-ruby//lib/sentry/session.rb#4
2850
+ class Sentry::Session
2851
+ # source://sentry-ruby//lib/sentry/session.rb#11
2852
+ def initialize; end
2853
+
2854
+ # source://sentry-ruby//lib/sentry/session.rb#5
2855
+ def aggregation_key; end
2856
+
2857
+ # source://sentry-ruby//lib/sentry/session.rb#25
2858
+ def close; end
2859
+
2860
+ # source://sentry-ruby//lib/sentry/session.rb#29
2861
+ def deep_dup; end
2862
+
2863
+ # source://sentry-ruby//lib/sentry/session.rb#5
2864
+ def started; end
2865
+
2866
+ # source://sentry-ruby//lib/sentry/session.rb#5
2867
+ def status; end
2868
+
2869
+ # source://sentry-ruby//lib/sentry/session.rb#21
2870
+ def update_from_exception(_exception = T.unsafe(nil)); end
2871
+ end
2872
+
2873
+ # source://sentry-ruby//lib/sentry/session.rb#9
2874
+ Sentry::Session::AGGREGATE_STATUSES = T.let(T.unsafe(nil), Array)
2875
+
2876
+ # source://sentry-ruby//lib/sentry/session.rb#8
2877
+ Sentry::Session::STATUSES = T.let(T.unsafe(nil), Array)
2878
+
2879
+ # source://sentry-ruby//lib/sentry/session_flusher.rb#4
2880
+ class Sentry::SessionFlusher < ::Sentry::ThreadedPeriodicWorker
2881
+ # source://sentry-ruby//lib/sentry/session_flusher.rb#7
2882
+ def initialize(configuration, client); end
2883
+
2884
+ # source://sentry-ruby//lib/sentry/session_flusher.rb#26
2885
+ def add_session(session); end
2886
+
2887
+ # source://sentry-ruby//lib/sentry/session_flusher.rb#18
2888
+ def flush; end
2889
+
2890
+ # source://sentry-ruby//lib/sentry/session_flusher.rb#18
2891
+ def run; end
2892
+
2893
+ private
2894
+
2895
+ # source://sentry-ruby//lib/sentry/session_flusher.rb#58
2896
+ def attrs; end
2897
+
2898
+ # source://sentry-ruby//lib/sentry/session_flusher.rb#38
2899
+ def init_aggregates(aggregation_key); end
2900
+
2901
+ # source://sentry-ruby//lib/sentry/session_flusher.rb#44
2902
+ def pending_envelope; end
2903
+ end
2904
+
2905
+ # source://sentry-ruby//lib/sentry/session_flusher.rb#5
2906
+ Sentry::SessionFlusher::FLUSH_INTERVAL = T.let(T.unsafe(nil), Integer)
2907
+
2908
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#6
2909
+ class Sentry::SingleExceptionInterface < ::Sentry::Interface
2910
+ include ::Sentry::CustomInspection
2911
+
2912
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#17
2913
+ def initialize(exception:, mechanism:, stacktrace: T.unsafe(nil)); end
2914
+
2915
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#14
2916
+ def mechanism; end
2917
+
2918
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#14
2919
+ def module; end
2920
+
2921
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#14
2922
+ def stacktrace; end
2923
+
2924
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#14
2925
+ def thread_id; end
2926
+
2927
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#35
2928
+ def to_hash; end
2929
+
2930
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#14
2931
+ def type; end
2932
+
2933
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#15
2934
+ def value; end
2935
+
2936
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#15
2937
+ def value=(_arg0); end
2938
+
2939
+ class << self
2940
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#44
2941
+ def build_with_stacktrace(exception:, stacktrace_builder:, mechanism:); end
2942
+ end
2943
+ end
2944
+
2945
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#12
2946
+ Sentry::SingleExceptionInterface::MAX_LOCAL_BYTES = T.let(T.unsafe(nil), Integer)
2947
+
2948
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#11
2949
+ Sentry::SingleExceptionInterface::OMISSION_MARK = T.let(T.unsafe(nil), String)
2950
+
2951
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#10
2952
+ Sentry::SingleExceptionInterface::PROBLEMATIC_LOCAL_VALUE_REPLACEMENT = T.let(T.unsafe(nil), String)
2953
+
2954
+ # source://sentry-ruby//lib/sentry/interfaces/single_exception.rb#9
2955
+ Sentry::SingleExceptionInterface::SKIP_INSPECTION_ATTRIBUTES = T.let(T.unsafe(nil), Array)
2956
+
2957
+ # source://sentry-ruby//lib/sentry/span.rb#7
2958
+ class Sentry::Span
2959
+ # source://sentry-ruby//lib/sentry/span.rb#117
2960
+ def initialize(transaction:, description: T.unsafe(nil), op: T.unsafe(nil), status: T.unsafe(nil), trace_id: T.unsafe(nil), span_id: T.unsafe(nil), parent_span_id: T.unsafe(nil), sampled: T.unsafe(nil), start_timestamp: T.unsafe(nil), timestamp: T.unsafe(nil), origin: T.unsafe(nil)); end
2961
+
2962
+ # source://sentry-ruby//lib/sentry/span.rb#102
2963
+ def data; end
2964
+
2965
+ # source://sentry-ruby//lib/sentry/span.rb#246
2966
+ def deep_dup; end
2967
+
2968
+ # source://sentry-ruby//lib/sentry/span.rb#90
2969
+ def description; end
2970
+
2971
+ # source://sentry-ruby//lib/sentry/span.rb#147
2972
+ def finish(end_timestamp: T.unsafe(nil)); end
2973
+
2974
+ # source://sentry-ruby//lib/sentry/span.rb#170
2975
+ def get_dynamic_sampling_context; end
2976
+
2977
+ # source://sentry-ruby//lib/sentry/span.rb#198
2978
+ def get_trace_context; end
2979
+
2980
+ # source://sentry-ruby//lib/sentry/span.rb#311
2981
+ def metrics_local_aggregator; end
2982
+
2983
+ # source://sentry-ruby//lib/sentry/span.rb#315
2984
+ def metrics_summary; end
2985
+
2986
+ # source://sentry-ruby//lib/sentry/span.rb#93
2987
+ def op; end
2988
+
2989
+ # source://sentry-ruby//lib/sentry/span.rb#105
2990
+ def origin; end
2991
+
2992
+ # source://sentry-ruby//lib/sentry/span.rb#78
2993
+ def parent_span_id; end
2994
+
2995
+ # source://sentry-ruby//lib/sentry/span.rb#81
2996
+ def sampled; end
2997
+
2998
+ # source://sentry-ruby//lib/sentry/span.rb#293
2999
+ def set_data(key, value); end
3000
+
3001
+ # source://sentry-ruby//lib/sentry/span.rb#258
3002
+ def set_description(description); end
3003
+
3004
+ # source://sentry-ruby//lib/sentry/span.rb#277
3005
+ def set_http_status(status_code); end
3006
+
3007
+ # source://sentry-ruby//lib/sentry/span.rb#252
3008
+ def set_op(op); end
3009
+
3010
+ # source://sentry-ruby//lib/sentry/span.rb#306
3011
+ def set_origin(origin); end
3012
+
3013
+ # source://sentry-ruby//lib/sentry/span.rb#265
3014
+ def set_status(status); end
3015
+
3016
+ # source://sentry-ruby//lib/sentry/span.rb#300
3017
+ def set_tag(key, value); end
3018
+
3019
+ # source://sentry-ruby//lib/sentry/span.rb#271
3020
+ def set_timestamp(timestamp); end
3021
+
3022
+ # source://sentry-ruby//lib/sentry/span.rb#75
3023
+ def span_id; end
3024
+
3025
+ # source://sentry-ruby//lib/sentry/span.rb#110
3026
+ def span_recorder; end
3027
+
3028
+ # source://sentry-ruby//lib/sentry/span.rb#110
3029
+ def span_recorder=(_arg0); end
3030
+
3031
+ # source://sentry-ruby//lib/sentry/span.rb#213
3032
+ def start_child(**attributes); end
3033
+
3034
+ # source://sentry-ruby//lib/sentry/span.rb#84
3035
+ def start_timestamp; end
3036
+
3037
+ # source://sentry-ruby//lib/sentry/span.rb#96
3038
+ def status; end
3039
+
3040
+ # source://sentry-ruby//lib/sentry/span.rb#99
3041
+ def tags; end
3042
+
3043
+ # source://sentry-ruby//lib/sentry/span.rb#87
3044
+ def timestamp; end
3045
+
3046
+ # source://sentry-ruby//lib/sentry/span.rb#164
3047
+ def to_baggage; end
3048
+
3049
+ # source://sentry-ruby//lib/sentry/span.rb#175
3050
+ def to_hash; end
3051
+
3052
+ # source://sentry-ruby//lib/sentry/span.rb#154
3053
+ def to_sentry_trace; end
3054
+
3055
+ # source://sentry-ruby//lib/sentry/span.rb#72
3056
+ def trace_id; end
3057
+
3058
+ # source://sentry-ruby//lib/sentry/span.rb#115
3059
+ def transaction; end
3060
+
3061
+ # source://sentry-ruby//lib/sentry/span.rb#234
3062
+ def with_child_span(**attributes, &block); end
3063
+ end
3064
+
3065
+ # source://sentry-ruby//lib/sentry/span.rb#68
3066
+ Sentry::Span::DEFAULT_SPAN_ORIGIN = T.let(T.unsafe(nil), String)
3067
+
3068
+ # source://sentry-ruby//lib/sentry/span.rb#10
3069
+ module Sentry::Span::DataConventions; end
3070
+
3071
+ # source://sentry-ruby//lib/sentry/span.rb#24
3072
+ Sentry::Span::DataConventions::DB_NAME = T.let(T.unsafe(nil), String)
3073
+
3074
+ # source://sentry-ruby//lib/sentry/span.rb#18
3075
+ Sentry::Span::DataConventions::DB_SYSTEM = T.let(T.unsafe(nil), String)
3076
+
3077
+ # source://sentry-ruby//lib/sentry/span.rb#43
3078
+ Sentry::Span::DataConventions::FILEPATH = T.let(T.unsafe(nil), String)
3079
+
3080
+ # source://sentry-ruby//lib/sentry/span.rb#45
3081
+ Sentry::Span::DataConventions::FUNCTION = T.let(T.unsafe(nil), String)
3082
+
3083
+ # source://sentry-ruby//lib/sentry/span.rb#14
3084
+ Sentry::Span::DataConventions::HTTP_METHOD = T.let(T.unsafe(nil), String)
3085
+
3086
+ # source://sentry-ruby//lib/sentry/span.rb#13
3087
+ Sentry::Span::DataConventions::HTTP_QUERY = T.let(T.unsafe(nil), String)
3088
+
3089
+ # source://sentry-ruby//lib/sentry/span.rb#12
3090
+ Sentry::Span::DataConventions::HTTP_STATUS_CODE = T.let(T.unsafe(nil), String)
3091
+
3092
+ # source://sentry-ruby//lib/sentry/span.rb#44
3093
+ Sentry::Span::DataConventions::LINENO = T.let(T.unsafe(nil), String)
3094
+
3095
+ # source://sentry-ruby//lib/sentry/span.rb#49
3096
+ Sentry::Span::DataConventions::MESSAGING_DESTINATION_NAME = T.let(T.unsafe(nil), String)
3097
+
3098
+ # source://sentry-ruby//lib/sentry/span.rb#48
3099
+ Sentry::Span::DataConventions::MESSAGING_MESSAGE_ID = T.let(T.unsafe(nil), String)
3100
+
3101
+ # source://sentry-ruby//lib/sentry/span.rb#50
3102
+ Sentry::Span::DataConventions::MESSAGING_MESSAGE_RECEIVE_LATENCY = T.let(T.unsafe(nil), String)
3103
+
3104
+ # source://sentry-ruby//lib/sentry/span.rb#51
3105
+ Sentry::Span::DataConventions::MESSAGING_MESSAGE_RETRY_COUNT = T.let(T.unsafe(nil), String)
3106
+
3107
+ # source://sentry-ruby//lib/sentry/span.rb#46
3108
+ Sentry::Span::DataConventions::NAMESPACE = T.let(T.unsafe(nil), String)
3109
+
3110
+ # source://sentry-ruby//lib/sentry/span.rb#28
3111
+ Sentry::Span::DataConventions::SERVER_ADDRESS = T.let(T.unsafe(nil), String)
3112
+
3113
+ # source://sentry-ruby//lib/sentry/span.rb#32
3114
+ Sentry::Span::DataConventions::SERVER_PORT = T.let(T.unsafe(nil), String)
3115
+
3116
+ # source://sentry-ruby//lib/sentry/span.rb#36
3117
+ Sentry::Span::DataConventions::SERVER_SOCKET_ADDRESS = T.let(T.unsafe(nil), String)
3118
+
3119
+ # source://sentry-ruby//lib/sentry/span.rb#41
3120
+ Sentry::Span::DataConventions::SERVER_SOCKET_PORT = T.let(T.unsafe(nil), String)
3121
+
3122
+ # source://sentry-ruby//lib/sentry/span.rb#11
3123
+ Sentry::Span::DataConventions::URL = T.let(T.unsafe(nil), String)
3124
+
3125
+ # source://sentry-ruby//lib/sentry/span.rb#54
3126
+ Sentry::Span::STATUS_MAP = T.let(T.unsafe(nil), Hash)
3127
+
3128
+ # source://sentry-ruby//lib/sentry/transport/spotlight_transport.rb#8
3129
+ class Sentry::SpotlightTransport < ::Sentry::HTTPTransport
3130
+ # source://sentry-ruby//lib/sentry/transport/spotlight_transport.rb#12
3131
+ def initialize(configuration); end
3132
+
3133
+ # source://sentry-ruby//lib/sentry/transport/spotlight_transport.rb#43
3134
+ def conn; end
3135
+
3136
+ # source://sentry-ruby//lib/sentry/transport/spotlight_transport.rb#21
3137
+ def endpoint; end
3138
+
3139
+ # source://sentry-ruby//lib/sentry/transport/spotlight_transport.rb#38
3140
+ def on_error; end
3141
+
3142
+ # source://sentry-ruby//lib/sentry/transport/spotlight_transport.rb#25
3143
+ def send_data(data); end
3144
+ end
3145
+
3146
+ # source://sentry-ruby//lib/sentry/transport/spotlight_transport.rb#9
3147
+ Sentry::SpotlightTransport::DEFAULT_SIDECAR_URL = T.let(T.unsafe(nil), String)
3148
+
3149
+ # source://sentry-ruby//lib/sentry/transport/spotlight_transport.rb#10
3150
+ Sentry::SpotlightTransport::MAX_FAILED_REQUESTS = T.let(T.unsafe(nil), Integer)
3151
+
3152
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace_builder.rb#4
3153
+ class Sentry::StacktraceBuilder
3154
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace_builder.rb#35
3155
+ def initialize(project_root:, app_dirs_pattern:, linecache:, context_lines:, backtrace_cleanup_callback: T.unsafe(nil), strip_backtrace_load_path: T.unsafe(nil)); end
3156
+
3157
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace_builder.rb#9
3158
+ def app_dirs_pattern; end
3159
+
3160
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace_builder.rb#18
3161
+ def backtrace_cleanup_callback; end
3162
+
3163
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace_builder.rb#66
3164
+ def build(backtrace:, &frame_callback); end
3165
+
3166
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace_builder.rb#15
3167
+ def context_lines; end
3168
+
3169
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace_builder.rb#12
3170
+ def linecache; end
3171
+
3172
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace_builder.rb#80
3173
+ def metrics_code_location(unparsed_line); end
3174
+
3175
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace_builder.rb#6
3176
+ def project_root; end
3177
+
3178
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace_builder.rb#21
3179
+ def strip_backtrace_load_path; end
3180
+
3181
+ private
3182
+
3183
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace_builder.rb#88
3184
+ def convert_parsed_line_into_frame(line); end
3185
+
3186
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace_builder.rb#94
3187
+ def parse_backtrace_lines(backtrace); end
3188
+ end
3189
+
3190
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#4
3191
+ class Sentry::StacktraceInterface
3192
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#9
3193
+ def initialize(frames:); end
3194
+
3195
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#6
3196
+ def frames; end
3197
+
3198
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#19
3199
+ def inspect; end
3200
+
3201
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#14
3202
+ def to_hash; end
3203
+ end
3204
+
3205
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#26
3206
+ class Sentry::StacktraceInterface::Frame < ::Sentry::Interface
3207
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#30
3208
+ def initialize(project_root, line, strip_backtrace_load_path = T.unsafe(nil)); end
3209
+
3210
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3211
+ def abs_path; end
3212
+
3213
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3214
+ def abs_path=(_arg0); end
3215
+
3216
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#46
3217
+ def compute_filename; end
3218
+
3219
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3220
+ def context_line; end
3221
+
3222
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3223
+ def context_line=(_arg0); end
3224
+
3225
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3226
+ def filename; end
3227
+
3228
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3229
+ def filename=(_arg0); end
3230
+
3231
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3232
+ def function; end
3233
+
3234
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3235
+ def function=(_arg0); end
3236
+
3237
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3238
+ def in_app; end
3239
+
3240
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3241
+ def in_app=(_arg0); end
3242
+
3243
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3244
+ def lineno; end
3245
+
3246
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3247
+ def lineno=(_arg0); end
3248
+
3249
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3250
+ def module; end
3251
+
3252
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3253
+ def module=(_arg0); end
3254
+
3255
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3256
+ def post_context; end
3257
+
3258
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3259
+ def post_context=(_arg0); end
3260
+
3261
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3262
+ def pre_context; end
3263
+
3264
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3265
+ def pre_context=(_arg0); end
3266
+
3267
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#62
3268
+ def set_context(linecache, context_lines); end
3269
+
3270
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#69
3271
+ def to_hash(*args); end
3272
+
3273
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#42
3274
+ def to_s; end
3275
+
3276
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3277
+ def vars; end
3278
+
3279
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#27
3280
+ def vars=(_arg0); end
3281
+
3282
+ private
3283
+
3284
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#84
3285
+ def longest_load_path; end
3286
+
3287
+ # source://sentry-ruby//lib/sentry/interfaces/stacktrace.rb#80
3288
+ def under_project_root?; end
3289
+ end
3290
+
3291
+ # source://sentry-ruby//lib/sentry-ruby.rb#51
3292
+ Sentry::THREAD_LOCAL = T.let(T.unsafe(nil), Symbol)
3293
+
3294
+ # source://sentry-ruby//lib/sentry/threaded_periodic_worker.rb#4
3295
+ class Sentry::ThreadedPeriodicWorker
3296
+ include ::Sentry::LoggingHelper
3297
+
3298
+ # source://sentry-ruby//lib/sentry/threaded_periodic_worker.rb#7
3299
+ def initialize(logger, internal); end
3300
+
3301
+ # source://sentry-ruby//lib/sentry/threaded_periodic_worker.rb#14
3302
+ def ensure_thread; end
3303
+
3304
+ # source://sentry-ruby//lib/sentry/threaded_periodic_worker.rb#32
3305
+ def kill; end
3306
+ end
3307
+
3308
+ # source://sentry-ruby//lib/sentry/interfaces/threads.rb#4
3309
+ class Sentry::ThreadsInterface
3310
+ # source://sentry-ruby//lib/sentry/interfaces/threads.rb#7
3311
+ def initialize(crashed: T.unsafe(nil), stacktrace: T.unsafe(nil)); end
3312
+
3313
+ # source://sentry-ruby//lib/sentry/interfaces/threads.rb#16
3314
+ def to_hash; end
3315
+
3316
+ class << self
3317
+ # source://sentry-ruby//lib/sentry/interfaces/threads.rb#37
3318
+ def build(backtrace:, stacktrace_builder:, **options); end
3319
+ end
3320
+ end
3321
+
3322
+ # source://sentry-ruby//lib/sentry/transaction.rb#8
3323
+ class Sentry::Transaction < ::Sentry::Span
3324
+ include ::Sentry::LoggingHelper
3325
+
3326
+ # source://sentry-ruby//lib/sentry/transaction.rb#63
3327
+ def initialize(hub:, name: T.unsafe(nil), source: T.unsafe(nil), parent_sampled: T.unsafe(nil), baggage: T.unsafe(nil), **options); end
3328
+
3329
+ # source://sentry-ruby//lib/sentry/transaction.rb#36
3330
+ def baggage; end
3331
+
3332
+ # source://sentry-ruby//lib/sentry/transaction.rb#46
3333
+ def configuration; end
3334
+
3335
+ # source://sentry-ruby//lib/sentry/transaction.rb#57
3336
+ def contexts; end
3337
+
3338
+ # source://sentry-ruby//lib/sentry/transaction.rb#156
3339
+ def deep_dup; end
3340
+
3341
+ # source://sentry-ruby//lib/sentry/transaction.rb#53
3342
+ def effective_sample_rate; end
3343
+
3344
+ # source://sentry-ruby//lib/sentry/transaction.rb#242
3345
+ def finish(hub: T.unsafe(nil), end_timestamp: T.unsafe(nil)); end
3346
+
3347
+ # source://sentry-ruby//lib/sentry/transaction.rb#276
3348
+ def get_baggage; end
3349
+
3350
+ # source://sentry-ruby//lib/sentry/transaction.rb#43
3351
+ def hub; end
3352
+
3353
+ # source://sentry-ruby//lib/sentry/transaction.rb#49
3354
+ def logger; end
3355
+
3356
+ # source://sentry-ruby//lib/sentry/transaction.rb#40
3357
+ def measurements; end
3358
+
3359
+ # source://sentry-ruby//lib/sentry/transaction.rb#22
3360
+ def name; end
3361
+
3362
+ # source://sentry-ruby//lib/sentry/transaction.rb#30
3363
+ def parent_sampled; end
3364
+
3365
+ # source://sentry-ruby//lib/sentry/transaction.rb#61
3366
+ def profiler; end
3367
+
3368
+ # source://sentry-ruby//lib/sentry/transaction.rb#295
3369
+ def set_context(key, value); end
3370
+
3371
+ # source://sentry-ruby//lib/sentry/transaction.rb#181
3372
+ def set_initial_sample_decision(sampling_context:); end
3373
+
3374
+ # source://sentry-ruby//lib/sentry/transaction.rb#174
3375
+ def set_measurement(name, value, unit = T.unsafe(nil)); end
3376
+
3377
+ # source://sentry-ruby//lib/sentry/transaction.rb#286
3378
+ def set_name(name, source: T.unsafe(nil)); end
3379
+
3380
+ # source://sentry-ruby//lib/sentry/transaction.rb#26
3381
+ def source; end
3382
+
3383
+ # source://sentry-ruby//lib/sentry/transaction.rb#307
3384
+ def source_low_quality?; end
3385
+
3386
+ # source://sentry-ruby//lib/sentry/transaction.rb#301
3387
+ def start_profiler!; end
3388
+
3389
+ # source://sentry-ruby//lib/sentry/transaction.rb#142
3390
+ def to_hash; end
3391
+
3392
+ protected
3393
+
3394
+ # source://sentry-ruby//lib/sentry/transaction.rb#313
3395
+ def init_span_recorder(limit = T.unsafe(nil)); end
3396
+
3397
+ private
3398
+
3399
+ # source://sentry-ruby//lib/sentry/transaction.rb#320
3400
+ def generate_transaction_description; end
3401
+
3402
+ # source://sentry-ruby//lib/sentry/transaction.rb#327
3403
+ def populate_head_baggage; end
3404
+
3405
+ class << self
3406
+ # source://sentry-ruby//lib/sentry/transaction.rb#137
3407
+ def extract_sentry_trace(sentry_trace); end
3408
+
3409
+ # source://sentry-ruby//lib/sentry/transaction.rb#104
3410
+ def from_sentry_trace(sentry_trace, baggage: T.unsafe(nil), hub: T.unsafe(nil), **options); end
3411
+ end
3412
+ end
3413
+
3414
+ # source://sentry-ruby//lib/sentry/transaction.rb#13
3415
+ Sentry::Transaction::MESSAGE_PREFIX = T.let(T.unsafe(nil), String)
3416
+
3417
+ # source://sentry-ruby//lib/sentry/transaction.rb#10
3418
+ Sentry::Transaction::SENTRY_TRACE_REGEXP = T.let(T.unsafe(nil), Regexp)
3419
+
3420
+ # source://sentry-ruby//lib/sentry/transaction.rb#16
3421
+ Sentry::Transaction::SOURCES = T.let(T.unsafe(nil), Array)
3422
+
3423
+ # source://sentry-ruby//lib/sentry/transaction.rb#346
3424
+ class Sentry::Transaction::SpanRecorder
3425
+ # source://sentry-ruby//lib/sentry/transaction.rb#349
3426
+ def initialize(max_length); end
3427
+
3428
+ # source://sentry-ruby//lib/sentry/transaction.rb#354
3429
+ def add(span); end
3430
+
3431
+ # source://sentry-ruby//lib/sentry/transaction.rb#347
3432
+ def max_length; end
3433
+
3434
+ # source://sentry-ruby//lib/sentry/transaction.rb#347
3435
+ def spans; end
3436
+ end
3437
+
3438
+ # source://sentry-ruby//lib/sentry/transaction.rb#12
3439
+ Sentry::Transaction::UNLABELD_NAME = T.let(T.unsafe(nil), String)
3440
+
3441
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#5
3442
+ class Sentry::TransactionEvent < ::Sentry::Event
3443
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#23
3444
+ def initialize(transaction:, **options); end
3445
+
3446
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#12
3447
+ def measurements; end
3448
+
3449
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#12
3450
+ def measurements=(_arg0); end
3451
+
3452
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#21
3453
+ def metrics_summary; end
3454
+
3455
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#21
3456
+ def metrics_summary=(_arg0); end
3457
+
3458
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#18
3459
+ def profile; end
3460
+
3461
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#18
3462
+ def profile=(_arg0); end
3463
+
3464
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#9
3465
+ def spans; end
3466
+
3467
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#9
3468
+ def spans=(_arg0); end
3469
+
3470
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#15
3471
+ def start_timestamp; end
3472
+
3473
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#46
3474
+ def start_timestamp=(time); end
3475
+
3476
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#51
3477
+ def to_hash; end
3478
+
3479
+ private
3480
+
3481
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#62
3482
+ def populate_profile(transaction); end
3483
+ end
3484
+
3485
+ # source://sentry-ruby//lib/sentry/transaction_event.rb#6
3486
+ Sentry::TransactionEvent::TYPE = T.let(T.unsafe(nil), String)
3487
+
3488
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#4
3489
+ class Sentry::Transport
3490
+ include ::Sentry::LoggingHelper
3491
+
3492
+ # source://sentry-ruby//lib/sentry/transport.rb#32
3493
+ def initialize(configuration); end
3494
+
3495
+ # source://sentry-ruby//lib/sentry/transport.rb#113
3496
+ def any_rate_limited?; end
3497
+
3498
+ # source://sentry-ruby//lib/sentry/transport.rb#27
3499
+ def discarded_events; end
3500
+
3501
+ # source://sentry-ruby//lib/sentry/transport.rb#117
3502
+ def envelope_from_event(event); end
3503
+
3504
+ # source://sentry-ruby//lib/sentry/transport.rb#167
3505
+ def flush; end
3506
+
3507
+ # source://sentry-ruby//lib/sentry/transport.rb#91
3508
+ def is_rate_limited?(data_category); end
3509
+
3510
+ # source://sentry-ruby//lib/sentry/transport.rb#27
3511
+ def last_client_report_sent; end
3512
+
3513
+ # source://sentry-ruby//lib/sentry/transport.rb#30
3514
+ def logger; end
3515
+
3516
+ # source://sentry-ruby//lib/sentry/transport.rb#27
3517
+ def rate_limits; end
3518
+
3519
+ # source://sentry-ruby//lib/sentry/transport.rb#160
3520
+ def record_lost_event(reason, data_category, num: T.unsafe(nil)); end
3521
+
3522
+ # source://sentry-ruby//lib/sentry/transport.rb#45
3523
+ def send_data(data, options = T.unsafe(nil)); end
3524
+
3525
+ # source://sentry-ruby//lib/sentry/transport.rb#56
3526
+ def send_envelope(envelope); end
3527
+
3528
+ # source://sentry-ruby//lib/sentry/transport.rb#49
3529
+ def send_event(event); end
3530
+
3531
+ # source://sentry-ruby//lib/sentry/transport.rb#69
3532
+ def serialize_envelope(envelope); end
3533
+
3534
+ private
3535
+
3536
+ # source://sentry-ruby//lib/sentry/transport.rb#178
3537
+ def fetch_pending_client_report(force: T.unsafe(nil)); end
3538
+
3539
+ # source://sentry-ruby//lib/sentry/transport.rb#200
3540
+ def reject_rate_limited_items(envelope); end
3541
+ end
3542
+
3543
+ # source://sentry-ruby//lib/sentry/transport.rb#10
3544
+ Sentry::Transport::CLIENT_REPORT_INTERVAL = T.let(T.unsafe(nil), Integer)
3545
+
3546
+ # source://sentry-ruby//lib/sentry/transport.rb#13
3547
+ Sentry::Transport::CLIENT_REPORT_REASONS = T.let(T.unsafe(nil), Array)
3548
+
3549
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#5
3550
+ class Sentry::Transport::Configuration
3551
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#81
3552
+ def initialize; end
3553
+
3554
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#72
3555
+ def encoding; end
3556
+
3557
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#72
3558
+ def encoding=(_arg0); end
3559
+
3560
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#16
3561
+ def open_timeout; end
3562
+
3563
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#16
3564
+ def open_timeout=(_arg0); end
3565
+
3566
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#41
3567
+ def proxy; end
3568
+
3569
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#41
3570
+ def proxy=(_arg0); end
3571
+
3572
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#54
3573
+ def ssl; end
3574
+
3575
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#54
3576
+ def ssl=(_arg0); end
3577
+
3578
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#60
3579
+ def ssl_ca_file; end
3580
+
3581
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#60
3582
+ def ssl_ca_file=(_arg0); end
3583
+
3584
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#66
3585
+ def ssl_verification; end
3586
+
3587
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#66
3588
+ def ssl_verification=(_arg0); end
3589
+
3590
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#10
3591
+ def timeout; end
3592
+
3593
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#10
3594
+ def timeout=(_arg0); end
3595
+
3596
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#79
3597
+ def transport_class; end
3598
+
3599
+ # source://sentry-ruby//lib/sentry/transport/configuration.rb#88
3600
+ def transport_class=(klass); end
3601
+ end
3602
+
3603
+ # source://sentry-ruby//lib/sentry/transport.rb#8
3604
+ Sentry::Transport::PROTOCOL_VERSION = T.let(T.unsafe(nil), String)
3605
+
3606
+ # source://sentry-ruby//lib/sentry/transport.rb#9
3607
+ Sentry::Transport::USER_AGENT = T.let(T.unsafe(nil), String)
3608
+
3609
+ # source://sentry-ruby//lib/sentry/utils/encoding_helper.rb#4
3610
+ module Sentry::Utils; end
3611
+
3612
+ # source://sentry-ruby//lib/sentry/utils/encoding_helper.rb#5
3613
+ module Sentry::Utils::EncodingHelper
3614
+ class << self
3615
+ # source://sentry-ruby//lib/sentry/utils/encoding_helper.rb#6
3616
+ def encode_to_utf_8(value); end
3617
+
3618
+ # source://sentry-ruby//lib/sentry/utils/encoding_helper.rb#15
3619
+ def valid_utf_8?(value); end
3620
+ end
3621
+ end
3622
+
3623
+ # source://sentry-ruby//lib/sentry/utils/env_helper.rb#5
3624
+ module Sentry::Utils::EnvHelper
3625
+ class << self
3626
+ # source://sentry-ruby//lib/sentry/utils/env_helper.rb#9
3627
+ def env_to_bool(value, strict: T.unsafe(nil)); end
3628
+ end
3629
+ end
3630
+
3631
+ # source://sentry-ruby//lib/sentry/utils/env_helper.rb#7
3632
+ Sentry::Utils::EnvHelper::FALSY_ENV_VALUES = T.let(T.unsafe(nil), Array)
3633
+
3634
+ # source://sentry-ruby//lib/sentry/utils/env_helper.rb#6
3635
+ Sentry::Utils::EnvHelper::TRUTHY_ENV_VALUES = T.let(T.unsafe(nil), Array)
3636
+
3637
+ # source://sentry-ruby//lib/sentry/utils/exception_cause_chain.rb#5
3638
+ module Sentry::Utils::ExceptionCauseChain
3639
+ class << self
3640
+ # source://sentry-ruby//lib/sentry/utils/exception_cause_chain.rb#6
3641
+ def exception_to_array(exception); end
3642
+ end
3643
+ end
3644
+
3645
+ # source://sentry-ruby//lib/sentry/utils/http_tracing.rb#5
3646
+ module Sentry::Utils::HttpTracing
3647
+ # source://sentry-ruby//lib/sentry/utils/http_tracing.rb#41
3648
+ def build_nested_query(value, prefix = T.unsafe(nil)); end
3649
+
3650
+ # source://sentry-ruby//lib/sentry/utils/http_tracing.rb#33
3651
+ def propagate_trace?(url); end
3652
+
3653
+ # source://sentry-ruby//lib/sentry/utils/http_tracing.rb#18
3654
+ def record_sentry_breadcrumb(request_info, response_status); end
3655
+
3656
+ # source://sentry-ruby//lib/sentry/utils/http_tracing.rb#29
3657
+ def record_sentry_breadcrumb?; end
3658
+
3659
+ # source://sentry-ruby//lib/sentry/utils/http_tracing.rb#14
3660
+ def set_propagation_headers(req); end
3661
+
3662
+ # source://sentry-ruby//lib/sentry/utils/http_tracing.rb#6
3663
+ def set_span_info(sentry_span, request_info, response_status); end
3664
+ end
3665
+
3666
+ # source://sentry-ruby//lib/sentry/utils/real_ip.rb#11
3667
+ class Sentry::Utils::RealIp
3668
+ # source://sentry-ruby//lib/sentry/utils/real_ip.rb#23
3669
+ def initialize(remote_addr: T.unsafe(nil), client_ip: T.unsafe(nil), real_ip: T.unsafe(nil), forwarded_for: T.unsafe(nil), trusted_proxies: T.unsafe(nil)); end
3670
+
3671
+ # source://sentry-ruby//lib/sentry/utils/real_ip.rb#43
3672
+ def calculate_ip; end
3673
+
3674
+ # source://sentry-ruby//lib/sentry/utils/real_ip.rb#21
3675
+ def ip; end
3676
+
3677
+ protected
3678
+
3679
+ # source://sentry-ruby//lib/sentry/utils/real_ip.rb#79
3680
+ def filter_trusted_proxy_addresses(ips); end
3681
+
3682
+ # source://sentry-ruby//lib/sentry/utils/real_ip.rb#64
3683
+ def ips_from(header); end
3684
+ end
3685
+
3686
+ # source://sentry-ruby//lib/sentry/utils/real_ip.rb#12
3687
+ Sentry::Utils::RealIp::LOCAL_ADDRESSES = T.let(T.unsafe(nil), Array)
3688
+
3689
+ # source://sentry-ruby//lib/sentry/utils/request_id.rb#5
3690
+ module Sentry::Utils::RequestId
3691
+ class << self
3692
+ # source://sentry-ruby//lib/sentry/utils/request_id.rb#9
3693
+ def read_from(env); end
3694
+ end
3695
+ end
3696
+
3697
+ # source://sentry-ruby//lib/sentry/utils/request_id.rb#6
3698
+ Sentry::Utils::RequestId::REQUEST_ID_HEADERS = T.let(T.unsafe(nil), Array)
3699
+
3700
+ # source://sentry-ruby//lib/sentry/version.rb#4
3701
+ Sentry::VERSION = T.let(T.unsafe(nil), String)
3702
+
3703
+ # source://sentry-ruby//lib/sentry/vernier/output.rb#7
3704
+ module Sentry::Vernier; end
3705
+
3706
+ # source://sentry-ruby//lib/sentry/vernier/output.rb#8
3707
+ class Sentry::Vernier::Output
3708
+ include ::Sentry::Profiler::Helpers
3709
+
3710
+ # source://sentry-ruby//lib/sentry/vernier/output.rb#13
3711
+ def initialize(profile, project_root:, in_app_pattern:, app_dirs_pattern:); end
3712
+
3713
+ # source://sentry-ruby//lib/sentry/vernier/output.rb#11
3714
+ def profile; end
3715
+
3716
+ # source://sentry-ruby//lib/sentry/vernier/output.rb#20
3717
+ def to_h; end
3718
+
3719
+ private
3720
+
3721
+ # source://sentry-ruby//lib/sentry/vernier/output.rb#56
3722
+ def frames; end
3723
+
3724
+ # source://sentry-ruby//lib/sentry/vernier/output.rb#37
3725
+ def samples; end
3726
+
3727
+ # source://sentry-ruby//lib/sentry/vernier/output.rb#84
3728
+ def stack_table_hash; end
3729
+
3730
+ # source://sentry-ruby//lib/sentry/vernier/output.rb#78
3731
+ def stacks; end
3732
+
3733
+ # source://sentry-ruby//lib/sentry/vernier/output.rb#31
3734
+ def thread_metadata; end
3735
+ end
3736
+
3737
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#9
3738
+ class Sentry::Vernier::Profiler
3739
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#14
3740
+ def initialize(configuration); end
3741
+
3742
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#87
3743
+ def active_thread_id; end
3744
+
3745
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#12
3746
+ def event_id; end
3747
+
3748
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#12
3749
+ def result; end
3750
+
3751
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#27
3752
+ def set_initial_sample_decision(transaction_sampled); end
3753
+
3754
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#54
3755
+ def start; end
3756
+
3757
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#12
3758
+ def started; end
3759
+
3760
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#72
3761
+ def stop; end
3762
+
3763
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#91
3764
+ def to_hash; end
3765
+
3766
+ private
3767
+
3768
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#104
3769
+ def log(message); end
3770
+
3771
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#120
3772
+ def output; end
3773
+
3774
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#112
3775
+ def profile_meta; end
3776
+
3777
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#108
3778
+ def record_lost_event(reason); end
3779
+ end
3780
+
3781
+ # source://sentry-ruby//lib/sentry/vernier/profiler.rb#10
3782
+ Sentry::Vernier::Profiler::EMPTY_RESULT = T.let(T.unsafe(nil), Hash)