-
Notifications
You must be signed in to change notification settings - Fork 6
added more units #38
base: master
Are you sure you want to change the base?
added more units #38
Conversation
This is a great addition. We also need more units. Good to go as is, but it might be worth separating units out into a separate message because that could (and should) get larger. I would also like to see some naming conventions so that we can scale the units in an organized fashion. |
Hi Austin, I have made a separate msg file for units as you suggested and added a few units and organised them. Please have a look at it and suggest any changes if require. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also, will I be able to see these units on cloudwatch console through my custom metrics?
I would recommend testing this feature and demonstrating the output as part of the review process, which would answer your last question :-).
Hello @dabonnie, here's a screenshot of the error that I get when I launch the metric collector node with this custom message in use. And also I didn't get any data on cloudwatch console using this. |
I'm sorry, I can't read screenshots - can you copy-paste any log output into a code block? |
Hi @emersonknapp, this is the log output of error
|
The current set of metrics supported by this package are the ones laid out in the AWS CloudWatch documentation - https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_MetricDatum.html The mapping between the The error message you're getting is from the following line, which cannot find a standard unit for the name "watt".
Given this information, we have two choices:
|
Thanks for the updates. I will look into it. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Per discussion - needs a decision on whether new types are worth adding here, given they cannot be represented in CloudWatch Metrics
Issue #, if available:
Description of changes:
I want to monitor data having these units on cloudwatchmetrics. So I have added some more commonly used units. Kindly merged it to master if it's correct.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.