MacOS: By default, the Mac plugin location is: /usr/local/var/lib/grafana/plugins. For information about manually or automatically installing plugins, refer to Install Grafana plugins. pluginsĭirectory where Grafana automatically scans and looks for plugins. MacOS: By default, the log file should be located at /usr/local/var/log/grafana/grafana.log. grafana-server -config /custom/config.ini -homepath /custom/homepath cfg:=/custom/path Override log path using the command line argument cfg:: However, please note that by overriding this the default log path will be used temporarily until Grafana has fully initialized/started. You can override it in the configuration file or in the default environment variable file. This path is usually specified via command line in the init.d script or the systemd service file. How long temporary images in data directory should be kept. MacOS: The default SQLite database is located at /usr/local/var/lib/grafana temp_data_lifetime Path to where Grafana stores the sqlite3 database (if used), file-based sessions (if used), and other data. NoteIt should be kept false or unset when not needed, as it may cause unintended data loss if left enabled. You must uncomment each line in the custom.ini or the grafana.ini file that you are modify by removing from the beginning of that line. Grafana uses semicolons (the char) to comment out lines in a. Otherwise, add a configuration file named custom.ini to the conf folder to override the settings defined in conf/defaults.ini. For a Grafana instance installed using Homebrew, edit the grafana.ini file directly. macOSīy default, the configuration file is located at /usr/local/etc/grafana/grafana.ini. It contains all the settings commented out. On Windows, the sample.ini file is located in the same directory as defaults.ini file. Refer to Configure a Grafana Docker image for information about environmental variables, persistent storage, and building custom Docker images. 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/custom.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. NoteAfter you add custom options, uncomment the relevant sections of the configuration file.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |