Package com.societegenerale.failover.observable.micrometer
package com.societegenerale.failover.observable.micrometer
Micrometer-backed observability for the failover framework.
MicrometerObservablePublisher
translates failover lifecycle events into Micrometer meters — store/recover counters, the
per-method recovery outcome metric, and the partial-recovery counter — recorded against the
application's MeterRegistry. The package also contributes a failover health indicator. Active
only when Micrometer is on the classpath.
-
ClassDescriptionBase for event-driven snapshot publishers.Concrete
ThresholdSnapshotPublisherthat builds aClusterSnapshotfrom the localFailoverMetricsSnapshotServiceand delivers it via aSnapshotPushClient.MeterBinderthat exposes static failover configuration as Micrometer gauges.Process-wide framework settings echoed on thefailover.config.globalgauge — the same valuesDashboardConfigServiceused to read from theEnvironmentdirectly, now emitted so a remote dashboard can read them too.Periodic lightweight heartbeat publisher.Transport abstraction for the lightweight heartbeat ping.ObservablePublisherthat emits real Micrometer meters on every store/recover event.Contract for pushing a local metrics snapshot to an external receiver (e.g. a centralised dashboard).Transport abstraction for sending aClusterSnapshotto the dashboard ingest endpoint.Time-threshold extension ofAbstractSnapshotPublisher: implementsThresholdSnapshotPublisher.shouldPublish()to allow at most one push perintervalSeconds.