grafana / k6-cloud-feature-requests

The place to propose, dicuss and vote for k6 Cloud features and ideas.
9 stars 1 forks source link

Add support to query and graph external metrics #15

Closed dgzlopes closed 1 year ago

dgzlopes commented 3 years ago

It's awesome that:

But, when I want to visualize and understand my test results, I miss something: external metrics.

Yup, I would love to query and graph external metrics on k6 to correlate-all-the-things!

For example: Connect my Prometheus instance to k6 Cloud, query my availability SLI for the foo service, and graph the values of that metric side-by-side with the k6 ones.

I've some things in mind for k6 OSS (being able to use external metrics as native ones), but this feature is only about the cloud.

dgzlopes commented 3 years ago

Well, I think we don't have a query language for the metrics in the cloud. I suppose that's a requirement... Or maybe this can be tackled in some other way.

sniku commented 3 years ago

I think the most natural way to view metrics from multiple sources is to use a generic dashboarding solution like Grafana. We will release a k6 cloud Grafana connector in the coming weeks. Once that's done, you should be able to correlate metrics from k6 cloud with other sources.

We are also working on adding PromQL query language to k6 cloud backend. This will significantly simplify querying k6 cloud metrics from other tools. (CC: @esquonk)

dgzlopes commented 3 years ago

Yup, fully agree. I just thought that k6 Cloud could be a better place to visualize and correlate all the things. But I like Grafana :)

Uuu, that's really cool! Full support?

dgzlopes commented 3 years ago

btw, feel free to close this :)