Crate dvm_info[][src]

Responsible for gathering various metrics from the running dvm process and sending it to the Prometheus instance.

Modules

config

Defines InfoServiceConfig with all the configuration options for metric collection.

heartbeat

Defines HeartRateMonitor, that wraps an AtomicU64 corresponding to the last valid heartbeat timestamp.

memory_check

Defines MemoryChecker

metrics

Execution metrics.

task

Defines PeriodicBackgroundTask which is used to collect metrics in the background.

web

Defines InfoService, tower-based web service which handles metrics collection and heartbeats.