---
title: "Build fast charts faster with the Tinybird Grafana plugin"
excerpt: "Query Tinybird directly from Grafana. No data movement, no sync issues. The plugin is free and available now."
authors: "Alasdair Brown"
categories: "Product updates"
createdOn: "2023-09-25 00:00:00"
publishedOn: "2023-03-04 00:00:00"
updatedOn: "2023-10-06 00:00:00"
status: "published"
---

<p>Is there a Platform team out there that <em>isn't</em> using Grafana? We certainly are at Tinybird. <a href="https://www.tinybird.co/blog-posts/better-ci-pipeline-with-data">Grafana is our best friend</a>.</p><p>That said, like any friend, it <em>can</em> get on your nerves a bit.</p><p>Grafana has a rich <a href="https://grafana.com/grafana/plugins/">plugin ecosystem</a> that extends its features and enables integrations with many different data sources. This can be very convenient. For example, you can <a href="https://www.tinybird.co/blog-posts/clickhouse-grafana-example">connect Grafana to ClickHouse®</a> to visualize real-time analytics data.</p><p>But, there's a common problem: Slow dashboards.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tinybird-blog.ghost.io/content/images/2023/10/64021735425e904acc7e2b9d_so_slow.webp" class="kg-image" alt="A gif of a woman complaining about a slow dashboard on her computer." loading="lazy" width="480" height="270"><figcaption>So. Slow.</figcaption></figure><p>Many of these data sources weren’t intended to power interactive visualizations. Snowflake is a top data source plugin for Grafana, but Snowflake isn’t built to return queries in milliseconds. So your Grafana might feel a bit sluggish.</p><p>Slapping together a suboptimal query or two is fine for prototyping, but slow queries certainly won’t help the hamster spin the wheel any faster (that’s how the Cloud is powered, right?)</p><p>Furthermore, if you want to connect to and query from these many distinct data sources, you’ll also need broad knowledge of each of them. That might lead you to a lot of frustrated googling and fact-checking ChatGPT before you find the right answer somewhere in the bowels of StackOverflow.</p><p>And with so many charts with their queries hidden away inside the panel settings, you can end up with a bit of a mess. If you’re like us, your Grafana is probably full of slow, duplicated queries. It’s a nightmare to maintain code in a system that wasn’t built for version control. And don’t even get me started on <em>access</em> control.</p><h2 id="so-what%E2%80%99s-new">So, what’s new?</h2><p>Grab the keys to your Grafana, roll those windows down, and feel the wind in your hair. The weather’s great, and we’re gonna go <em>fast</em>.</p><figure class="kg-card kg-image-card kg-card-hascaption"><img src="https://tinybird-blog.ghost.io/content/images/2023/09/64021762947028823c816b55_speed-7.gif" class="kg-image" alt="A gif showing a man going very, very fast in an F1 car." loading="lazy"><figcaption>#speedwins</figcaption></figure><p>Today, we’re launching the new <a href="https://github.com/tinybirdco/grafana-tinybird-datasource">Tinybird Data Source plugin for Grafana</a>.</p><p>With the Tinybird Grafana plugin, you can take advantage of the power of Tinybird to ingest, query and publish your events, metrics, log analytics, and telemetry data. Then, connect Grafana and build the dashboard of your dreams.</p><p>Except, this time, they’re going to be the fastest charts you’ve ever seen.</p><p>Your queries live <em>outside</em> of Grafana: stored and versioned in Git, and published to Tinybird. Inside Grafana, all you need to do is add a new panel, select your blazing fast query from a dropdown, and visualize the result however you want.</p><p>All Tinybird queries are secured by Auth Tokens, so you can flexibly provide access to specific data sets, and re-use queries in as many panels as needed.</p><p>It’s the same Grafana you know and love, just so, so, so much faster.</p><h2 id="how-to-use-the-tinybird-plugin-for-grafana">How to use the Tinybird plugin for Grafana</h2><h3 id="1-install-the-tinybird-data-source">1. Install the Tinybird Data Source</h3><p>Find the <a href="https://github.com/tinybirdco/grafana-tinybird-datasource/releases/latest">latest release bundle</a> from GitHub and copy the URL to the zip.</p><p>Use the Grafana CLI to install the plugin from the URL, for example:</p><figure class="kg-card kg-embed-card"><iframe width="100%" src="https://snippets.tinybird.co/XQAAAAIaAQAAAAAAAABBKUqGk9nLKwjbltX1SgJDPaQELsgQ2F1LJBsTtOtIuefT8nXKknkmqGPLdNEo2EYQBQ4SHRbqG8Z_o6q1rR6y3IfFh-126jvVkvhAuwwwFYSiOR0FEYQrYjgxQbajrVBRLaqSYFDP0fXcNNc-TOi_f6TdGHgSY4FPhlmS5nIFSTNROsDYVQZS58S4p65FGu_VSSQFyjB1ncPCI3yWEC2rb8Iha3yKY9b98GCsaz7ppvL_UEezleueSEL___EYJAA/embed"></iframe></figure><p>You'll also need to make sure to enable unsigned plugins in your Grafana config. <br><br>After you do that, go ahead and restart your Grafana.</p><!--kg-card-begin: html--><div class="tip-box"><div class="tip-box-container"><div class="tip-box-title">Note</div><div class="tip-box-content">This is an unsigned plugin only available for open-source Grafana setups. Unfortunately, it costs quite a bit of money to gain entry into the Grafana Marketplace, so our plugin is not yet listed there. We’re going to see if you like this open-source release, and then make the money decisions later.<br><br>Please let us know if you’d want to see us officially listed in the Grafana Marketplace. If you don’t tell us, we won’t know!</div></div></div><!--kg-card-end: html--><h3 id="2-add-a-new-data-source-and-select-tinybird">2. Add a new Data Source, and select Tinybird</h3><figure class="kg-card kg-image-card"><img src="https://tinybird-blog.ghost.io/content/images/2023/09/640216c6cfe31deb18aa10bd_c5W5dyZIy_6WqdfV7_SO_iXQDXzKEVRtpQ8O1G6SQPp6F_8ieZBlLuFa0PnVIfKjnA_Gp7o3se3Uw76e2laC9c04ke8jWba4A8HD2ZLb2pVHSaRSGipSrhkScwuDaLd1-_NXS5kTrZmwrzFOG1-__FE-11.png" class="kg-image" alt="Grafana data source configuration screen showing Tinybird as an option" loading="lazy"></figure><h3 id="3-configure-the-data-source">3. Configure the Data Source</h3><p>Add the Tinybird Endpoint you are using (make sure to choose the right region). Then, paste in your <a href="https://www.tinybird.co/docs/concepts/auth-tokens.html">Tinybird Auth Token</a>.</p><figure class="kg-card kg-image-card"><img src="https://tinybird-blog.ghost.io/content/images/2023/09/640216c6e7e3c260f015aeae_iPzInlnqXAYi5oNegZ1FKvTHPklL1qhYkjaXOmnxlcZXgwcKePS_r0rwIIn6TRIxAwvL1ZtapOxT5Emcz8HIxcXQIGwMhrkklbojBVGn2Kz8iKddxZDoZb8CoJJKSJgY01VcjgyWoCpE1wlpWZQV-T4-11.png" class="kg-image" alt="Tinybird data source configuration form with endpoint and auth token fields" loading="lazy"></figure><h3 id="4-add-a-new-dashboard-panel">4. Add a new dashboard panel</h3><p>Select Tinybird as the Data Source, and then select the query you want to visualize from the dropdown.</p><figure class="kg-card kg-image-card"><img src="https://tinybird-blog.ghost.io/content/images/2023/09/640216c61e55d4ffb142f0fd_-zcx439J5wGZKDgxcuCwMFRAzRRjVjG_OR0xxRUNoDUvgnM7oZXYsSCHtd5UoqGq2daH3VrsuhqHjhAzTRiLUGBsldry1irqZW6v4TSI2Pbe7C5XdLaaXWWAeKJXmak26TqFLKxpIF5LWwnlUH-DQXg-11.png" class="kg-image" alt="Grafana dashboard panel configuration showing Tinybird query selection dropdown" loading="lazy"></figure><p>You can supply optional query parameters in the table below, for example, to provide a date range or any other custom parameters in your queries.</p><figure class="kg-card kg-image-card"><img src="https://tinybird-blog.ghost.io/content/images/2023/09/640216c50e82f66211e19226_pnP12FnJyHYajbBEbPtknr-s0palWBmwP7iVOJaLOcGjUs6ieoTjHJPZ_uGxuP9YF2kSR60SI24l0u5dRMD3KCyJ2Kwry4OJ4fNo2VMxNuf6INchfZDSza2vq-nlrs7DSB0-1jqb-8fI0fWV4wZSzpw-11.png" class="kg-image" alt="Grafana panel showing query parameters table for custom date range and other parameters" loading="lazy"></figure><h3 id="5-done">5. Done!</h3><figure class="kg-card kg-image-card"><img src="https://tinybird-blog.ghost.io/content/images/2023/09/640216c6e7e3c2a43a15aeaf_wGpmCLC1DckOVQbwYBsiLyfxAsAvwWLhQbt7Xe8O5xh7_XXJXlx_hD5VfyZ_BHEO5_sokPWBzwwLEiVSehOs1JuxS_huKmY74pRKl3Dl2h67o-mIL52WVyUNtjdc4E9KEd20hA_Ecj5SnkaYIqeTObU-9.png" class="kg-image" alt="Completed Grafana dashboard with Tinybird data source showing fast charts" loading="lazy"></figure><h2 id="build-with-tinybird-grafana-today">Build with Tinybird &amp; Grafana today</h2><p>You can <a href="https://www.tinybird.co/signup">sign up</a> for a free Tinybird account and start building today, no credit card required. Tinybird’s Build plan is free, with no time limit, and has everything you need for small projects. Need to go Pro? Use the code <code>TINY_LAUNCH_WEEK</code> for $300 in credit when you upgrade to the Pro plan.</p>
