grafana/k6

Log output as xk6 extension

开放

#1,939 创建于 2021年3月31日

 (3 条评论) (1 个反应) (0 位负责人)Go (1,537 个派生)batch import
enhancementfeaturehelp wanted

仓库指标

星标
 (30,564 个星标)
PR 合并指标
 (PR 指标待抓取)

描述

I was reading about xk6 extension and this amazing way to provide new features to k6.

I have reviewed the code for https://github.com/li-zhixin/xk6-influxdbv2 and I was wondering if there is a similar options to extend the log support.

In fact, yesterday I have sent the PR (https://github.com/k6io/k6/pull/1938) to extend the log support for k6, but I think I would be nice to add this feature with a xk6 extension.

Checking the k6 code in https://github.com/k6io/k6/tree/master/log, I have not seen any option to extend the logger support.

So, my questions are... could we add new loggers support using xk6? If not, there is a plan to provide this support?

Thank you!

Iván

贡献者指南