Ivan Mirić

Results 171 comments of Ivan Mirić

Hi there! Thanks for opening this issue. For this to work, xk6-sql would first have to emit k6 metrics on which tags and thresholds could be applied. Currently the extension...

I see. If it's only for tracking query durations and applying thresholds, you can sort of implement this yourself already using [custom metrics](https://k6.io/docs/using-k6/metrics/#custom-metrics). Here's an example using Postgres: ```javascript import...

As discussed over Slack, I don't think this project should aim to support any `database/sql` implementation. These 4 were chosen as the most popular ones, and as evidenced by #11,...

Hi there, sorry about the late reply. We don't have any plans to do that, but it's [trivial to build a Docker image yourself](https://github.com/grafana/xk6-sql#docker). I'll leave this issue open as...

Hi, thanks for reporting this! It's a known issue, unrelated to `count(*)`, but with how values are returned from MySQL/MariaDB. See [the example](https://github.com/grafana/xk6-sql/blob/27cba20ab6cad60edee79dc1e549130e328bcccd/tests/mysql_test.js), and the discussion in [PR #9](https://github.com/grafana/xk6-sql/pull/9). For...

Hey @clovis-maniguet, I'd prefer to keep this issue open, if you don't mind. Even though there's a workaround for it, it should eventually be fixed. We just haven't had the...

Hi there, thanks for opening the issue. Hhmm I just tried this, and it seems to work for me. 1. Create Postgres 14.4 container with: ``` podman run --rm --name...

Hi there, and thanks for this great question. It's not something we've considered, but you're absolutely right that more than one connection would be created, and that `db.close()` would only...

I'm reopening this issue, as [a similar question was posted on the forum](https://community.k6.io/t/how-to-pass-db-connections-between-stages/6249). After looking at this again, it does appear that a connection is established for each VU. I...

This seems to be an issue with `go build` itself. [It was fixed for the case when `-o` is not specified](https://github.com/golang/go/issues/31296), it errors out with `go build: build output "k6"...