Sha256: c2beb8b2101bde06479525c810f7a1d7b55d03ffd62c1f609187531551e154da

Contents?: true

Size: 771 Bytes

Versions: 13

Compression:

Stored size: 771 Bytes

Contents

# frozen_string_literal: true

module Karafka
  module Web
    module Ui
      module Controllers
        # 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.
        class StatusController < BaseController
          # Displays the Web UI setup status
          def show
            @status = Models::Status.new
            @sampler = Tracking::Sampler.new

            render
          end
        end
      end
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
karafka-web-0.10.4 lib/karafka/web/ui/controllers/status_controller.rb
karafka-web-0.10.3 lib/karafka/web/ui/controllers/status_controller.rb
karafka-web-0.10.2 lib/karafka/web/ui/controllers/status_controller.rb
karafka-web-0.10.1 lib/karafka/web/ui/controllers/status_controller.rb
karafka-web-0.10.0 lib/karafka/web/ui/controllers/status_controller.rb
karafka-web-0.10.0.rc2 lib/karafka/web/ui/controllers/status_controller.rb
karafka-web-0.10.0.rc1 lib/karafka/web/ui/controllers/status_controller.rb
karafka-web-0.10.0.beta1 lib/karafka/web/ui/controllers/status_controller.rb
karafka-web-0.9.1 lib/karafka/web/ui/controllers/status_controller.rb
karafka-web-0.9.0 lib/karafka/web/ui/controllers/status_controller.rb
karafka-web-0.9.0.rc3 lib/karafka/web/ui/controllers/status_controller.rb
karafka-web-0.9.0.rc2 lib/karafka/web/ui/controllers/status_controller.rb
karafka-web-0.9.0.rc1 lib/karafka/web/ui/controllers/status_controller.rb