Skip to content

zeropsio/recipe-prometheus-grafana

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Zerops x Prometheus + Grafana

Prometheus is an open-source systems monitoring and alerting toolkit with a dimensional data model, flexible query language, efficient time series database and modern alerting approach.
Grafana is a multi-platform open-source analytics and interactive visualization web application that provides charts, graphs, and alerts for the web when connected to supported data sources.
Zerops recipe for Prometheus + Grafana includes a monitoring stack with PostgreSQL DB and automated backups.

prometheus-grafana


Deploy on Zerops

You can either click the deploy button to deploy directly on Zerops, or manually copy the import yaml to the import dialog in the Zerops app.

Deploy on Zerops


Recipe features

  • Prometheus running on a Zerops Alpine service with automatic snapshots
  • Grafana running on a Zerops Alpine service with dashboard support
  • Zerops PostgreSQL 17 service as Grafana database
  • Zerops Object Storage service for automated data backups
  • Utilization of a Zerops built-in environment variables system

Production vs. development

Base of the recipe is ready for production, the difference comes down to:

  • Use a highly available version of the PostgreSQL database (change mode from NON_HA to HA in recipe YAML, db service section)

Changes made over the default installation

If you want to modify your existing Prometheus + Grafana setup to efficiently run on Zerops, these are the general steps we took:

  • Add zerops.yml to your repository. Our example includes installation of specified versions, automated backups and health checks.
  • Configure Grafana to use PostgreSQL as a database backend instead of SQLite for better performance and reliability.
  • Set up automated Prometheus data snapshots and restores with object storage backups every hour.

Additional info

Grafana admin login for this recipe is admin with automatically generated password, which can be found under GF_SECURITY_ADMIN_PASSWORD name in the Zerops Environment variables section of grafana service.



Need help setting your project up? Join Zerops Discord community.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published