dashboard.conf 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. # This configuration file controls the behavior of the Dashboard UI, available
  2. # at http://my-graphite-server/dashboard/.
  3. #
  4. # This file must contain a [ui] section that defines values for all of the
  5. # following settings.
  6. [ui]
  7. default_graph_width = 400
  8. default_graph_height = 250
  9. automatic_variants = true
  10. refresh_interval = 60
  11. autocomplete_delay = 375
  12. merge_hover_delay = 750
  13. # You can set this 'default', 'white', or a custom theme name.
  14. # To create a custom theme, copy the dashboard-default.css file
  15. # to dashboard-myThemeName.css in the content/css directory and
  16. # modify it to your liking.
  17. theme = default
  18. [keyboard-shortcuts]
  19. toggle_toolbar = ctrl-z
  20. toggle_metrics_panel = ctrl-space
  21. erase_all_graphs = alt-x
  22. save_dashboard = alt-s
  23. completer_add_metrics = alt-enter
  24. completer_del_metrics = alt-backspace
  25. give_completer_focus = shift-space
  26. # These settings apply to the UI as a whole, all other sections in this file
  27. # pertain only to specific metric types.
  28. #
  29. # The dashboard presents only metrics that fall into specified naming schemes
  30. # defined in this file. This creates a simpler, more targetted view of the
  31. # data. The general form for defining a naming scheme is as follows:
  32. #
  33. #[Metric Type]
  34. #scheme = basis.path.<field1>.<field2>.<fieldN>
  35. #field1.label = Foo
  36. #field2.label = Bar
  37. #
  38. #
  39. # Where each <field> will be displayed as a dropdown box
  40. # in the UI and the remaining portion of the namespace
  41. # shown in the Metric Selector panel. The .label options set the labels
  42. # displayed for each dropdown.
  43. #
  44. # For example:
  45. #
  46. #[Sales]
  47. #scheme = sales.<channel>.<type>.<brand>
  48. #channel.label = Channel
  49. #type.label = Product Type
  50. #brand.label = Brand
  51. #
  52. # This defines a 'Sales' metric type that uses 3 dropdowns in the Context Selector
  53. # (the upper-left panel) while any deeper metrics (per-product counts or revenue, etc)
  54. # will be available in the Metric Selector (upper-right panel).