karafka-web 0.8.0 → 0.8.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. checksums.yaml +4 -4
  2. checksums.yaml.gz.sig +0 -0
  3. data/CHANGELOG.md +16 -0
  4. data/Gemfile.lock +19 -19
  5. data/docker-compose.yml +1 -1
  6. data/lib/karafka/web/config.rb +6 -0
  7. data/lib/karafka/web/contracts/config.rb +1 -0
  8. data/lib/karafka/web/installer.rb +6 -2
  9. data/lib/karafka/web/management/actions/enable.rb +5 -0
  10. data/lib/karafka/web/management/actions/extend_boot_file.rb +3 -1
  11. data/lib/karafka/web/management/migrations/1706607960_introduce_lag_total_in_metrics.rb +38 -0
  12. data/lib/karafka/web/management/migrations/1706607960_introduce_lag_total_in_states.rb +22 -0
  13. data/lib/karafka/web/management/migrations/1706611396_rename_lag_total_to_lag_hybrid_in_metrics.rb +36 -0
  14. data/lib/karafka/web/management/migrations/1706611396_rename_lag_total_to_lag_hybrid_in_states.rb +21 -0
  15. data/lib/karafka/web/processing/consumers/aggregators/metrics.rb +7 -9
  16. data/lib/karafka/web/processing/consumers/aggregators/state.rb +8 -9
  17. data/lib/karafka/web/processing/consumers/contracts/aggregated_stats.rb +1 -2
  18. data/lib/karafka/web/processing/consumers/contracts/topic_stats.rb +1 -2
  19. data/lib/karafka/web/tracking/consumers/contracts/subscription_group.rb +1 -1
  20. data/lib/karafka/web/tracking/consumers/listeners/booting.rb +34 -0
  21. data/lib/karafka/web/tracking/consumers/sampler.rb +8 -2
  22. data/lib/karafka/web/tracking/producers/listeners/booting.rb +24 -0
  23. data/lib/karafka/web/tracking/scheduler.rb +0 -5
  24. data/lib/karafka/web/ui/controllers/consumers.rb +1 -1
  25. data/lib/karafka/web/ui/helpers/application_helper.rb +2 -0
  26. data/lib/karafka/web/ui/models/metrics/charts/topics.rb +5 -5
  27. data/lib/karafka/web/ui/models/partition.rb +22 -0
  28. data/lib/karafka/web/ui/models/process.rb +10 -12
  29. data/lib/karafka/web/ui/pro/app.rb +4 -0
  30. data/lib/karafka/web/ui/pro/controllers/consumers.rb +10 -4
  31. data/lib/karafka/web/ui/pro/controllers/health.rb +12 -0
  32. data/lib/karafka/web/ui/pro/views/consumers/_consumer.erb +1 -1
  33. data/lib/karafka/web/ui/pro/views/consumers/_counters.erb +2 -2
  34. data/lib/karafka/web/ui/pro/views/consumers/consumer/_partition.erb +3 -3
  35. data/lib/karafka/web/ui/pro/views/consumers/consumer/_subscription_group.erb +9 -3
  36. data/lib/karafka/web/ui/pro/views/consumers/index.erb +1 -1
  37. data/lib/karafka/web/ui/pro/views/consumers/subscriptions.erb +11 -11
  38. data/lib/karafka/web/ui/pro/views/dashboard/index.erb +3 -3
  39. data/lib/karafka/web/ui/pro/views/health/_breadcrumbs.erb +8 -0
  40. data/lib/karafka/web/ui/pro/views/health/_consumer_group_header.erb +14 -0
  41. data/lib/karafka/web/ui/pro/views/health/_partition.erb +1 -9
  42. data/lib/karafka/web/ui/pro/views/health/_partition_lags.erb +24 -0
  43. data/lib/karafka/web/ui/pro/views/health/_partition_offset.erb +1 -1
  44. data/lib/karafka/web/ui/pro/views/health/_tabs.erb +9 -0
  45. data/lib/karafka/web/ui/pro/views/health/changes.erb +3 -17
  46. data/lib/karafka/web/ui/pro/views/health/lags.erb +52 -0
  47. data/lib/karafka/web/ui/pro/views/health/offsets.erb +4 -17
  48. data/lib/karafka/web/ui/pro/views/health/overview.erb +4 -19
  49. data/lib/karafka/web/ui/views/consumers/_counters.erb +2 -2
  50. data/lib/karafka/web/ui/views/consumers/index.erb +1 -1
  51. data/lib/karafka/web/ui/views/dashboard/index.erb +3 -3
  52. data/lib/karafka/web/version.rb +1 -1
  53. data/lib/karafka/web.rb +2 -1
  54. data.tar.gz.sig +0 -0
  55. metadata +11 -2
  56. metadata.gz.sig +0 -0
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: karafka-web
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Maciej Mensfeld
@@ -35,7 +35,7 @@ cert_chain:
35
35
  AnG1dJU+yL2BK7vaVytLTstJME5mepSZ46qqIJXMuWob/YPDmVaBF39TDSG9e34s
