fix(metrics): make metrics cfg backwards compatible

This commit is contained in:
bergquist
2016-08-15 09:57:49 +02:00
parent 2c1b893c55
commit ebecc5e5a0
4 changed files with 41 additions and 13 deletions
+2 -2
View File
@@ -302,10 +302,10 @@ enabled = true
# Publish interval
;interval_seconds = 10
# Send internal metrics to Graphite. %instance_name% in prefix will be replaced with the value of instance_name
# Send internal metrics to Graphite
; [metrics.graphite]
; address = localhost:2003
; prefix = service.grafana.%instance_name%
; prefix = service.grafana.%(instance_name)s
#################################### Internal Grafana Metrics ##########################
# Url used to to import dashboards directly from Grafana.net