Configurable bridge settings - IBM/ibm-spectrum-scale-bridge-for-grafana GitHub Wiki

IBM Storage Scale bridge for Grafana has a number of configuration options that you can specify in the config.ini configuration file or apply as command line arguments at the bridge start. The options values passed as parameters on CLI through the grafana bridge start have always the higher ranking as the values stored in the config.ini.

Example

Log level settings from the config.ini file:

# log level 10 (DEBUG), 20 (INFO), 30 (WARN), 40 (ERROR) (Default: 20)
logLevel = 20

Log level argument passed through at the bridge start:

# python3 zimonGrafanaIntf.py -c 10

In this case the bridge will be running in the DEBUG mode

Note: If you prefer editing config.ini file rather than specifying arguments on the command line, you must restart the IBM Storage Scale bridge for Grafana for any configuration changes to take effect.

Comments in a config.ini file

Hash sign (the # char) is used to comment out lines in a config.ini file. If you want to change a setting, you must delete the hash sign (#) in a front of the setting before it will work.

Example

[tls]
# Directory path of tls key and cert file location
# tlsKeyPath = /etc/bridge_ssl/certs