This PR adds a new target called cloudmonitoring which implements a way of defining Google Cloud Metrics targets supported by Grafana 10. I did not reuse the stackdriver name, because it isn't used anymore on the actual Google Product.
It aims to support the 4 different ways of making queries to CloudMonitoring:
Standard query builder, via the NewTimeSeries init function.
Raw MQL query, using the NewMQL init function
Raw PromQL query, using NewPromQL init function.
SLO query, using NewSLO.
Very much a work in progress as I type this message. But just to let you know how I'm planing to deal with it.
Tested this branch against Grafana v10.2.6 (e5ffb9ba46)
What does this PR do?
This PR adds a new target called
cloudmonitoring
which implements a way of defining Google Cloud Metrics targets supported by Grafana 10. I did not reuse thestackdriver
name, because it isn't used anymore on the actual Google Product.It aims to support the 4 different ways of making queries to CloudMonitoring:
NewTimeSeries
init function.NewMQL
init functionNewPromQL
init function.NewSLO
.Very much a work in progress as I type this message. But just to let you know how I'm planing to deal with it.
Tested this branch against Grafana v10.2.6 (e5ffb9ba46)
Needs https://github.com/K-Phoen/sdk/pull/29 to land before.
TODO list: