Help us understand the problem. What is going on with this article?

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

More than 5 years have passed since last update.

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

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

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした