Skip to content

Enable write autoscaling for active DynamoDB tables #507

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Aug 14, 2017
Prev Previous commit
Next Next commit
Update comment
  • Loading branch information
aaron7 committed Aug 11, 2017
commit 264be91eb85339e014934bfa668a4c3291a23554
4 changes: 2 additions & 2 deletions pkg/chunk/dynamodb_table_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ var applicationAutoScalingRequestDuration = prometheus.NewHistogramVec(prometheu
Name: "application_autoscaling_request_duration_seconds",
Help: "Time spent doing ApplicationAutoScaling requests.",

// ApplicationAutoScaling latency seems to range from a few ms to a few sec and is
// important. So use 8 buckets from 128us to 2s.
// AWS latency seems to range from a few ms to a few sec. So use 8 buckets
// from 128us to 2s. TODO: Confirm that this is the case for ApplicationAutoScaling.
Buckets: prometheus.ExponentialBuckets(0.000128, 4, 8),
}, []string{"operation", "status_code"})

Expand Down