Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Grafana dashboard for plotting the metrics #5

Open
3 tasks
JossWhittle opened this issue Oct 18, 2023 · 0 comments
Open
3 tasks

Grafana dashboard for plotting the metrics #5

JossWhittle opened this issue Oct 18, 2023 · 0 comments

Comments

@JossWhittle
Copy link
Member

JossWhittle commented Oct 18, 2023

Data is going to be recorded as a series of sparse records where x=timestamp and y=0 or 1 for if the request was successful.

That can be plotted as a regular line plot with a marker on each entry. You'll need to partition on the name of the CanaryHTTPMonitor and on the Node Name / DaemonSet Pod that the metric was recorded from for each url so they all get their own line.

The entries will be slightly irregularly spaced, and also a binary 0 or 1 will be very spiky if we are having issues.

In order to plot it smoothed we'll need to aggregate over a sliding time window it so that becomes an availability % over time.

Implement this dashboard using https://github.com/weaveworks/grafanalib and generate the json from it locally and commit it into the repo. We'll work out CI for the in the longer term but I can't see the dashboard changing that much once we get these plots working.

  • Graph of raw data as line plot.
  • Graph of time window averaged data as a % line plot.
  • Graph of how long each request took as a line plot.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant