Sign inSign up

dotnetmentor/emon

By dotnetmentor

•Updated over 5 years ago

Eventstore monitoring over HTTP

Image
1

1.1K

dotnetmentor/emon repository overview

⁠emon

Eventstore monitoring over HTTP

NOTE: NOT ready for production!!!

Docker Automated build Docker Build Status MicroBadger Size Docker Pulls

⁠Configuration

Environment variableDescriptionDefault
EMON_HTTP_BIND_ADDRESSThe address emon will listen on:8113
EMON_SLOW_CHECK_THRESHOLDThe threshold for slow_check warning20ms
EMON_CLUSTER_HTTP_ENDPOINTThe eventstore HTTP addresshttp://localhost:2113⁠
EMON_CLUSTER_SIZEThe eventstore cluster size3

⁠Checks

TypeNameDescriptionImplemented
gossipcollect_gossipCollecting gossip from gossip endpoint:white_check_mark:
gossipalive_masterExpects exacly 1 master:white_check_mark:
gossipalive_slavesExpects n number of slaves where n = ceil(cluster size / 2) - 1.:white_check_mark:
gossipalive_nodesExpects n number of alive nodes where n = ceil(cluster size / 2).:white_check_mark:
statscollect_statsCollecting stats from stats endpoint:white_check_mark:
statssys_cpuExpects system cpu usage to be less then n percent. (default: 90%):white_check_mark:
statssys_memExpects n MB free system memory. (default: 200MB):white_check_mark:
statsproc_cpuExpects process cpu usage to be less then n percent. (default: 90%):white_check_mark:
statsproc_memExpects memory usage to be less then n MB. (default: 1000MB):white_check_mark:
?storage_disk_fullExpects there to be at least n percent free disk space for the storage drive (default: 25%)-
?os_disk_fullExpects there to be at least n percent free disk space for the os drive (default: 25%)-
gossipmaster_consensusExpects all nodes to report having the same master:white_check_mark:
gossiptime_consensusExpects timestamp diff between nodes and master to be diff <= n. (default: 5s):white_check_mark:
timerslow_checksExpects each check to complete within n milliseconds (default: 100ms):white_check_mark:

⁠Development

docker-compose up -d
./run

⁠Releasing

Pre-requisites:

goreleaser --rm-dist

Tag summary

Content type

Image

Digest

Size

2 MB

Last updated

over 5 years ago

docker pull dotnetmentor/emon