Skip to content

Commit

Permalink
Shorten default list of buckets
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Sargeant committed Jun 5, 2019
1 parent a84f0ad commit e98ed22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prometheusvanilla/builders.go
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ func bucketsFromTag(tag reflect.StructTag) ([]float64, error) {

// DefaultBuckets provides a list of buckets you can use when you don't know what to use yet.
func DefaultBuckets() []float64 {
return []float64{.005, .01, .025, .05, .1, .25, .5, 1, 2.5, 5, 10, 25}
return []float64{.05, .1, .5, 1, 5, 10}
}

func maxAgeFromTag(tag reflect.StructTag) (time.Duration, error) {
Expand Down

0 comments on commit e98ed22

Please sign in to comment.