Sign inSign up

peakcom/github-enterprise-replication-exporter

By peakcom

•Updated over 7 years ago

Image
0

378

peakcom/github-enterprise-replication-exporter repository overview

⁠Github Enterprise Replication Exporter

This application is designed to parse ghe-repl-status and export it as prometheus metrics. It is our current way of scraping status.

⁠Exported information

Exports 2 metrics

⁠github_replication_exporter_replicated_service

All replicated services are parsed and returned. 0 means that service is healthy, and 1 is unhealthy.

labelvalue
roleprimary or replica
serviceany replicated service returned by ghe-repl-status
⁠github_replication_exporter_up

The gole of this metric would be to monitor that replica role is 0. Primary node throws an error, and 1 is given back, but it is still possible to see that primary node has also exporter running.

labelvalue
roleprimary or replica
⁠Prometheus Alert examples
TBD
⁠Docker

You can test quickly with running following command:

docker run peakcom/github-enterprise-replication-exporter:latest

Tag summary

Content type

Image

Digest

Size

6.1 MB

Last updated

over 7 years ago

docker pull peakcom/github-enterprise-replication-exporter