gitlab-org--gitlab-foss/doc/monitoring/performance
Yorick Peterse 76c2594a6a
Updated list of InfluxDB queries/config
This setup is quite a bit different from before. In the previous setup
raw data was kept around for 30 days and downsampled data for 7 days.
This became problematic for GitLab.com as the number of points and
series resulted in InfluxDB running out of memory when starting up
(besides taking up 30 GB of storage).

To work around this the new setup keeps raw data around for _only_ an
hour while keeping downsampled data around for 7 days. In turn all
Grafana dashboards _only_ query the downsampled data instead of also
querying raw data.

Based on rough calculations this setup needs around 2GB of storage for 1
week of data, excluding whatever is needed for storing the raw data
(this highly depends on the amount of traffic).

If users want to use this new setup they have to remove any existing
dashboards provided by GitLab.com and re-import the ones from the
Grafana dashboards repository
(https://gitlab.com/gitlab-org/grafana-dashboards/). Should users wish
to change their default retention policy the easiest way of doing so is
to simply drop the database and re-run the InfluxDB commands added by
this commit. Users who want to keep their default retention policy as-is
can simply create the "downsampled" policy and run the other commands.
2016-04-25 12:18:55 +02:00
..
img Grafana installation and configuration documentation. [ci skip] 2016-03-22 13:34:05 -05:00
gitlab_configuration.md Fix Grafana docs and link from Influx page 2016-04-12 15:40:53 -05:00
grafana_configuration.md Updated list of InfluxDB queries/config 2016-04-25 12:18:55 +02:00
influxdb_configuration.md Fix Grafana docs and link from Influx page 2016-04-12 15:40:53 -05:00
influxdb_schema.md Fix Grafana docs and link from Influx page 2016-04-12 15:40:53 -05:00
introduction.md Grafana installation and configuration documentation. [ci skip] 2016-03-22 13:34:05 -05:00