feat(publish-metrics): send metrics to prometheus on done or stats event#2340
feat(publish-metrics): send metrics to prometheus on done or stats event#2340pmtkh wants to merge 3 commits intoartilleryio:mainfrom
Conversation
|
|
|
thank you for the PR @pmtkh! I'd like to understand the use case a little bit better. |
|
@hassy as mentioned in the description, there are two problems with gathering metrics by pushgateway which are sent across time. One is that |
|
@hassy is there any plan to merge changes prepared within this PR? |
Description
Gives possibility to send metrics to Prometheus only summary report (on done event). This is configurable in test config using property
sendMetricsAtSummarywith boolean value.Reason:
Currently metrics are send only at stats event which brings two issues:
statsevent) - in Prometheus you see only latest metric send by Artillery.io.Pre-merge checklist
This is for use by the Artillery team. Please leave this in if you're contributing to Artillery.