# Actors

An extra library of actors implementations not included in the standard Ergo Framework library. This library contains packages with a narrow specialization. It also includes packages with external dependencies, as Ergo Framework adheres to a "zero dependency" policy.

## [Leader](https://docs.ergo.services/extra-library/actors/leader)

Distributed leader election actor implementing Raft-inspired consensus algorithm. Provides coordination primitives for building systems that require single leader selection across a cluster.

**Use cases:** Task schedulers, resource managers, single-writer databases, distributed locks, cluster coordinators.

## [Metrics](https://docs.ergo.services/extra-library/actors/metrics)

Prometheus metrics exporter actor that automatically collects and exposes Ergo node and network telemetry via HTTP endpoint. Provides observability for monitoring cluster health and resource usage.

**Use cases:** Production monitoring, performance analysis, capacity planning, debugging distributed systems.
