- Le plus récent
- Le plus de votes
- La plupart des commentaires
Hello,
Geovanni here from AWS Premium Support. I understand you wish to publish system health telemetry data and publish to your CloudWatch metrics using AWS Provided Components.
Currently it is not possible to tie the metrics generated from Nucleus telemetry emitter
into the CloudWatch metrics
due to a few reasons:
- The emitter component generates messages as binary message (though they json compliant when decoded) which the CloudWatch messages does not support as it is built to accept messages as json.
- The emitter component does not publish the messages in a format that the CloudWatch component accepts. You can view this directly at [1] vs what CloudWatch accepts [2].
If you wish to proceed you will have to develop your own custom component [3] to act as a middleman transforming the inputs from the emitter and publishing them on the topic the CloudWatch metric
component is subscribed to or sending them directly to Cloudwatch within your custom component using the PutMetricData api [4].
References
[1] Nucleus telemetry emitter - Output data - https://docs.aws.amazon.com/greengrass/v2/developerguide/nucleus-emitter-component.html#nucleus-emitter-component-output-data
[2] CloudWatch metrics - Input data - https://docs.aws.amazon.com/greengrass/v2/developerguide/cloudwatch-metrics-component.html#cloudwatch-metrics-component-input-data
[3] Publish/subscribe local messages - https://docs.aws.amazon.com/greengrass/v2/developerguide/ipc-publish-subscribe.html
[4] PutMetricData - https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_PutMetricData.html
Contenus pertinents
- demandé il y a 4 mois
- demandé il y a 2 ans
- demandé il y a un an
- demandé il y a 7 mois
- AWS OFFICIELA mis à jour il y a 7 mois
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans
Hi,
Thank you for reaching out can you please elaborate which part of the documentation are you referring? Unfortunately, I have not understood your query properly on what’s missing. Kindly elaborate your use case details and steps you followed so far so we could help you on your concerns .
With the help of link 1, I have got the local telemetry data on MQTT client of Greengrass. Now I need to share these telemetry data to cloudwatch and need to display the metrics as a dashboard.
Link 2 article was based on manual operation of creating the metric in cloudwatch and add up the values.
What I required was to, Make the telemetry data to displayed on cloudwatch dashboard.
Hi, could you elaborate what you mean by this. - I have got the local telemetry data on MQTT client of Greengrass. Now I need to share these telemetry data to cloudwatch and need to display the metrics as a dashboard.
Does this mean you have the data on the Greengrass device locally and need it to be uploaded to cloud or does it mean you have MQTT messages in the cloud already being sent from the device and you want to ingest that into CloudWatch from there?