Class: Karafka::Web::Ui::Controllers::StatusController

Inherits:
BaseController
  • Object
show all
Defined in:
lib/karafka/web/ui/controllers/status_controller.rb

Overview

View that helps understand the status of the Web UI Many people reported problems understanding the requirements or misconfigured things. While all of the things are documented, people are lazy. Hence we provide a status page where we check that everything is as expected and if not, we can provide some helpful instructions on how to fix the issues.

Direct Known Subclasses

Pro::Ui::Controllers::StatusController

Constant Summary

Constants inherited from BaseController

BaseController::Models

Instance Method Summary collapse

Methods inherited from BaseController

#initialize

Constructor Details

This class inherits a constructor from Karafka::Web::Ui::Controllers::BaseController

Instance Method Details

#showObject

Displays the Web UI setup status



14
15
16
17
18
19
# File 'lib/karafka/web/ui/controllers/status_controller.rb', line 14

def show
  @status = Models::Status.new
  @sampler = Tracking::Sampler.new

  render
end