blob: cdfb9db732fb9e5bef626be787f7fd49e9bd79f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
|
--- webapp/graphite/local_settings.py.example.orig 2018-02-13 06:01:34.000000000 -0500
+++ webapp/graphite/local_settings.py.example 2018-03-22 09:10:17.659675000 -0400
@@ -108,15 +108,27 @@
#CONF_DIR = '/opt/graphite/conf'
#STORAGE_DIR = '/opt/graphite/storage'
#STATIC_ROOT = '/opt/graphite/static'
+CONF_DIR = '%%PREFIX%%/etc/graphite'
+STORAGE_DIR = '/var/db/carbon'
+STATIC_ROOT = '%%PREFIX%%/share/graphite-web/content'
+
#LOG_DIR = '/opt/graphite/storage/log/webapp'
#INDEX_FILE = '/opt/graphite/storage/index' # Search index file
+WHISPER_DIR = '/var/db/carbon/whisper'
+RRD_DIR = '/var/db/carbon/rrd'
+DATA_DIRS = [WHISPER_DIR, RRD_DIR] # Default: set from the above variables
+LOG_DIR = '/var/log/graphite'
+INDEX_FILE = '/var/db/graphite/index' # Search index file
+
# To further or fully customize the paths, modify the following. Note that the
# default settings for each of these are relative to CONF_DIR and STORAGE_DIR
#
## Webapp config files
#DASHBOARD_CONF = '/opt/graphite/conf/dashboard.conf'
#GRAPHTEMPLATES_CONF = '/opt/graphite/conf/graphTemplates.conf'
+DASHBOARD_CONF = '%%PREFIX%%/etc/graphite/dashboard.conf'
+GRAPHTEMPLATES_CONF = '%%PREFIX%%/etc/graphite/graphTemplates.conf'
## Data directories
#
@@ -253,7 +265,12 @@
# }
#}
#
-
+DATABASES = {
+ 'default': {
+ 'NAME': '/var/db/graphite/graphite.db',
+ 'ENGINE': 'django.db.backends.sqlite3',
+ }
+}
#########################
# Cluster Configuration #
|