This repository contains the deployments of monitoring tools used across Open Food Facts infrastructure.
See Infrastructure / Observability for more documentation.
It contains Docker Compose deployments for services deployed on monitoring server:
- ElasticSearch (for gathering logs) running on port
9200
and9300
- Kibana (to access elasticsearch thus logs) running on port
5601
- InfluxDB (metrics database) running on port
8086
- Grafana (dashboards and graphics from metrics) running on port
3000
- Prometheus (metrics and monitoring) running on port
9090
- AlertManager (automatic alerts triggering) running on port
9093
📝 there is another InfluxDB and Grafana for "business" metrics, see openfoodfacts-infrastructure:docker/metrics
It also contains exporters that should be deployed on each nodes (see docker-compose.node.yml
):
- filebeat 1 gather logs and send them to Elasticsearch
- cadvisor 2 gather docker metrics
- node_exporter 3 gather host metrics
PS: if you modify this, please keep corresponding page in infrastructure up to date
- Alerts
- Prometheus Scrape targets
- Grafana Dashboards
- Grafana Datasources
- HTTP Probe Config
- Filebeat Config
You can first start the blackbox exporter service:
docker compose up blackbox-exporter
Look at the log, it may tell about errors in the config.
You can then test a probe manually, you must pass as parameter the target
(the URL to probe),
and the module
used to probe it. Adding debug=true
will help you debug the probe.
For example:
http://127.0.0.1:9115/probe?target=https://prometheus.openfoodfacts.org/&module=http_probe_auth_monitoring&debug=true will probe http://prometheus.openfoodfacts.org
with the http_probe_auth_monitoring
module.
Look at the probe_success
metrics to see if the probe succeeded.