Last active
August 29, 2015 14:28
-
-
Save mrwacky42/abead1d8b26ad323d377 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"region": "us-west-1", | |
"metrics": [ | |
{ | |
"aws_namespace": "AWS/S3", "aws_metric_name": "BucketSizeBytes", | |
"aws_dimensions": ["BucketName", "StorageType"], | |
"aws_dimension_select": { | |
"BucketName": ["<redacted>"], | |
"StorageType": ["StandardStorage"] | |
} | |
} | |
] | |
} |
The correct answer is: ask for non-default period/range:
{
"region": "us-west-1",
"metrics": [
{
"aws_namespace": "AWS/S3", "aws_metric_name": "BucketSizeBytes",
"aws_dimensions": ["BucketName", "StorageType"],
"aws_dimension_select": {
"BucketName": ["redacted"],
"StorageType": ["StandardStorage"]
},
"aws_statistics": ["Average"],
"period_seconds":86400,
"range_seconds":86400
}
]
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm having trouble collecting S3 stats with https://github.com/prometheus/cloudwatch_exporter.
I can get ELB stats, but S3 stats are just not reported, and no errors are generated.