Forum Discussion
19 hours ago, Sarah Terry said:The CloudWatch collection mechanism should work with dimensionless metrics - have you tried using the Poll Now feature? You can see it on the raw data tab for the DataSource, and it should display any errors returned by AWS, as well as the request LM is making to AWS (so you can see if, e.g. the aggregation method is being incorrectly passed as a dimension). We'll do some testing on our end to confirm data collection works for dimensionless metrics & put up an example in the docs.
Hi Sarah,
Yes I've tried the Poll Now feature, It gives an HTTP status code of 200 with Error Code/Message both showing None.
Both tried around 13:00 BST, request descriptions as follows:
Not working (NaN) but returning HTTP200 and no errors:
Metric Path: SBProxy>E2EMetric>Sum
Req Desc: {Namespace: SBProxy,MetricName: E2EMetric,Dimensions: [],StartTime: Wed Sep 06 04:30:00 PDT 2017,EndTime: Wed Sep 06 05:00:00 PDT 2017,Period: 60,Statistics: [Average, Maximum, Minimum, SampleCount, Sum],}
Working
Metric Path: SBProxy>AutoScalingGroupName:##sbbroker_asg_name##>FileSize>Average
Req Desc: {Namespace: SBProxy,MetricName: FileSize,Dimensions: [{Name: AutoScalingGroupName,Value: [ASG_name_here]}],StartTime: Wed Sep 06 04:30:00 PDT 2017,EndTime: Wed Sep 06 05:00:00 PDT 2017,Period: 60,Statistics: [Average, Maximum, Minimum, SampleCount, Sum],}
A dimensionless example in the docs would be great thanks.
Related Content
- 2 years ago
- 2 years ago
- 2 days ago