Skip to content
This repository has been archived by the owner on Jun 18, 2024. It is now read-only.

Question: Does AWS CloudWatch Logs or Metrics work as a Datasource? #163

Answered by diafour
rmcilwain6 asked this question in Q&A
Discussion options

You must be logged in to vote

Hello!

I've just checked a CloudWatch datasource documentation and see no problems displaying results from it.

There is one idea to consider when you write queries: most Grafana datasources return arrays of datapoints: a float value and a timestamp for each point. This data is great to display graphs. But there is no metadata to get "Failure/Pass/Warning" string for a human-readable status label. Also, there can be multiple statuses for a single time interval (or "period"). To work around these issues you should define queries for each possible status to map unique string statuses to unique float values for Grafana and then use "Discrete mode mapping" in panel setting to map float values …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by shurup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #123 on January 15, 2021 03:31.