Skip to content

Commit

Permalink
Merge pull request prometheus#452 from prometheus/beorn7/client_golan…
Browse files Browse the repository at this point in the history
…g-adjustments

Adjust to new client_golang API.
  • Loading branch information
beorn7 committed Jan 21, 2015
2 parents cefa3c7 + b09453a commit 39d2014
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion retrieval/target.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ var (
Namespace: namespace,
Name: "target_interval_length_seconds",
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},
)
Expand Down
2 changes: 1 addition & 1 deletion rules/manager/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var (
Namespace: namespace,
Name: "evaluator_duration_milliseconds",
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},
})
)

Expand Down

0 comments on commit 39d2014

Please sign in to comment.