36
36
  msG3BiCqgOgHAnL23+CN3Rt8MsuRfEtoTKpJVcCfoEoNHOkc
37
37
  -----END CERTIFICATE-----
38
- date: 2024-01-26 00:00:00.000000000 Z
38
+ date: 2024-02-16 00:00:00.000000000 Z
39
39
  dependencies:
40
40
  - !ruby/object:Gem::Dependency
41
41
  name: erubi
@@ -205,6 +205,10 @@ files:
205
205
  - lib/karafka/web/management/migrations/1700234522_remove_processing_from_consumers_state.rb
206
206
  - lib/karafka/web/management/migrations/1704722380_split_listeners_into_active_and_paused_in_metrics.rb
207
207
  - lib/karafka/web/management/migrations/1704722380_split_listeners_into_active_and_paused_in_states.rb
208
+ - lib/karafka/web/management/migrations/1706607960_introduce_lag_total_in_metrics.rb
209
+ - lib/karafka/web/management/migrations/1706607960_introduce_lag_total_in_states.rb
210
+ - lib/karafka/web/management/migrations/1706611396_rename_lag_total_to_lag_hybrid_in_metrics.rb
211
+ - lib/karafka/web/management/migrations/1706611396_rename_lag_total_to_lag_hybrid_in_states.rb
208
212
  - lib/karafka/web/management/migrator.rb
209
213
  - lib/karafka/web/processing/consumer.rb
210
214
  - lib/karafka/web/processing/consumers/aggregators/base.rb
@@ -227,6 +231,7 @@ files:
227
231
  - lib/karafka/web/tracking/consumers/contracts/subscription_group.rb
228
232
  - lib/karafka/web/tracking/consumers/contracts/topic.rb
229
233
  - lib/karafka/web/tracking/consumers/listeners/base.rb
234
+ - lib/karafka/web/tracking/consumers/listeners/booting.rb
230
235
  - lib/karafka/web/tracking/consumers/listeners/connections.rb
231
236
  - lib/karafka/web/tracking/consumers/listeners/errors.rb
232
237
  - lib/karafka/web/tracking/consumers/listeners/pausing.rb
@@ -244,6 +249,7 @@ files:
244
249
  - lib/karafka/web/tracking/helpers/ttls/windows.rb
245
250
  - lib/karafka/web/tracking/memoized_shell.rb
246
251
  - lib/karafka/web/tracking/producers/listeners/base.rb
252
+ - lib/karafka/web/tracking/producers/listeners/booting.rb
247
253
  - lib/karafka/web/tracking/producers/listeners/errors.rb
248
254
  - lib/karafka/web/tracking/producers/reporter.rb
249
255
  - lib/karafka/web/tracking/producers/sampler.rb
@@ -369,12 +375,15 @@ files:
369
375
  - lib/karafka/web/ui/pro/views/explorer/topic/_empty.erb
370
376
  - lib/karafka/web/ui/pro/views/explorer/topic/_limited.erb
371
377
  - lib/karafka/web/ui/pro/views/health/_breadcrumbs.erb
378
+ - lib/karafka/web/ui/pro/views/health/_consumer_group_header.erb
372
379
  - lib/karafka/web/ui/pro/views/health/_no_data.erb
373
380
  - lib/karafka/web/ui/pro/views/health/_partition.erb
381
+ - lib/karafka/web/ui/pro/views/health/_partition_lags.erb
374
382
  - lib/karafka/web/ui/pro/views/health/_partition_offset.erb
375
383
  - lib/karafka/web/ui/pro/views/health/_partition_times.erb
376
384
  - lib/karafka/web/ui/pro/views/health/_tabs.erb
377
385
  - lib/karafka/web/ui/pro/views/health/changes.erb
386
+ - lib/karafka/web/ui/pro/views/health/lags.erb
378
387
  - lib/karafka/web/ui/pro/views/health/offsets.erb
379
388
  - lib/karafka/web/ui/pro/views/health/overview.erb
380
389
  - lib/karafka/web/ui/pro/views/jobs/_job.erb
metadata.gz.sig CHANGED
Binary file