Open uniray7 opened 8 years ago
目前只先做EC2的部分 ELB 和S3之後再補
目前規劃的aws-performance schema如下: (另外還會用針對我們各種app的schema)
"_index": "aws-2016.07"
"_type": "ec2"
"target": {
"instanceId": "i-0cf8e93907cfc63fc",
"name": "verpix-production-mongodb-secondary1",
"component": "mongodb"
}
"metric": {
"Timestamp": "July 12th 2016, 14:57:00.000",
"Statistic": "Average",
"Value": 25.486,
"Unit": "Percent",
"Type": "MemoryUtilization"
}
所以整體下來json長得像這樣:
{
"_index": "aws-2016.07",
"_type": "ec2",
"_id":"AVXd6w7U07peuaRbsSDy",
"target": {
"instanceId": "i-0cf8e93907cfc63fc",
"name": "verpix-production-mongodb-secondary1",
"component": "mongodb"
},
"metric": {
"Timestamp": "July 12th 2016, 14:57:00.000",
"Statistic": "Average",
"Value": 25.486,
"Unit": "Percent",
"Type": "MemoryUtilization"
},
"host": "ip-172-31-17-129"
}
EC2:
ELB:
S3: