LoginSignup
0
0

More than 5 years have passed since last update.

graphiteのdashboardのグラフの色を変える。

Last updated at Posted at 2014-09-17

dashboardのグラフは、デフォルトでは
背景が白で文字が黒。
いくつも見ていると目が痛くなるので、
背景を黒く、文字を白くしたい。

一つだけのグラフだけならeditからGUIで
変更すれば良いが、
すべてのグラフに対して変更したい場合の方法です。

1.設定を書き換え

次のファイルの、
/etc/graphite/local_settings.py

この変数をコメント外す。
GRAPHTEMPLATES_CONF = '/etc/graphite/graphTemplates.conf'

2.テンプレを作成編集

次のファイルは存在しないはずなので、
作成し編集する。

$ cat /etc/graphite/graphTemplates.conf

[default]
background = 333333
foreground = white
majorLine = white
minorLine = grey
lineColors = blue,green,red,purple,brown,yellow,aqua,grey,magenta,pink,gold,rose
fontName = Sans
fontSize = 10
fontBold = False
fontItalic = False

これで、グラフの色が変わっているはず。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0