# 📢 Grafana k6 - available on the Dynatrace Hub

**URL:** <https://community.dynatrace.com/t/grafana-k6-available-on-the-dynatrace-hub/46532>\
**Category:** Product News\
**Tags:** grafana, hub\
**Created:** [July 10, 2024, 9:50am UTC](https://community.dynatrace.com/t/grafana-k6-available-on-the-dynatrace-hub/46532 "2024-07-10T09:50:52Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![agata.wlodarczyk](https://dub1.discourse-cdn.com/dynatrace/user_avatar/community.dynatrace.com/agata.wlodarczyk/32/22_2.png) [@agata.wlodarczyk](https://community.dynatrace.com/u/agata.wlodarczyk)\
**Post date:** [July 10, 2024, 9:50am UTC](https://community.dynatrace.com/t/grafana-k6-available-on-the-dynatrace-hub/46532/1 "2024-07-10T09:50:52Z")

</div>

![Screenshot 2024-07-10 at 11.37.20.png](https://global.discourse-cdn.com/dynatrace/original/3X/f/b/fb645fbf63e3f4d6a7deca80255c58cc5bc9e77a.png)

### The k6 tile is now live on the [Hub](https://www.dynatrace.com/hub/detail/grafana-k6/?query=k6&filter=all)!

#### Feel free to check it, use it, and provide feedback.

## 

Overview

K6 emits several key load test health metrics during runtime. Use this integration to send this data into Dynatrace. Then, deploy the provided dashboard to visualize these key metrics for your load tests.

## 

Use cases

- Load testing metric ingest
- Export k6 load testing metrics to Dynatrace

## 

Get started

k6 requires that you build a custom binary using their&nbsp;`xk6`&nbsp;tool.

To build k6 binary with the Prometheus remote write output extension use:

```auto
xk6 build --with github.com/Dynatrace/xk6-output-dynatrace@latest

```

### 

Run k6 and Export to Dynatrace

The API token needs “Ingest metrics”&nbsp;`metrics.ingest`&nbsp;permission.

```auto
export K6_DYNATRACE_URL=http://<environmentid>.live.dynatrace.com 
export K6_DYNATRACE_APITOKEN=<Dynatrace API token>
./k6 run script.js -o output-dynatrace

```

### Upload Dashboard

The metrics will be available via the “Metrics” page during the load test.

You may also wish to upload&nbsp;[this prebuilt dashboard](https://github.com/dynatrace-perfclinics/dynatrace-getting-started/tree/main/dashboards/k6).

### 

[Documentation](https://github.com/Dynatrace/xk6-output-dynatrace)

---

<div class="post-metadata">

**Author:** ![ronmacdonald](https://avatars.discourse-cdn.com/v4/letter/r/a88e57/32.png) [@ronmacdonald](https://community.dynatrace.com/u/ronmacdonald)\
**Post date:** [March 10, 2025, 4:46pm UTC](https://community.dynatrace.com/t/grafana-k6-available-on-the-dynatrace-hub/46532/2 "2025-03-10T16:46:41Z")

</div>

I’m a Dynatrace administrator and not highly familiar with k6…&nbsp; &nbsp;Having said that, thank you for what you have so far.

I had a tester do all the config and upload the dashboard into the “new” dashboard app.&nbsp; Looking at the metrics, I don’t see expected dimensions.&nbsp; Is there an intention to make this compatible with metrics on GRAIL so dimensions appear there?  
Is there an intention to enable some sort of filtering in dashboards so if we have multiple k6 runs with multiple teams, they can filter their specific results?
