Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.
dotnetmentorPublic archive

About

Eventstore monitoring over HTTP

Resources

Stars

1 star

Watchers

3 watching

Forks

Repository files navigation

emon

Eventstore monitoring over HTTP

NOTE: NOT ready for production!!!

Docker Automated build Docker Build Status MicroBadger Size Docker Pulls

Configuration

Environment variable Description Default
EMON_HTTP_BIND_ADDRESS The address emon will listen on :8113
EMON_SLOW_CHECK_THRESHOLD The threshold for slow_check warning 20ms
EMON_CLUSTER_HTTP_ENDPOINT The eventstore HTTP address http://localhost:2113
EMON_CLUSTER_SIZE The eventstore cluster size 3

Checks

Type Name Description Implemented
gossip collect_gossip Collecting gossip from gossip endpoint ✅
gossip alive_master Expects exacly 1 master ✅
gossip alive_slaves Expects n number of slaves where n = ceil(cluster size / 2) - 1. ✅
gossip alive_nodes Expects n number of alive nodes where n = ceil(cluster size / 2). ✅
stats collect_stats Collecting stats from stats endpoint ✅
stats sys_cpu Expects system cpu usage to be less then n percent. (default: 90%) ✅
stats sys_mem Expects n MB free system memory. (default: 200MB) ✅
stats proc_cpu Expects process cpu usage to be less then n percent. (default: 90%) ✅
stats proc_mem Expects memory usage to be less then n MB. (default: 1000MB) ✅
? storage_disk_full Expects there to be at least n percent free disk space for the storage drive (default: 25%) -
? os_disk_full Expects there to be at least n percent free disk space for the os drive (default: 25%) -
gossip master_consensus Expects all nodes to report having the same master ✅
gossip time_consensus Expects timestamp diff between nodes and master to be diff <= n. (default: 5s) ✅
timer slow_checks Expects each check to complete within n milliseconds (default: 100ms) ✅

Development

docker-compose up -d
./run

Releasing

Pre-requisites:

goreleaser --rm-dist

About

Eventstore monitoring over HTTP

Resources

Stars

1 star

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages

⌂ 换网址