Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What is going on with this article?
@mickey390

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

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

0
Help us understand the problem. What is going on with this article?
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.
Sign Up
If you already have a Qiita account Login
0
Help us understand the problem. What is going on with this article?