martymarron / xk6-output-prometheus-pushgateway

This is a k6 extension for publishing test-run metrics to Prometheus via Pushgateway.
Apache License 2.0
10 stars 5 forks source link

Make metrics compatible with official K6 Grafana dashboard #6

Open wshirey opened 1 year ago

wshirey commented 1 year ago

First off, thanks for the extension!

What would be needed to support the metrics used in the official k6 Grafana dashboard?

I was able to get VUs metrics to show up with the following env var K6_PUSHGATEWAY_NAMESPACE=k6, but it seems like there are some aggregated metrics with _total suffix not being emitted by this extension.

wshirey commented 1 year ago

It seems the xk6-output-prometheus-remote extension does emit the correct metrics if you need a reference.

martymarron commented 1 year ago

@wshirey Hi, thank you for your valuable suggestion! (And sorry for my belated response...)

Allow me some time to consider how to take in this capability. I'll update you soon. Stay tuned 😉

thomas-westfall commented 5 months ago

Hey @martymarron , sorry for reviving this but were you able to take a look at this? Facing a similar issue of metrics not showing up in Grafana.

martymarron commented 1 month ago

@thomas-westfall Sure, sorry for my belated response 🙇