influx: docs for retention policy option
This commit is contained in:
@@ -62,6 +62,7 @@ Read [how to configure](./sql_datasource) SQL data source in Grafana.
|
|||||||
|
|
||||||
- **Enable**: enable Direct DB Connection.
|
- **Enable**: enable Direct DB Connection.
|
||||||
- **Data Source**: Select Data Source for Zabbix history database.
|
- **Data Source**: Select Data Source for Zabbix history database.
|
||||||
|
- **Retention Policy** (InfluxDB only): Specify retention policy name for fetching long-term stored data. Grafana will fetch data from this retention policy if query time range suitable for trends query. Leave it blank if only default retention policy used.
|
||||||
|
|
||||||
#### Supported databases
|
#### Supported databases
|
||||||
|
|
||||||
|
|||||||
@@ -34,8 +34,11 @@ datasources:
|
|||||||
disableReadOnlyUsersAck: true
|
disableReadOnlyUsersAck: true
|
||||||
# Direct DB Connection options
|
# Direct DB Connection options
|
||||||
dbConnectionEnable: true
|
dbConnectionEnable: true
|
||||||
# Name of existing SQL datasource
|
# Name of existing datasource for Direct DB Connection
|
||||||
dbConnectionDatasourceName: MySQL Zabbix
|
dbConnectionDatasourceName: MySQL Zabbix
|
||||||
|
# Retention policy name (InfluxDB only) for fetching long-term stored data.
|
||||||
|
# Leave it blank if only default retention policy used.
|
||||||
|
dbConnectionRetentionPolicy: one_year
|
||||||
version: 1
|
version: 1
|
||||||
editable: false
|
editable: false
|
||||||
|
|
||||||
|
|||||||
@@ -115,7 +115,7 @@
|
|||||||
Retention Policy
|
Retention Policy
|
||||||
<info-popover mode="right-normal">
|
<info-popover mode="right-normal">
|
||||||
Specify retention policy name for fetching long-term stored data (optional).
|
Specify retention policy name for fetching long-term stored data (optional).
|
||||||
Leave it blank if only default retention policy is using.
|
Leave it blank if only default retention policy used.
|
||||||
</info-popover>
|
</info-popover>
|
||||||
</span>
|
</span>
|
||||||
<input class="gf-form-input max-width-16"
|
<input class="gf-form-input max-width-16"
|
||||||
|
|||||||
Reference in New Issue
Block a user