

This path is specified in the Grafana init.d script using -config file parameter. If you installed Grafana using the deb or rpm packages, then your configuration file is located at /etc/grafana/grafana.ini and a separate custom.ini is not used. The custom configuration file path can be overridden using the -config parameter. Do not change this file.ĭepending on your OS, your custom configuration file is either the $WORKING_DIR/conf/defaults.ini file or the /usr/local/etc/grafana/grafana.ini file. The default settings for a Grafana instance are stored in the $WORKING_DIR/conf/defaults.ini file. Restart Grafana for your changes to take effect. Note: After you add custom options, uncomment the relevant sections of the configuration file. To see the list of settings for a Grafana instance, refer to View server settings.


You can customize your Grafana instance by modifying the custom configuration file or by using environment variables. Grafana has default and custom configuration files. Create a free account to get started, which includes free forever access to 10k metrics, 50GB logs, 50GB traces, 500VUh k6 testing & more. You can use Grafana Cloud to avoid installing, maintaining, and scaling your own instance of Grafana.
