This is documentation for the next version of Grafana. For the latest stable release, go to the latest version.
Install Grafana
You can use Grafana Cloud to avoid installing, maintaining, and scaling your own instance of Grafana. Create a free account to get started, which includes free forever access to 10k metrics, 50GB logs, 50GB traces, 500VUh k6 testing & more.
This page lists the minimum hardware and software requirements to install Grafana.
To run Grafana, you must have a supported operating system, hardware that meets or exceeds minimum requirements, a supported database, and a supported browser.
The following video guides you through the steps and common commands for installing Grafana on various operating systems as described in this document.
Grafana relies on other open source software to operate. For a list of open source software that Grafana uses, refer to package.json.
Supported operating systems
Grafana supports the following operating systems:
Note
Installation of Grafana on other operating systems is possible, but is not recommended or supported.
Hardware recommendations
Grafana requires the minimum system resources:
- Minimum recommended memory: 512 MB
- Minimum recommended CPU: 1 core
Some features might require more memory or CPUs, including:
Supported databases
Grafana requires a database to store its configuration data, such as users, data sources, and dashboards. The exact requirements depend on the size of the Grafana installation and the features you use.
Grafana supports the following databases:
By default Grafana uses an embedded SQLite database, which is stored in the Grafana installation location.
Note
SQLite works well if your environment is small, but is not recommended when your environment starts growing. For more information about the limitations of SQLite, refer to Appropriate Uses For SQLite. If you want high availability, you must use either a MySQL or PostgreSQL database. For information about how to define the database configuration parameters inside thegrafana.ini
file, refer to [database].
Grafana supports the versions of these databases that are officially supported by the project at the time a version of Grafana is released. When a Grafana version becomes unsupported, Grafana Labs might also drop support for that database version. See the links above for the support policies for each project.
Note
PostgreSQL versions 10.9, 11.4, and 12-beta2 are affected by a bug (tracked by the PostgreSQL project as bug #15865) which prevents those versions from being used with Grafana. The bug has been fixed in more recent versions of PostgreSQL.
Note
Grafana binaries and images might not work with unsupported databases, even if they claim to be drop-in or replicate the API to their best. Binaries and images built with BoringCrypto may have different problems than other distributions of Grafana.
Grafana can report errors when relying on read-only MySQL servers, such as in high-availability failover scenarios or serverless AWS Aurora MySQL. This is a known issue; for more information, see issue #13399.
Supported web browsers
Grafana supports the current version of the following browsers. Older versions of these browsers might not be supported, so you should always upgrade to the latest browser version when using Grafana.
Note
Enable JavaScript in your browser. Running Grafana without JavaScript enabled in the browser is not supported.
- Chrome/Chromium
- Firefox
- Safari
- Microsoft Edge