grafana / xk6-output-timescaledb

k6 extension to output real-time test metrics to TimescaleDB.
Apache License 2.0
30 stars 14 forks source link

Replace batch with copyFrom #18

Closed micsjo closed 1 year ago

micsjo commented 1 year ago

Remove batch for metrics. Keep for thresholds (it's just a few inserts at the beginning, no need to change) Use copyFrom for metrics. Update pgx from v4 to v5 and subsequent use of pgx according to docs. Additional debug logging to know how many data containers were collected.

Fixes this issue: Issue 17

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

CLAassistant commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Michael Sjölin seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

micsjo commented 1 year ago

Tidied and updated. Had some problems signing the CLA. It says "You have agreed to the CLA for grafana/xk6-output-timescaledb" but for some reason it seems not to be accepted - and accepted at the same time. I hope it is sorted.