provider/librato: Use metric name created by agent
This allows the acceptance tests for librato to pass.
This commit is contained in:
parent
8f07a2d6d5
commit
66e7a0bfbb
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue