Sha256: 539ba9b9153563d54fd3019573a33aeed42bcae472840a43f6ee54a78a053ed4
Contents?: true
Size: 1.2 KB
Versions: 11
Compression:
Stored size: 1.2 KB
Contents
# frozen_string_literal: true # This Karafka component is a Pro component under a commercial license. # This Karafka component is NOT licensed under LGPL. # # All of the commercial components are present in the lib/karafka/pro directory of this # repository and their usage requires commercial license agreement. # # Karafka has also commercial-friendly license, commercial support and commercial components. # # By sending a pull request to the pro components, you are agreeing to transfer the copyright of # your code to Maciej Mensfeld. module Karafka module Web module Ui module Pro module Controllers # Health state controller class Health < Ui::Controllers::Base # Displays the current system state def overview current_state = Models::ConsumersState.current! @stats = Models::Health.current(current_state) respond end # Displays details about offsets and their progression/statuses def offsets # Same data as overview but presented differently overview respond end end end end end end end
Version data entries
11 entries across 11 versions & 1 rubygems