Systems | Development | Analytics | API | Testing

k6

A quick guide to load testing Grafana Loki with Grafana k6

As a software engineer here at Grafana Labs, I’ve learned there are two questions that commonly come up when someone begins setting up a new Loki installation: “How many logs can I ingest into my cluster?” followed by, “How fast can I query these logs?” There are two ways to find out the answers.

Rendezvous with k6

Rendezvous is a French word commonly used in the load testing word. It sounds so fancy! I believe Mercury first coined and implemented it (I may be wrong) in LoadRunner. NeoLoad has it with the same name, and JMeter calls it Synchronizing timer. But what is it really, and how may we use it? Rendezvous is a function that stops the virtual users when they reach that instruction in the script. The function makes them wait until more virtual users get to that step or a timer runs out.

Plugging-in Kubernetes

Kubernetes has been becoming the standard operating environment for applications over the past several years. With the xk6-kubernetes extension, you can add direct support for Kubernetes objects (ConfigMaps, Deployments, Jobs, et al) directly within your test scripts. Imagine, your test scripts could now directly setup your test environment by pre-scaling your services, change configuration, or even inject a little chaos _during_ your tests by deleting running pods to observe how your overall system behaves.

What is Grafana Mimir? with maintainer Marco Pracucci (k6 Office Hours #53)

Maintainer Marco Pracucci talks about the new Grafana project, Mimir, a next-generation time-series database for Prometheus. He joins Developer Advocates Nicole van der Hoeven and Paul Balogh to talk about what Mimir is, why it was needed, and how he helped scale it using k6. RESOURCES.

Deployment-time testing with Grafana k6 and Flagger

When it comes to building and deploying applications, one increasingly popular approach these days is to use microservices in Kubernetes. It provides an easy way to collaborate across organizational boundaries and is a great way to scale. However, it comes with many operational challenges. One big issue is that it’s difficult to test the microservices in real-life scenarios before letting production traffic reach them. But there are ways to get around it.

End-to-end browser testing using xk6-browser, with Thomas Wikman (k6 Office Hours #51)

Have you ever wondered how to test a platform built for testing other products? Our frontend developer, Thomas Wikman, joins us on k6 Office Hours to talk about his experience being a user of one of our tools - xk6-browser - and how he uses it to test the entire k6 Cloud frontend.