IasMonitor

org.eso.ias.monitor.IasMonitor
See theIasMonitor companion object
class IasMonitor(val kafkaBrokers: String, val identifier: String, pluginIds: Set[String], converterIds: Set[String], clientIds: Set[String], sinkIds: Set[String], supervisorIds: Set[String], kafkaConenctorConfigs: Set[KafkaSinkConnectorConfig], coreToolsIds: Set[String], threshold: Long, val refreshRate: Long, val hbFrequency: Long) extends AutoCloseable

Monitor the state of the IAS and sends alarms

In this version, alarms are pushed in the core topic and will be read from there by the web server.

TODO: send alarms (al least some of them) to the web server even when kafka is down

Value parameters

clientIds

The IDs of the clients to monitor

converterIds

The IDs of the converters to monitor

coreToolsIds

The IDs of the core tools to monitor

identifier

The identifier of the monitor tool

kafkaBrokers

Kafka brokers

kafkaConenctorConfigs

The IDs of the kafka sink connectors to monitor

pluginIds

The IDs of the plugins to monitor

refreshRate

the refresh rate (seconds) to send alarms produced by the monitor

sinkIds

The IDs of the sink clients to monitor

supervisorIds

The IDs of the supervisors to monitor

threshold

The threshold to decide when a HB is too late

Attributes

Companion
object
Graph
Supertypes
trait AutoCloseable
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def close(): Unit

Stop monitoring and free resources

Stop monitoring and free resources

Attributes

Definition Classes
AutoCloseable
def start(): Unit

Start the monitoring

Start the monitoring

Attributes

Concrete fields

The object that periodically sends the alarms

The object that periodically sends the alarms

Attributes

The object that publishes the alarms

The object that publishes the alarms

Attributes

val closed: AtomicBoolean

True if the monitor has been closed

True if the monitor has been closed

Attributes

val commandManager: CommandManager

The object that gets and executes commands

The object that gets and executes commands

Attributes

The consumer of HBs

The consumer of HBs

Attributes

The sender of the HBs

The sender of the HBs

Attributes

val hbFrequency: Long

The object to monitor HBs

The object to monitor HBs

Attributes

val identifier: String
val kafkaBrokers: String
val refreshRate: Long
val stringProducer: SimpleStringProducer

The Kafka producer

The Kafka producer

Attributes