-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Field with the name of the request in k6 stats #271
Comments
Hey @daylikon, k6 supports custom metrics: https://grafana.com/docs/k6/latest/using-k6/metrics/create-custom-metrics/ |
Yes, I can use k6 custom metrics, but I want to use xk6-kafka metric value ( Right now writer returns Is there a way to get plugin metrics after sending or reading a message, so that they can then be used in custom metrics? |
I don't think so, unless you export them while the test is running. |
So I’m thinking about how to export metrics while the test is running. Messages are written in the same topic, but the “ Now in the csv and given output plugin, if take the |
Currently only static tags are added to reader and writer metrics based on the metrics provided from the kafka-go module's readerStats and writerStats. You can modify the xk6-kafka's |
Ref: #272 (comment) |
Hello @mostafa!
At this moment, when generating a csv report and exporting metrics, you can see the metrics (for example,
kafka_writer_write_seconds
), the metric value, scenario name and to which topic message was sent in extra_tags for each request.I want to somehow identify different requests that are sent to one topic in one scenario in stats, for example, using the
name
,metadata
,tags
/extra_tags
fields. Is there a way to set these fields now?If not, is it possible to issue this as a feature request?
Regards, Andrew
The text was updated successfully, but these errors were encountered: