Open zgxme opened 2 years ago
I think it would be more useful to have a prometheus output supported, instead of the custom integration that you created.
hey
already supports an output type of CSV.
-o Output type. If none provided, a summary is printed.
"csv" is the only supported alternative. Dumps the response
metrics in comma-separated values format.
Adding support for something like json
, would allow a quick and easy integration via https://github.com/prometheus-community/json_exporter
@FrenchBen yeah, good idea. I want to support real-time metrics.
You mean for the metrics to show up before the run is actually completed? With hey being a tool that has a start/end, it doesn't seem to align with a real-time metrics idea.
I see the above as something useful, where hey
could run as a cronjob, and for the results to be collected in Prometheus
@FrenchBen ok, I got it. 👍
Hey, I have an idea of making hey realize visualization. And I made it,let hey approve prometheus. Does the community have any plans for this?
this is my final version https://github.com/rickzhen/hey/releases/tag/v0.2.0