fix(metrics): replaces . with _ in instance name

closes #5739
This commit is contained in:
bergquist
2016-08-09 11:07:26 +02:00
parent 2b2e015d62
commit 0524d0c625
5 changed files with 44 additions and 8 deletions

View File

@@ -353,7 +353,7 @@ enabled = true
interval_seconds = 60
# Send internal Grafana metrics to graphite
; [metrics.graphite]
[metrics.graphite]
; address = localhost:2003
; prefix = prod.grafana.%(instance_name)s.

View File

@@ -297,15 +297,15 @@ check_for_updates = true
# Metrics available at HTTP API Url /api/metrics
[metrics]
# Disable / Enable internal metrics
;enabled = true
enabled = true
# Publish interval
;interval_seconds = 10
# Send internal metrics to Graphite
; [metrics.graphite]
# Send internal metrics to Graphite. %instance_name% in prefix will be replaced with the value of instance_name
[metrics.graphite]
; address = localhost:2003
; prefix = prod.grafana.%(instance_name)s.
; prefix = service.grafana.%instance_name%
#################################### Internal Grafana Metrics ##########################
# Url used to to import dashboards directly from Grafana.net