README.md in fluent-plugin-azuremonitormetrics-0.0.2 vs README.md in fluent-plugin-azuremonitormetrics-0.0.3

- old
+ new

@@ -47,48 +47,46 @@ $ fluentd -c ./fluentd.conf ``` #### output data format -Example of Average aggregation on Percentage CPU metric, on timespan of 5 minutes and 1 minute grain: +Example of Average and Count aggregations on Percentage CPU and Network Out metrics, on timespan of 5 minutes and 5 minute grain: ``` -2017-10-22 14:25:28 azuremonitormetrics { - "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/my_resource_group/providers/Microsoft.Compute/virtualMachines/my-vm/providers/Microsoft.Insights/metrics/Percentage CPU", - "type": "Microsoft.Insights/metrics", - "name": { - "value": "Percentage CPU", - "localizedValue": "Percentage CPU" - }, - "unit": "Percent", - "timeseries": [ - { - "metadatavalues": [], - "data": [ - { - "timeStamp": "2017-10-24T14:11:00Z", - "average": 2.5075 - }, - { - "timeStamp": "2017-10-24T14:12:00Z", - "average": 2.505 - }, - { - "timeStamp": "2017-10-24T14:13:00Z", - "average": 2.455 - }, - { - "timeStamp": "2017-10-24T14:14:00Z", - "average": 2.4375 - }, - { - "timeStamp": "2017-10-24T14:15:00Z", - "average": 2.4375 - } - ] - } - ] - } +2017-10-22 14:25:28 azuremonitormetrics [ + { + "data":[ + { + "timeStamp":"2017-11-23T14:30:00Z", + "count":200.0, + "average":1115.29 + } + ], + "id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Compute/virtualMachines/mymachine/providers/Microsoft.Insights/metrics/Network Out", + "name":{ + "value":"Network Out", + "localizedValue":"Network Out" + }, + "type":"Microsoft.Insights/metrics", + "unit":"Bytes" + }, + { + "data":[ + { + "timeStamp":"2017-11-23T14:30:00Z", + "count":40.0, + "average":0.732 + } + ], + "id":"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/myresourcegroup/providers/Microsoft.Compute/virtualMachines/mymachine/providers/Microsoft.Insights/metrics/Percentage CPU", + "name":{ + "value":"Percentage CPU", + "localizedValue":"Percentage CPU" + }, + "type":"Microsoft.Insights/metrics", + "unit":"Percent" + } +] ``` ## Test Run tests: