monitor

package monitor

Members list

Packages

package monitor.io

Type members

Classlikes

@Singleton
final class ElasticsearchLogIndexer(config: Config) extends LazyStructuredLogging

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type
case class IndexOperation(itemCount: Int, offset: Long, stamp: Instant = ...)

Represents an operation related to indexing with metadata on item counts, offsets, and a timestamp indicating when the operation was created.

Represents an operation related to indexing with metadata on item counts, offsets, and a timestamp indicating when the operation was created.

Value parameters

itemCount

The number of items involved in the index operation.

offset

The offset where this piece of the log ended.

stamp

when.

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
final case class LogApiMetadata(from: Long, to: Long, size: Long, logId: String, truncated: Boolean)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
final case class LogIndexResult(attemptedLines: Int, indexedLines: Int, failures: Seq[String])

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
@Singleton
class LogProcesser(nodeStore: NodeStore, nodeLogScraper: NodeLogScraper, config: Config) extends LazyStructuredLogging

Manages and updates information about UDP node identities and their packets.

Manages and updates information about UDP node identities and their packets.

This class listens for incoming UDP packets, processes and manages information about the nodes from which the packets originate, and provides the ability to scrape logs for discovered nodes. It maintains an up-to-date list of node identities and their latest UDP header data.

Value parameters

config

Configuration settings to adjust behavior such as log scraping interval.

nodeIdentityDialog

A dialog interface for displaying node identities in a UI.

nodeLogScraper

A scraper used for retrieving logs from discovered nodes.

udpPacketListener

An instance of UdpPacketListener to receive and queue UDP packets.

Attributes

Constructor

Creates a new instance of NodeInfoManager with dependencies injected.

Supertypes
class Object
trait Matchable
class Any
object MonitorApp extends JFXApp3

Attributes

Supertypes
trait JFXApp3
class Object
trait Matchable
class Any
Self type
MonitorApp.type
class MonitorModule extends AbstractModule, ScalaModule

Attributes

Supertypes
trait ScalaModule
trait InternalModule[Binder]
class AbstractModule
trait Module
class Object
trait Matchable
class Any
Show all
final class MonitorUi(nodeStore: NodeStore, nodeStatusView: NodeStatusView, logProcesser: LogProcesser, elasticsearchLogIndexer: ElasticsearchLogIndexer)

Attributes

Supertypes
class Object
trait Matchable
class Any
class NodeData(val nodeIdentity: NodeIdentity, initialLastIndexOffset: Long = ...)

Value parameters

nodeIdentity

which node.

Attributes

Supertypes
class Object
trait Matchable
class Any
@Singleton
final class NodeLogScraper(elasticsearchLogIndexer: ElasticsearchLogIndexer) extends LazyStructuredLogging

Attributes

Supertypes
class Object
trait Matchable
class Any
@Singleton
final class NodeStatusView()

Attributes

Supertypes
class Object
trait Matchable
class Any
@Singleton
class NodeStore(directoryProvider: DirectoryProvider) extends LazyStructuredLogging

What the monitor knows.

What the monitor knows.

Attributes

Supertypes
class Object
trait Matchable
class Any
final class UdpPacketListener(config: Config, nodeStore: NodeStore) extends Runnable, LazyStructuredLogging

Attributes

Companion
object
Supertypes
trait Runnable
class Object
trait Matchable
class Any

Attributes

Companion
class
Supertypes
class Object
trait Matchable
class Any
Self type