Skip to content

openfoodfacts/openfoodfacts-monitoring

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Food Facts Monitoring

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 and 9300
  • 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

Configs

Testing blackbox exporter config locally

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.

Footnotes

  1. https://www.elastic.co/fr/beats/filebeat

  2. https://prometheus.io/docs/guides/cadvisor/

  3. https://prometheus.io/docs/guides/node-exporter/

About

No description or website provided.

Topics

Resources

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7