gerrit-monitoring/subcommands
Thomas Draebing 451882b7e9 Allow to monitor Gerrit on Kubernetes
So far it was only possible to monitor single instance Gerrit servers.
This was due to to the fact that a URL had to be used that pointed to
a dedicated instance, since if multiple replicas would be behind the
instance, the metrics of a random replica would be scraped and not of
all.

Prometheus has a service discovery functionality for deployments running
in Kubernetes. This is now used, when monitoring a Gerrit instance in
Kubernetes. This allows to have a variable number of replicas running,
which will be automatically discovered by Prometheus.

The dashboards were adapted accordingly and allow now to select the
replica to be observed. For now, no summary of all replicas can be
displayed in the dashboards, but that feature is planned to be added
in the future.

Change-Id: I96efc63a192cd90f5e3e91a53dace8e1ae83132e
2020-05-14 15:55:35 +02:00
..
__init__.py Rewrite the scripts in python 2020-04-16 14:25:50 +02:00
_globals.py Rewrite the scripts in python 2020-04-16 14:25:50 +02:00
encrypt.py Rewrite the scripts in python 2020-04-16 14:25:50 +02:00
install.py Allow to monitor Gerrit on Kubernetes 2020-05-14 15:55:35 +02:00
uninstall.py Rewrite the scripts in python 2020-04-16 14:25:50 +02:00