Merge pull request #452 from prometheus/beorn7/client_golang-adjustments
Adjust to new client_golang API.
This commit is contained in:
commit
39d20140c8
|
@ -54,7 +54,7 @@ var (
|
||||||
Namespace: namespace,
|
Namespace: namespace,
|
||||||
Name: "target_interval_length_seconds",
|
Name: "target_interval_length_seconds",
|
||||||
Help: "Actual intervals between scrapes.",
|
Help: "Actual intervals between scrapes.",
|
||||||
Objectives: []float64{0.01, 0.05, 0.5, 0.90, 0.99},
|
Objectives: map[float64]float64{0.01: 0.001, 0.05: 0.005, 0.5: 0.05, 0.90: 0.01, 0.99: 0.001},
|
||||||
},
|
},
|
||||||
[]string{interval},
|
[]string{interval},
|
||||||
)
|
)
|
||||||
|
|
|
@ -59,7 +59,7 @@ var (
|
||||||
Namespace: namespace,
|
Namespace: namespace,
|
||||||
Name: "evaluator_duration_milliseconds",
|
Name: "evaluator_duration_milliseconds",
|
||||||
Help: "The duration for all evaluations to execute.",
|
Help: "The duration for all evaluations to execute.",
|
||||||
Objectives: []float64{0.01, 0.05, 0.5, 0.90, 0.99},
|
Objectives: map[float64]float64{0.01: 0.001, 0.05: 0.005, 0.5: 0.05, 0.90: 0.01, 0.99: 0.001},
|
||||||
})
|
})
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue