provider/librato: Use metric name created by agent

This allows the acceptance tests for librato to pass.
This commit is contained in:
James Nugent 2016-04-29 16:27:51 -05:00
parent 8f07a2d6d5
commit 66e7a0bfbb
1 changed files with 2 additions and 2 deletions

View File

@ -203,7 +203,7 @@ resource "librato_space_chart" "foobar" {
# Minimal metric stream # Minimal metric stream
stream { stream {
metric = "cpu" metric = "librato.cpu.percent.idle"
source = "*" source = "*"
} }
@ -214,7 +214,7 @@ resource "librato_space_chart" "foobar" {
# Full metric stream # Full metric stream
stream { stream {
metric = "cpu" metric = "librato.cpu.percent.idle"
source = "*" source = "*"
group_function = "average" group_function = "average"
summary_function = "max" summary_function = "max"