This is a set of Cloud Formation Templates and scripts to spin up a monitoring stack.
The stack includes Prometheus, to scrape Gerrit metrics exposed by primary and replica, and Grafana to display them.
TOKEN_VERSION
to the main cookbook setup.env
gXpAFL
in this caseFrom the main cookbook run: make service-monitoring
Get the URL of your Prometheus instance this way:
aws cloudformation describe-stacks \ --stack-name <SERVICE_PROMETHEUS_STACK_NAME> \ | grep -A1 '"OutputKey": "CanonicalWebUrl"' \ | grep OutputValue \ | cut -d'"' -f 4
Get the URL of your Prometheus instance this way:
aws cloudformation describe-stacks \ --stack-name <SERVICE_PROMETHEUS_STACK_NAME> \ | grep -A1 '"OutputKey": "CanonicalWebUrl"' \ | grep OutputValue \ | cut -d'"' -f 4
The default credentials are:
admin
admin
Refer to the Docker section for information on how to setup docker or how to publish images