Sha256: 64fe91489ebdd5cb6dc8547383a3526d812b9a2740e36f0a3627801dfd1708f3

Contents?: true

Size: 751 Bytes

Versions: 4

Compression:

Stored size: 751 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 Status < Base
          # 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

4 entries across 4 versions & 1 rubygems

Version Path
karafka-web-0.8.2 lib/karafka/web/ui/controllers/status.rb
karafka-web-0.8.1 lib/karafka/web/ui/controllers/status.rb
karafka-web-0.8.0 lib/karafka/web/ui/controllers/status.rb
karafka-web-0.8.0.rc1 lib/karafka/web/ui/controllers/status.rb