rails-profiler 0.28.0 → 0.30.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.
- checksums.yaml +4 -4
- data/app/assets/builds/profiler-toolbar.js +60 -1
- data/app/assets/builds/profiler.js +120 -31
- data/app/controllers/profiler/api/cluster_controller.rb +35 -0
- data/app/controllers/profiler/api/events_controller.rb +35 -0
- data/app/controllers/profiler/api/profiles_controller.rb +8 -2
- data/app/controllers/profiler/api/slave_proxy_controller.rb +49 -0
- data/app/views/layouts/profiler/application.html.erb +3 -0
- data/config/routes.rb +11 -0
- data/lib/profiler/cluster/master_client.rb +79 -0
- data/lib/profiler/cluster/slave_proxy.rb +106 -0
- data/lib/profiler/cluster/slave_registry.rb +50 -0
- data/lib/profiler/configuration.rb +20 -1
- data/lib/profiler/mcp/server.rb +49 -20
- data/lib/profiler/mcp/slave_support.rb +23 -0
- data/lib/profiler/mcp/tools/analyze_queries.rb +5 -2
- data/lib/profiler/mcp/tools/clear_profiles.rb +11 -1
- data/lib/profiler/mcp/tools/delete_env_var.rb +7 -0
- data/lib/profiler/mcp/tools/explain_query.rb +8 -0
- data/lib/profiler/mcp/tools/get_profile_ajax.rb +5 -2
- data/lib/profiler/mcp/tools/get_profile_detail.rb +5 -2
- data/lib/profiler/mcp/tools/get_profile_dumps.rb +5 -2
- data/lib/profiler/mcp/tools/get_profile_http.rb +5 -2
- data/lib/profiler/mcp/tools/get_profile_mailers.rb +5 -2
- data/lib/profiler/mcp/tools/get_test_profile_detail.rb +5 -2
- data/lib/profiler/mcp/tools/list_env_vars.rb +38 -0
- data/lib/profiler/mcp/tools/list_slaves.rb +27 -0
- data/lib/profiler/mcp/tools/query_console_profiles.rb +4 -1
- data/lib/profiler/mcp/tools/query_jobs.rb +4 -1
- data/lib/profiler/mcp/tools/query_mailers.rb +4 -1
- data/lib/profiler/mcp/tools/query_profiles.rb +4 -1
- data/lib/profiler/mcp/tools/query_test_profiles.rb +4 -1
- data/lib/profiler/mcp/tools/reset_all_env_vars.rb +8 -1
- data/lib/profiler/mcp/tools/reset_env_var.rb +9 -0
- data/lib/profiler/mcp/tools/run_tests.rb +41 -0
- data/lib/profiler/mcp/tools/set_env_var.rb +7 -0
- data/lib/profiler/railtie.rb +11 -0
- data/lib/profiler/sse/bus.rb +13 -0
- data/lib/profiler/sse/event_bus.rb +47 -0
- data/lib/profiler/sse/redis_event_bus.rb +79 -0
- data/lib/profiler/storage/base_store.rb +18 -1
- data/lib/profiler/storage/file_store.rb +1 -1
- data/lib/profiler/storage/memory_store.rb +1 -1
- data/lib/profiler/storage/redis_store.rb +3 -1
- data/lib/profiler/storage/sqlite_store.rb +1 -1
- data/lib/profiler/version.rb +1 -1
- data/lib/profiler.rb +10 -0
- metadata +13 -2
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rails-profiler
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.30.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Sébastien Duplessy
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-06-
|
|
11
|
+
date: 2026-06-28 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -107,13 +107,16 @@ files:
|
|
|
107
107
|
- app/assets/builds/profiler.css
|
|
108
108
|
- app/assets/builds/profiler.js
|
|
109
109
|
- app/controllers/profiler/api/ajax_controller.rb
|
|
110
|
+
- app/controllers/profiler/api/cluster_controller.rb
|
|
110
111
|
- app/controllers/profiler/api/console_controller.rb
|
|
111
112
|
- app/controllers/profiler/api/env_vars_controller.rb
|
|
113
|
+
- app/controllers/profiler/api/events_controller.rb
|
|
112
114
|
- app/controllers/profiler/api/explain_controller.rb
|
|
113
115
|
- app/controllers/profiler/api/function_profiling_controller.rb
|
|
114
116
|
- app/controllers/profiler/api/jobs_controller.rb
|
|
115
117
|
- app/controllers/profiler/api/outbound_http_controller.rb
|
|
116
118
|
- app/controllers/profiler/api/profiles_controller.rb
|
|
119
|
+
- app/controllers/profiler/api/slave_proxy_controller.rb
|
|
117
120
|
- app/controllers/profiler/api/test_runner_controller.rb
|
|
118
121
|
- app/controllers/profiler/api/tests_controller.rb
|
|
119
122
|
- app/controllers/profiler/api/toolbar_controller.rb
|
|
@@ -129,6 +132,9 @@ files:
|
|
|
129
132
|
- config/routes.rb
|
|
130
133
|
- exe/profiler-mcp
|
|
131
134
|
- lib/profiler.rb
|
|
135
|
+
- lib/profiler/cluster/master_client.rb
|
|
136
|
+
- lib/profiler/cluster/slave_proxy.rb
|
|
137
|
+
- lib/profiler/cluster/slave_registry.rb
|
|
132
138
|
- lib/profiler/collectors/ajax_collector.rb
|
|
133
139
|
- lib/profiler/collectors/base_collector.rb
|
|
134
140
|
- lib/profiler/collectors/cache_collector.rb
|
|
@@ -171,6 +177,7 @@ files:
|
|
|
171
177
|
- lib/profiler/mcp/resources/slow_queries.rb
|
|
172
178
|
- lib/profiler/mcp/resources/slow_tests.rb
|
|
173
179
|
- lib/profiler/mcp/server.rb
|
|
180
|
+
- lib/profiler/mcp/slave_support.rb
|
|
174
181
|
- lib/profiler/mcp/tools/analyze_queries.rb
|
|
175
182
|
- lib/profiler/mcp/tools/clear_profiles.rb
|
|
176
183
|
- lib/profiler/mcp/tools/delete_env_var.rb
|
|
@@ -182,6 +189,7 @@ files:
|
|
|
182
189
|
- lib/profiler/mcp/tools/get_profile_mailers.rb
|
|
183
190
|
- lib/profiler/mcp/tools/get_test_profile_detail.rb
|
|
184
191
|
- lib/profiler/mcp/tools/list_env_vars.rb
|
|
192
|
+
- lib/profiler/mcp/tools/list_slaves.rb
|
|
185
193
|
- lib/profiler/mcp/tools/query_console_profiles.rb
|
|
186
194
|
- lib/profiler/mcp/tools/query_jobs.rb
|
|
187
195
|
- lib/profiler/mcp/tools/query_mailers.rb
|
|
@@ -198,6 +206,9 @@ files:
|
|
|
198
206
|
- lib/profiler/models/sql_query.rb
|
|
199
207
|
- lib/profiler/models/timeline_event.rb
|
|
200
208
|
- lib/profiler/railtie.rb
|
|
209
|
+
- lib/profiler/sse/bus.rb
|
|
210
|
+
- lib/profiler/sse/event_bus.rb
|
|
211
|
+
- lib/profiler/sse/redis_event_bus.rb
|
|
201
212
|
- lib/profiler/storage/base_store.rb
|
|
202
213
|
- lib/profiler/storage/blob_store.rb
|
|
203
214
|
- lib/profiler/storage/file_store.rb
|