<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Data sources on Grafana Labs</title><link>https://grafana.com/docs/grafana/v12.4/datasources/</link><description>Recent content in Data sources on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v12.4/datasources/index.xml" rel="self" type="application/rss+xml"/><item><title>Alertmanager data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/alertmanager/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/alertmanager/</guid><content><![CDATA[&lt;h1 id=&#34;alertmanager-data-source&#34;&gt;Alertmanager data source&lt;/h1&gt;
&lt;p&gt;Grafana includes built-in support for Alertmanager implementations in Prometheus and Mimir.&lt;/p&gt;
&lt;p&gt;Once you add an Alertmanager as a data source, you can use the &lt;code&gt;Choose Alertmanager&lt;/code&gt; drop-down on 
    &lt;a href=&#34;/docs/grafana/v12.4/alerting/&#34;&gt;Grafana Alerting&lt;/a&gt; to view and manage Alertmanager resources, such as silences, contact points, and notification policies. Additionally, you can enable the Alertmanager to receive Grafana-managed alerts.&lt;/p&gt;
&lt;p&gt;For more details about using other Alertmanagers, refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/alerting/set-up/configure-alertmanager/&#34;&gt;Alertmanagers in the Grafana Alerting documentation&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;alertmanager-implementations&#34;&gt;Alertmanager implementations&lt;/h2&gt;
&lt;p&gt;The data source supports &lt;a href=&#34;https://prometheus.io/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Prometheus&lt;/a&gt; and &lt;a href=&#34;/docs/mimir/latest/&#34;&gt;Grafana Mimir&lt;/a&gt; (default) implementations of Alertmanager. You can specify the implementation in the data source&amp;rsquo;s Settings page.&lt;/p&gt;
&lt;p&gt;When using Prometheus, you can manage silences in the Grafana Alerting UI. However, other Alertmanager resources such as contact points, notification policies, and templates are read-only because the Prometheus Alertmanager HTTP API does not support updates for these resources.&lt;/p&gt;
&lt;h2 id=&#34;configure-the-data-source&#34;&gt;Configure the data source&lt;/h2&gt;
&lt;p&gt;To configure basic settings for the data source, complete the following steps:&lt;/p&gt;


&lt;div data-shared=&#34;alerts/add-alertmanager-ds.md&#34;&gt;
            &lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Connections&lt;/strong&gt; in the left-side menu.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under Your connections, click &lt;strong&gt;Data sources&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter &lt;code&gt;Alertmanager&lt;/code&gt; in the search bar.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Alertmanager&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Settings&lt;/strong&gt; tab of the data source is displayed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set the data source&amp;rsquo;s basic configuration options:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Sets the name you use to refer to the data source&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Default&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Sets whether the data source is pre-selected for new panels and queries&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Alertmanager Implementation&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Alertmanager implementation. &lt;strong&gt;Mimir&lt;/strong&gt;, &lt;strong&gt;Cortex,&lt;/strong&gt; and &lt;strong&gt;Prometheus&lt;/strong&gt; are supported&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Receive Grafana Alerts&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;When enabled, the Alertmanager can receive Grafana-managed alerts. &lt;strong&gt;Important:&lt;/strong&gt; This works only if receiving alerts is enabled for the Alertmanager in the Grafana Alerting Settings page&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;HTTP URL&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Sets the HTTP protocol, IP, and port of your Alertmanager instance, such as &lt;code&gt;https://alertmanager.example.org:9093&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Access&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Only &lt;strong&gt;Server&lt;/strong&gt; access mode is functional&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;/div&gt;

        
&lt;h2 id=&#34;provision-the-alertmanager-data-source&#34;&gt;Provision the Alertmanager data source&lt;/h2&gt;
&lt;p&gt;You can provision Alertmanager data sources by updating Grafana&amp;rsquo;s configuration files.
For more information on provisioning, and common settings available, refer to the 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/provisioning/#datasources&#34;&gt;provisioning docs page&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here is an example for provisioning the Alertmanager data source:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;apiVersion: 1

datasources:
  - name: Alertmanager
    type: alertmanager
    url: http://localhost:9093
    access: proxy
    jsonData:
      # Valid options for implementation include mimir, cortex and prometheus
      implementation: prometheus
      # Whether or not Grafana should send alert instances to this Alertmanager
      handleGrafanaManagedAlerts: false
    # optionally
    basicAuth: true
    basicAuthUser: my_user
    secureJsonData:
      basicAuthPassword: test_password&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="alertmanager-data-source">Alertmanager data source&lt;/h1>
&lt;p>Grafana includes built-in support for Alertmanager implementations in Prometheus and Mimir.&lt;/p>
&lt;p>Once you add an Alertmanager as a data source, you can use the &lt;code>Choose Alertmanager&lt;/code> drop-down on
&lt;a href="/docs/grafana/v12.4/alerting/">Grafana Alerting&lt;/a> to view and manage Alertmanager resources, such as silences, contact points, and notification policies. Additionally, you can enable the Alertmanager to receive Grafana-managed alerts.&lt;/p></description></item><item><title>Amazon CloudWatch data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/aws-cloudwatch/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/aws-cloudwatch/</guid><content><![CDATA[&lt;h1 id=&#34;amazon-cloudwatch-data-source&#34;&gt;Amazon CloudWatch data source&lt;/h1&gt;
&lt;p&gt;Amazon CloudWatch is the AWS native monitoring and observability service that collects, aggregates, and stores metrics, logs, and events from AWS resources, applications, and services. CloudWatch enables you to visualize performance data, track system health, and set up automated alerts based on defined thresholds. The Amazon CloudWatch data source in Grafana extends these capabilities by allowing you to query CloudWatch data and create rich, interactive visualizations that can be correlated with data from other systems within unified dashboards.&lt;/p&gt;
&lt;p&gt;Grafana includes native support for the Amazon CloudWatch plugin, so there&amp;rsquo;s no need to install a plugin.&lt;/p&gt;
&lt;p&gt;The following documents will help you get started working with the CloudWatch data source:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/aws-cloudwatch/configure/&#34;&gt;Configure the CloudWatch data source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/aws-cloudwatch/query-editor/&#34;&gt;CloudWatch query editor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/aws-cloudwatch/template-variables/&#34;&gt;Templates and variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/aws-cloudwatch/aws-authentication/&#34;&gt;Configure AWS authentication&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/aws-cloudwatch/troubleshooting/&#34;&gt;Troubleshoot CloudWatch issues&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;import-pre-configured-dashboards&#34;&gt;Import pre-configured dashboards&lt;/h2&gt;
&lt;p&gt;The CloudWatch data source includes curated, pre-configured dashboards for five popular AWS services:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Amazon Elastic Compute Cloud:&lt;/strong&gt; &lt;code&gt;Amazon EC2&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Elastic Block Store:&lt;/strong&gt; &lt;code&gt;Amazon EBS&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;AWS Lambda:&lt;/strong&gt; &lt;code&gt;AWS Lambda&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon CloudWatch Logs:&lt;/strong&gt; &lt;code&gt;Amazon CloudWatch Logs&lt;/code&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Amazon Relational Database Service:&lt;/strong&gt; &lt;code&gt;Amazon RDS&lt;/code&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To import curated dashboards:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Navigate to the data source&amp;rsquo;s configuration page.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click the &lt;strong&gt;Dashboards&lt;/strong&gt; tab.&lt;/p&gt;
&lt;p&gt;This displays the curated selection of importable dashboards.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Import&lt;/strong&gt; for each dashboard you want to import.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/media/docs/cloudwatch/preconfigured-dashboards-cloudwatch-v12.1.png&#34;
  alt=&#34;CloudWatch pre-configured dashboards Grafana v12.1&#34; width=&#34;1495&#34;
     height=&#34;352&#34;/&gt;&lt;/p&gt;
&lt;p&gt;To customize one of these dashboards, Grafana recommends saving it under a different name; otherwise, Grafana upgrades will overwrite your customizations with the new version.&lt;/p&gt;
&lt;h2 id=&#34;get-the-most-out-of-the-data-source&#34;&gt;Get the most out of the data source&lt;/h2&gt;
&lt;p&gt;After installing and configuring the Amazon CloudWatch data source, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a wide variety of 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/&#34;&gt;visualizations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Configure and use 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/variables/&#34;&gt;templates and variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/transform-data/&#34;&gt;transformations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/annotate-visualizations/&#34;&gt;annotations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set up 
    &lt;a href=&#34;/docs/grafana/v12.4/alerting/&#34;&gt;alerting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Optimize performance with 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/data-source-management/#query-and-resource-caching&#34;&gt;query caching&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;control-pricing&#34;&gt;Control pricing&lt;/h2&gt;
&lt;p&gt;The Amazon CloudWatch data source for Grafana uses &lt;a href=&#34;https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_ListMetrics.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;ListMetrics&lt;/code&gt;&lt;/a&gt; and &lt;a href=&#34;https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;GetMetricData&lt;/code&gt;&lt;/a&gt; CloudWatch API calls to list and retrieve metrics.
Pricing for CloudWatch Logs is based on the amount of data ingested, archived, and analyzed via CloudWatch Logs Insights queries.
Each time you select a dimension in the query editor, Grafana issues a &lt;code&gt;ListMetrics&lt;/code&gt; API request.
Each time you change queries in the query editor, Grafana issues a new request to the &lt;code&gt;GetMetricData&lt;/code&gt; API.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;Grafana now uses the &lt;code&gt;GetMetricData&lt;/code&gt; API instead of &lt;code&gt;GetMetricStatistics&lt;/code&gt; for CloudWatch queries. This change improves support for CloudWatch metric math and allows Grafana to automatically generate search expressions when you use wildcards or disable the &lt;code&gt;Match Exact&lt;/code&gt; option.&lt;/p&gt;
&lt;p&gt;Unlike &lt;code&gt;GetMetricStatistics&lt;/code&gt; requests, &lt;code&gt;GetMetricData&lt;/code&gt; requests do not qualify for the CloudWatch API free tier.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;For more information, refer to the &lt;a href=&#34;https://aws.amazon.com/cloudwatch/pricing/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;CloudWatch pricing page&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;manage-service-quotas&#34;&gt;Manage service quotas&lt;/h2&gt;
&lt;p&gt;AWS defines quotas, or limits, for resources, actions, and items in your AWS account.
Depending on the number of queries in your dashboard and the number of users accessing the dashboard, you might reach the usage limits for various CloudWatch and CloudWatch Logs resources.
Quotas are defined per account and per region.&lt;/p&gt;
&lt;p&gt;If you use multiple regions or have configured more than one CloudWatch data source to query against multiple accounts, you must request a quota increase for each account and region in which you reach the limit.&lt;/p&gt;
&lt;p&gt;To request a quota increase, visit the &lt;a href=&#34;https://console.aws.amazon.com/servicequotas/home?r#!/services/monitoring/quotas/L-5E141212&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;AWS Service Quotas console&lt;/a&gt;.
For more information, refer to the AWS documentation for &lt;a href=&#34;https://docs.aws.amazon.com/servicequotas/latest/userguide/intro.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Service Quotas&lt;/a&gt; and &lt;a href=&#34;https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/cloudwatch_limits.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;CloudWatch limits&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;cross-account-observability&#34;&gt;Cross-account observability&lt;/h2&gt;
&lt;p&gt;The CloudWatch plugin enables you to monitor and troubleshoot applications across multiple regional accounts. Using cross-account observability, you can seamlessly search, visualize and analyze metrics and logs without worrying about account boundaries.&lt;/p&gt;
&lt;p&gt;To use this feature, configure a monitoring and source account in the &lt;a href=&#34;https://aws.amazon.com/blogs/aws/new-amazon-cloudwatch-cross-account-observability/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;AWS console under CloudWatch Settings&lt;/a&gt;, and then add the necessary IAM permissions as described above.&lt;/p&gt;
]]></content><description>&lt;h1 id="amazon-cloudwatch-data-source">Amazon CloudWatch data source&lt;/h1>
&lt;p>Amazon CloudWatch is the AWS native monitoring and observability service that collects, aggregates, and stores metrics, logs, and events from AWS resources, applications, and services. CloudWatch enables you to visualize performance data, track system health, and set up automated alerts based on defined thresholds. The Amazon CloudWatch data source in Grafana extends these capabilities by allowing you to query CloudWatch data and create rich, interactive visualizations that can be correlated with data from other systems within unified dashboards.&lt;/p></description></item><item><title>Azure Monitor data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/azure-monitor/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/azure-monitor/</guid><content><![CDATA[&lt;h1 id=&#34;azure-monitor-data-source&#34;&gt;Azure Monitor data source&lt;/h1&gt;
&lt;p&gt;The Azure Monitor data source plugin allows you to query and visualize data from Azure Monitor, the Azure service to maximize the availability and performance of applications and services in the Azure Cloud.&lt;/p&gt;
&lt;h2 id=&#34;supported-azure-clouds&#34;&gt;Supported Azure clouds&lt;/h2&gt;
&lt;p&gt;The Azure Monitor data source supports the following Azure cloud environments:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Azure&lt;/strong&gt; - Azure public cloud (default)&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Azure US Government&lt;/strong&gt; - Azure Government cloud&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Azure China&lt;/strong&gt; - Azure China cloud operated by 21Vianet&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;supported-azure-services&#34;&gt;Supported Azure services&lt;/h2&gt;
&lt;p&gt;The Azure Monitor data source supports the following Azure services:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Service&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Azure Monitor Metrics&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Collect numeric data from resources in your Azure account. Supports dimensions, aggregations, and time grain configuration.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Azure Monitor Logs&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Collect log and performance data from your Azure account using the Kusto Query Language (KQL).&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Azure Resource Graph&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Query your Azure resources across subscriptions using KQL. Useful for inventory, compliance, and resource management.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Application Insights Traces&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Collect distributed trace data and correlate requests across your application components.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;get-started&#34;&gt;Get started&lt;/h2&gt;
&lt;p&gt;The following documents will help you get started with the Azure Monitor data source:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/azure-monitor/configure/&#34;&gt;Configure the Azure Monitor data source&lt;/a&gt; - Set up authentication and connect to Azure&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/azure-monitor/query-editor/&#34;&gt;Azure Monitor query editor&lt;/a&gt; - Create and edit queries for Metrics, Logs, Traces, and Resource Graph&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/azure-monitor/template-variables/&#34;&gt;Template variables&lt;/a&gt; - Create dynamic dashboards with Azure Monitor variables&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/azure-monitor/alerting/&#34;&gt;Alerting&lt;/a&gt; - Create alert rules using Azure Monitor data&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/azure-monitor/troubleshooting/&#34;&gt;Troubleshooting&lt;/a&gt; - Solve common configuration and query errors&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;additional-features&#34;&gt;Additional features&lt;/h2&gt;
&lt;p&gt;After you have configured the Azure Monitor data source, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/azure-monitor/annotations/&#34;&gt;Annotations&lt;/a&gt; to overlay Azure log events on your graphs.&lt;/li&gt;
&lt;li&gt;Configure and use 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/azure-monitor/template-variables/&#34;&gt;Template variables&lt;/a&gt; for dynamic dashboards.&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/transform-data/&#34;&gt;Transformations&lt;/a&gt; to manipulate query results.&lt;/li&gt;
&lt;li&gt;Set up 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/azure-monitor/alerting/&#34;&gt;Alerting&lt;/a&gt; and recording rules using Metrics, Logs, Traces, and Resource Graph queries.&lt;/li&gt;
&lt;li&gt;Use 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt; to investigate your Azure data without building a dashboard.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;pre-built-dashboards&#34;&gt;Pre-built dashboards&lt;/h2&gt;
&lt;p&gt;The Azure Monitor plugin includes the following pre-built dashboards:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Azure Monitor Overview&lt;/strong&gt; - Displays key metrics across your Azure subscriptions and resources.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Azure Storage Account&lt;/strong&gt; - Shows storage account metrics including availability, latency, and transactions.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To import a pre-built dashboard:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to &lt;strong&gt;Connections&lt;/strong&gt; &amp;gt; &lt;strong&gt;Data sources&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select your Azure Monitor data source.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Dashboards&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Import&lt;/strong&gt; next to the dashboard you want to use.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;related-resources&#34;&gt;Related resources&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.microsoft.com/en-us/azure/azure-monitor/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Azure Monitor documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://docs.microsoft.com/en-us/azure/data-explorer/kusto/query/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Kusto Query Language (KQL) reference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://community.grafana.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Grafana community forum&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="azure-monitor-data-source">Azure Monitor data source&lt;/h1>
&lt;p>The Azure Monitor data source plugin allows you to query and visualize data from Azure Monitor, the Azure service to maximize the availability and performance of applications and services in the Azure Cloud.&lt;/p></description></item><item><title>Elasticsearch data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/elasticsearch/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/elasticsearch/</guid><content><![CDATA[&lt;h1 id=&#34;elasticsearch-data-source&#34;&gt;Elasticsearch data source&lt;/h1&gt;
&lt;p&gt;Elasticsearch is a search and analytics engine used for a variety of use cases.
You can create many types of queries to visualize logs or metrics stored in Elasticsearch, and annotate graphs with log events stored in Elasticsearch.&lt;/p&gt;
&lt;p&gt;The following resources will help you get started with Elasticsearch and Grafana:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://www.elastic.co/guide/en/elasticsearch/reference/current/elasticsearch-intro.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;What is Elasticsearch?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/elasticsearch/configure/&#34;&gt;Configure the Elasticsearch data source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/elasticsearch/query-editor/&#34;&gt;Elasticsearch query editor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/elasticsearch/template-variables/&#34;&gt;Elasticsearch template variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/elasticsearch/annotations/&#34;&gt;Elasticsearch annotations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/elasticsearch/alerting/&#34;&gt;Elasticsearch alerting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/elasticsearch/troubleshooting/&#34;&gt;Troubleshooting issues with the Elasticsearch data source&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;key-capabilities&#34;&gt;Key capabilities&lt;/h2&gt;
&lt;p&gt;The Elasticsearch data source supports:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Metrics queries:&lt;/strong&gt; Aggregate and visualize numeric data using bucket and metric aggregations.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Log queries:&lt;/strong&gt; Search, filter, and explore log data with Lucene query syntax.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Annotations:&lt;/strong&gt; Overlay Elasticsearch events on your dashboard graphs.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Alerting:&lt;/strong&gt; Create alerts based on Elasticsearch query results.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;before-you-begin&#34;&gt;Before you begin&lt;/h2&gt;
&lt;p&gt;Before you configure the Elasticsearch data source, you need:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;An Elasticsearch instance (v7.17&#43;, v8.x, or v9.x)&lt;/li&gt;
&lt;li&gt;Network access from Grafana to your Elasticsearch server&lt;/li&gt;
&lt;li&gt;Appropriate user credentials or API keys with read access&lt;/li&gt;
&lt;/ul&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;If you use Amazon OpenSearch Service (the successor to Amazon Elasticsearch Service), use the 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/opensearch/&#34;&gt;OpenSearch data source&lt;/a&gt; instead.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;supported-elasticsearch-versions&#34;&gt;Supported Elasticsearch versions&lt;/h2&gt;
&lt;p&gt;This data source supports these versions of Elasticsearch:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;≥ v7.17&lt;/li&gt;
&lt;li&gt;v8.x&lt;/li&gt;
&lt;li&gt;v9.x&lt;/li&gt;
&lt;li&gt;Elastic Cloud Serverless&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The Grafana maintenance policy for the Elasticsearch data source aligns with &lt;a href=&#34;https://www.elastic.co/support/eol&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Elastic Product End of Life Dates&lt;/a&gt;. Grafana ensures proper functionality for supported versions only. If you use an EOL version of Elasticsearch, you can still run queries, but the query builder displays a warning. Grafana doesn&amp;rsquo;t guarantee functionality or provide fixes for EOL versions.&lt;/p&gt;
&lt;h2 id=&#34;additional-resources&#34;&gt;Additional resources&lt;/h2&gt;
&lt;p&gt;Once you have configured the Elasticsearch data source, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt; to run ad hoc queries against your Elasticsearch data.&lt;/li&gt;
&lt;li&gt;Configure and use 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/elasticsearch/template-variables/&#34;&gt;template variables&lt;/a&gt; for dynamic dashboards.&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/transform-data/&#34;&gt;Transformations&lt;/a&gt; to process query results.&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/&#34;&gt;Build dashboards&lt;/a&gt; to visualize your Elasticsearch data.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;related-data-sources&#34;&gt;Related data sources&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/opensearch/&#34;&gt;OpenSearch&lt;/a&gt; - For Amazon OpenSearch Service.&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/loki/&#34;&gt;Loki&lt;/a&gt; - Grafana&amp;rsquo;s log aggregation system.&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="elasticsearch-data-source">Elasticsearch data source&lt;/h1>
&lt;p>Elasticsearch is a search and analytics engine used for a variety of use cases.
You can create many types of queries to visualize logs or metrics stored in Elasticsearch, and annotate graphs with log events stored in Elasticsearch.&lt;/p></description></item><item><title>Google Cloud Monitoring data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/google-cloud-monitoring/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/google-cloud-monitoring/</guid><content><![CDATA[&lt;h1 id=&#34;google-cloud-monitoring-data-source&#34;&gt;Google Cloud Monitoring data source&lt;/h1&gt;
&lt;p&gt;Google Cloud Monitoring (formerly Stackdriver) is Google Cloud Platform&amp;rsquo;s native monitoring and observability service that collects metrics, events, and metadata from GCP resources, hosted uptime probes, and application instrumentation. The Google Cloud Monitoring data source in Grafana allows you to query and visualize this data alongside metrics from other systems, creating unified dashboards for comprehensive infrastructure and application monitoring.&lt;/p&gt;
&lt;p&gt;Grafana includes built-in support for Google Cloud Monitoring, so you don&amp;rsquo;t need to install a plugin.&lt;/p&gt;
&lt;h2 id=&#34;get-started&#34;&gt;Get started&lt;/h2&gt;
&lt;p&gt;The following documents will help you get started with the Google Cloud Monitoring data source:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/google-cloud-monitoring/configure/&#34;&gt;Configure the data source&lt;/a&gt; - Set up authentication and connect to Google Cloud&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/google-cloud-monitoring/query-editor/&#34;&gt;Query editor&lt;/a&gt; - Create and edit Metric and SLO queries&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/google-cloud-monitoring/template-variables/&#34;&gt;Template variables&lt;/a&gt; - Create dynamic dashboards with Google Cloud Monitoring variables&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/google-cloud-monitoring/annotations/&#34;&gt;Annotations&lt;/a&gt; - Overlay Google Cloud Monitoring events on graphs&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/google-cloud-monitoring/alerting/&#34;&gt;Alerting&lt;/a&gt; - Create alert rules based on GCP metrics and SLOs&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/google-cloud-monitoring/google-authentication/&#34;&gt;Google authentication&lt;/a&gt; - Configure authentication methods for GCP access&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/google-cloud-monitoring/troubleshooting/&#34;&gt;Troubleshooting&lt;/a&gt; - Solve common configuration and query errors&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;supported-query-types&#34;&gt;Supported query types&lt;/h2&gt;
&lt;p&gt;The Google Cloud Monitoring data source supports the following query types:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Query type&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Metrics&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Query time series data from GCP resources using the Monitoring Query Language (MQL) or the visual builder.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Service Level Objectives (SLOs)&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Query SLO data defined in Google Cloud Monitoring to track service reliability and error budgets.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;additional-features&#34;&gt;Additional features&lt;/h2&gt;
&lt;p&gt;After you configure the Google Cloud Monitoring data source, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a wide variety of 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/&#34;&gt;visualizations&lt;/a&gt; using GCP metrics.&lt;/li&gt;
&lt;li&gt;Configure and use 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/variables/&#34;&gt;template variables&lt;/a&gt; for dynamic dashboards.&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/transform-data/&#34;&gt;transformations&lt;/a&gt; to manipulate query results.&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/annotate-visualizations/&#34;&gt;annotations&lt;/a&gt; to overlay events on your graphs.&lt;/li&gt;
&lt;li&gt;Set up 
    &lt;a href=&#34;/docs/grafana/v12.4/alerting/&#34;&gt;alerting&lt;/a&gt; based on GCP metrics.&lt;/li&gt;
&lt;li&gt;Use 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt; to investigate your Google Cloud data without building a dashboard.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;pre-configured-dashboards&#34;&gt;Pre-configured dashboards&lt;/h2&gt;
&lt;p&gt;The Google Cloud Monitoring data source includes pre-configured dashboards for popular GCP services. These curated dashboards are based on similar dashboards in the GCP dashboard samples repository.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 650px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png&#34;data-srcset=&#34;/static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=320 320w, /static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=550 550w, /static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=750 750w, /static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=900 900w, /static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=1040 1040w, /static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=1240 1240w, /static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Curated dashboards for Google Cloud Monitoring&#34;width=&#34;932&#34;height=&#34;668&#34;title=&#34;Curated dashboards for Google Cloud Monitoring&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/google-cloud-monitoring/curated-dashboards-7-4.png&#34;
            alt=&#34;Curated dashboards for Google Cloud Monitoring&#34;width=&#34;932&#34;height=&#34;668&#34;title=&#34;Curated dashboards for Google Cloud Monitoring&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Curated dashboards for Google Cloud Monitoring&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;To import a pre-configured dashboard:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Go to &lt;strong&gt;Connections&lt;/strong&gt; &amp;gt; &lt;strong&gt;Data sources&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Select your Google Cloud Monitoring data source.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Dashboards&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Import&lt;/strong&gt; next to the dashboard you want to use.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The dashboards include a 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/google-cloud-monitoring/template-variables/&#34;&gt;template variable&lt;/a&gt; populated with the projects accessible by the configured 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/google-cloud-monitoring/google-authentication/&#34;&gt;service account&lt;/a&gt; each time you load the dashboard. After Grafana loads the dashboard, you can select a project from the dropdown list.&lt;/p&gt;
&lt;p&gt;To customize an imported dashboard, save it under a different name. Otherwise, Grafana upgrades can overwrite your customizations with the new version.&lt;/p&gt;
&lt;h2 id=&#34;related-resources&#34;&gt;Related resources&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;https://cloud.google.com/monitoring/docs&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Google Cloud Monitoring documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://cloud.google.com/monitoring/mql/reference&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Monitoring Query Language (MQL) reference&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://cloud.google.com/monitoring/api/metrics_gcp&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Google Cloud metrics list&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://community.grafana.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Grafana community forum&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="google-cloud-monitoring-data-source">Google Cloud Monitoring data source&lt;/h1>
&lt;p>Google Cloud Monitoring (formerly Stackdriver) is Google Cloud Platform&amp;rsquo;s native monitoring and observability service that collects metrics, events, and metadata from GCP resources, hosted uptime probes, and application instrumentation. The Google Cloud Monitoring data source in Grafana allows you to query and visualize this data alongside metrics from other systems, creating unified dashboards for comprehensive infrastructure and application monitoring.&lt;/p></description></item><item><title>Graphite data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/graphite/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/graphite/</guid><content><![CDATA[&lt;h1 id=&#34;graphite-data-source&#34;&gt;Graphite data source&lt;/h1&gt;
&lt;p&gt;Grafana includes built-in support for Graphite.
This topic explains options, variables, querying, and other features specific to the Graphite data source, which include its feature-rich query editor.&lt;/p&gt;
&lt;p&gt;For instructions on how to add a data source to Grafana, refer to the 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/data-source-management/&#34;&gt;administration documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Once you&amp;rsquo;ve added the Graphite data source, you can &lt;a href=&#34;#configure-the-data-source&#34;&gt;configure it&lt;/a&gt; so that your Grafana instance&amp;rsquo;s users can create queries in its &lt;a href=&#34;query-editor/&#34;&gt;query editor&lt;/a&gt; when they 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/&#34;&gt;build dashboards&lt;/a&gt; and use 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt;.&lt;/p&gt;




  &lt;div class=&#34;d-sm-flex flex-direction-row-reverse bg-gray-1 br-12 p-2 my-1&#34;&gt;
    &lt;img class=&#34;mb-1 lazyload&#34; data-src=&#34;/media/docs/icons/docs-play.svg&#34; width=&#34;228&#34; height=&#34;182&#34; alt=&#34;Give it a try using Grafana Play&#34;&gt;
    &lt;div&gt;
      &lt;div class=&#34;h4 pt-0 pb-half fw-500&#34;&gt;Give it a try using Grafana Play&lt;/div&gt;
      &lt;p class=&#34;pr-1 pb-half&#34;&gt;With Grafana Play, you can explore and see how it works, learning from practical examples to accelerate your development.
This feature can be seen on &lt;a href=&#34;https://play.grafana.org/d/000000003/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Graphite: Sample Website Dashboard&lt;/a&gt;.&lt;/p&gt;
      &lt;div class=&#34;mx-auto&#34;&gt;
        &lt;a class=&#34;btn btn--primary btn--large arrow fw-600 br-8 w-175&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; href=&#34;https://play.grafana.org/d/000000003/&#34;&gt;Try it&lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;

&lt;p&gt;Grafana exposes metrics for Graphite on the &lt;code&gt;/metrics&lt;/code&gt; endpoint.
For detailed instructions, refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/setup-grafana/set-up-grafana-monitoring/&#34;&gt;Internal Grafana metrics&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;get-grafana-metrics-into-graphite&#34;&gt;Get Grafana metrics into Graphite&lt;/h2&gt;
&lt;p&gt;Grafana exposes metrics for Graphite on the &lt;code&gt;/metrics&lt;/code&gt; endpoint.
Refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/setup-grafana/set-up-grafana-monitoring/&#34;&gt;Internal Grafana metrics&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2 id=&#34;graphite-and-loki-integration&#34;&gt;Graphite and Loki integration&lt;/h2&gt;
&lt;p&gt;When you change the data source selection in 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt;, Graphite queries are converted to Loki queries.
Grafana extracts Loki label names and values from the Graphite queries according to mappings provided in the Graphite data source configuration. Grafana automatically transforms queries using tags with &lt;code&gt;seriesByTags()&lt;/code&gt; without requiring additional setup.&lt;/p&gt;
&lt;h2 id=&#34;get-the-most-out-of-the-data-source&#34;&gt;Get the most out of the data source&lt;/h2&gt;
&lt;p&gt;After installing and configuring the Graphite data source you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a wide variety of 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/&#34;&gt;visualizations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Configure and use 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/variables/&#34;&gt;templates and variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/transform-data/&#34;&gt;transformations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/annotate-visualizations/&#34;&gt;annotations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set up 
    &lt;a href=&#34;/docs/grafana/v12.4/alerting/&#34;&gt;alerting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;troubleshooting/&#34;&gt;Troubleshoot&lt;/a&gt; common issues with the Graphite data source&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="graphite-data-source">Graphite data source&lt;/h1>
&lt;p>Grafana includes built-in support for Graphite.
This topic explains options, variables, querying, and other features specific to the Graphite data source, which include its feature-rich query editor.&lt;/p></description></item><item><title>InfluxDB data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/influxdb/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/influxdb/</guid><content><![CDATA[&lt;h1 id=&#34;influxdb-data-source&#34;&gt;InfluxDB data source&lt;/h1&gt;


&lt;div data-shared=&#34;influxdb/intro.md&#34;&gt;
            &lt;p&gt;&lt;a href=&#34;https://www.influxdata.com/products/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;InfluxDB&lt;/a&gt; is an open-source time series database (TSDB) developed by &lt;a href=&#34;https://www.influxdata.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;InfluxData&lt;/a&gt;. It is optimized for fast, high-availability storage and retrieval of time series data in fields such as operations monitoring, application metrics, IoT sensor data, and real-time analytics.&lt;/p&gt;
&lt;/div&gt;

        
&lt;p&gt;Grafana includes a built-in InfluxDB data source plugin, enabling you to query and visualize data from InfluxDB without installing additional plugins. Grafana offers multiple configuration options for this data source, including a choice of three query languages (InfluxQL, SQL, and Flux) and a query editor with both code and visual builder modes.&lt;/p&gt;
&lt;h2 id=&#34;supported-versions&#34;&gt;Supported versions&lt;/h2&gt;
&lt;p&gt;This data source supports the following InfluxDB products:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;InfluxDB OSS 1.x, 2.x, and 3.x&lt;/li&gt;
&lt;li&gt;InfluxDB Enterprise 1.x and 3.x&lt;/li&gt;
&lt;li&gt;InfluxDB Cloud Serverless&lt;/li&gt;
&lt;li&gt;InfluxDB Cloud Dedicated&lt;/li&gt;
&lt;li&gt;InfluxDB Cloud (TSM)&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;key-capabilities&#34;&gt;Key capabilities&lt;/h2&gt;
&lt;p&gt;The InfluxDB data source supports:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Multiple query languages:&lt;/strong&gt; Choose from InfluxQL, SQL (v3.x&#43;), or Flux depending on your InfluxDB version.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Time series queries:&lt;/strong&gt; Visualize metrics over time with built-in macros for time filtering and grouping.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Table queries:&lt;/strong&gt; Display query results in table format.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Template variables:&lt;/strong&gt; Create dynamic dashboards with variable-driven queries.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Annotations:&lt;/strong&gt; Overlay events from InfluxDB on your dashboard panels.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Alerting:&lt;/strong&gt; Create alerts based on InfluxDB query results.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Log querying:&lt;/strong&gt; Query and display log data in Explore and the Logs panel.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;get-started-with-the-influxdb-data-source&#34;&gt;Get started with the InfluxDB data source&lt;/h2&gt;
&lt;p&gt;The following documents will help you get started with the InfluxDB data source in Grafana:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;./configure/&#34;&gt;Configure the InfluxDB data source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;./query-editor/&#34;&gt;InfluxDB query editor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;./template-variables/&#34;&gt;InfluxDB template variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;./troubleshooting/&#34;&gt;Troubleshoot InfluxDB data source issues&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;additional-resources&#34;&gt;Additional resources&lt;/h2&gt;
&lt;p&gt;Once you have configured the InfluxDB data source, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt; to run ad hoc queries against your InfluxDB data.&lt;/li&gt;
&lt;li&gt;Configure and use 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/variables/&#34;&gt;template variables&lt;/a&gt; for dynamic dashboards.&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/transform-data/&#34;&gt;transformations&lt;/a&gt; to process query results.&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/&#34;&gt;Build dashboards&lt;/a&gt; to visualize your InfluxDB data.&lt;/li&gt;
&lt;li&gt;Set up 
    &lt;a href=&#34;/docs/grafana/v12.4/alerting/&#34;&gt;alerting&lt;/a&gt; based on your InfluxDB query results.&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="influxdb-data-source">InfluxDB data source&lt;/h1>
&lt;div data-shared="influxdb/intro.md">
&lt;p>&lt;a href="https://www.influxdata.com/products/" target="_blank" rel="noopener noreferrer">InfluxDB&lt;/a> is an open-source time series database (TSDB) developed by &lt;a href="https://www.influxdata.com/" target="_blank" rel="noopener noreferrer">InfluxData&lt;/a>. It is optimized for fast, high-availability storage and retrieval of time series data in fields such as operations monitoring, application metrics, IoT sensor data, and real-time analytics.&lt;/p></description></item><item><title>Configure the Loki data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/loki/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/loki/</guid><content><![CDATA[&lt;h1 id=&#34;loki-data-source&#34;&gt;Loki data source&lt;/h1&gt;
&lt;p&gt;Grafana Loki is a set of components that can be combined into a fully featured logging stack.
Unlike other logging systems, Loki is built around the idea of only indexing metadata about your logs: labels (just like Prometheus labels). Log data itself is then compressed and stored in chunks in object stores such as S3 or GCS, or even locally on a filesystem.&lt;/p&gt;
&lt;p&gt;The following guides will help you get started with Loki:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;/docs/loki/latest/get-started/&#34;&gt;Getting started with Loki&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/docs/loki/latest/installation/&#34;&gt;Install Loki&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/docs/loki/latest/best-practices/#best-practices&#34;&gt;Loki best practices&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/loki/configure-loki-data-source/&#34;&gt;Configure the Loki data source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;/docs/loki/latest/logql/&#34;&gt;LogQL&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;query-editor/&#34;&gt;Loki query editor&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;supported-loki-versions&#34;&gt;Supported Loki versions&lt;/h2&gt;
&lt;p&gt;This data source supports these versions of Loki:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;v2.9&#43;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;adding-a-data-source&#34;&gt;Adding a data source&lt;/h2&gt;
&lt;p&gt;For instructions on how to add a data source to Grafana, refer to the 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/data-source-management/&#34;&gt;administration documentation&lt;/a&gt;
Only users with the organization administrator role can add data sources.
Administrators can also &lt;a href=&#34;#provision-the-data-source&#34;&gt;configure the data source via YAML&lt;/a&gt; with Grafana&amp;rsquo;s provisioning system.&lt;/p&gt;
&lt;p&gt;Once you&amp;rsquo;ve added the Loki data source, you can &lt;a href=&#34;#configure-the-data-source&#34;&gt;configure it&lt;/a&gt; so that your Grafana instance&amp;rsquo;s users can create queries in its &lt;a href=&#34;query-editor/&#34;&gt;query editor&lt;/a&gt; when they 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/&#34;&gt;build dashboards&lt;/a&gt;, use 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt;, and &lt;a href=&#34;query-editor/#apply-annotations&#34;&gt;annotate visualizations&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;To troubleshoot configuration and other issues, check the log file located at &lt;code&gt;/var/log/grafana/grafana.log&lt;/code&gt; on Unix systems, or in &lt;code&gt;&amp;lt;grafana_install_dir&amp;gt;/data/log&lt;/code&gt; on other platforms and manual installations.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;provision-the-data-source&#34;&gt;Provision the data source&lt;/h2&gt;
&lt;p&gt;You can define and configure the data source in YAML files as part of Grafana&amp;rsquo;s provisioning system.
For more information about provisioning, and for available configuration options, refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/provisioning/#data-sources&#34;&gt;Provisioning Grafana&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;provisioning-examples&#34;&gt;Provisioning examples&lt;/h3&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;apiVersion: 1

datasources:
  - name: Loki
    type: loki
    access: proxy
    url: http://localhost:3100
    jsonData:
      timeout: 60
      maxLines: 1000&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Using basic authorization and a derived field:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;You must escape the dollar (&lt;code&gt;$&lt;/code&gt;) character in YAML values because it can be used to interpolate environment variables:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;apiVersion: 1

datasources:
  - name: Loki
    type: loki
    access: proxy
    url: http://localhost:3100
    basicAuth: true
    basicAuthUser: my_user
    jsonData:
      maxLines: 1000
      derivedFields:
        # Field with internal link pointing to data source in Grafana.
        # datasourceUid value can be anything, but it should be unique across all defined data source uids.
        - datasourceUid: my_jaeger_uid
          matcherRegex: &amp;#34;traceID=(\\w&amp;#43;)&amp;#34;
          name: TraceID
          # url will be interpreted as query for the datasource
          url: &amp;#39;$${__value.raw}&amp;#39;
          # optional for URL Label to set a custom display label for the link.
          urlDisplayLabel: &amp;#39;View Trace&amp;#39;

        # Field with external link.
        - matcherRegex: &amp;#34;traceID=(\\w&amp;#43;)&amp;#34;
          name: TraceID
          url: &amp;#39;http://localhost:16686/trace/$${__value.raw}&amp;#39;
    secureJsonData:
      basicAuthPassword: test_password&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;&lt;strong&gt;Using a Jaeger data source:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;In this example, the Jaeger data source&amp;rsquo;s &lt;code&gt;uid&lt;/code&gt; value should match the Loki data source&amp;rsquo;s &lt;code&gt;datasourceUid&lt;/code&gt; value.&lt;/p&gt;

&lt;div class=&#34;code-snippet code-snippet__mini&#34;&gt;&lt;div class=&#34;lang-toolbar__mini&#34;&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet code-snippet__border&#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-none&#34;&gt;datasources:
    - name: Jaeger
      type: jaeger
      url: http://jaeger-tracing-query:16686/
      access: proxy
      # UID should match the datasourceUid in derivedFields.
      uid: my_jaeger_uid&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;query-the-data-source&#34;&gt;Query the data source&lt;/h2&gt;
&lt;p&gt;The Loki data source&amp;rsquo;s query editor helps you create log and metric queries that use Loki&amp;rsquo;s query language, &lt;a href=&#34;/docs/loki/latest/logql/&#34;&gt;LogQL&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For details, refer to the &lt;a href=&#34;query-editor/&#34;&gt;query editor documentation&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;use-template-variables&#34;&gt;Use template variables&lt;/h2&gt;
&lt;p&gt;Instead of hard-coding details such as server, application, and sensor names in metric queries, you can use variables.
Grafana lists these variables in dropdown select boxes at the top of the dashboard to help you change the data displayed in your dashboard.
Grafana refers to such variables as template variables.&lt;/p&gt;
&lt;p&gt;For details, see the &lt;a href=&#34;template-variables/&#34;&gt;template variables documentation&lt;/a&gt;.&lt;/p&gt;
]]></content><description>&lt;h1 id="loki-data-source">Loki data source&lt;/h1>
&lt;p>Grafana Loki is a set of components that can be combined into a fully featured logging stack.
Unlike other logging systems, Loki is built around the idea of only indexing metadata about your logs: labels (just like Prometheus labels). Log data itself is then compressed and stored in chunks in object stores such as S3 or GCS, or even locally on a filesystem.&lt;/p></description></item><item><title>Jaeger data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/jaeger/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/jaeger/</guid><content><![CDATA[&lt;h1 id=&#34;jaeger-data-source&#34;&gt;Jaeger data source&lt;/h1&gt;
&lt;p&gt;Grafana ships with built-in support for Jaeger, which provides open source, end-to-end distributed tracing. This topic explains configuration and queries specific to the Jaeger data source.&lt;/p&gt;
&lt;p&gt;For instructions on how to add a data source to Grafana, refer to the 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/data-source-management/&#34;&gt;administration documentation&lt;/a&gt;.
Only users with the organization administrator role can add data sources.
Administrators can also &lt;a href=&#34;#provision-the-data-source&#34;&gt;configure the data source via YAML&lt;/a&gt; with Grafana&amp;rsquo;s provisioning system.&lt;/p&gt;
&lt;p&gt;Once you&amp;rsquo;ve added the data source, you can &lt;a href=&#34;#configure-the-data-source&#34;&gt;configure it&lt;/a&gt; so your Grafana instance&amp;rsquo;s users can create queries in the &lt;a href=&#34;#query-the-data-source&#34;&gt;query editor&lt;/a&gt; when the users 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/&#34;&gt;build dashboards&lt;/a&gt; and use 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can also &lt;a href=&#34;#upload-a-json-trace-file&#34;&gt;upload a JSON trace file&lt;/a&gt;, &lt;a href=&#34;#link-to-a-trace-id-from-logs&#34;&gt;link to a trace ID from logs&lt;/a&gt;, and &lt;a href=&#34;#link-to-a-trace-id-from-metrics&#34;&gt;link to a trace ID from metrics&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;configure-the-data-source&#34;&gt;Configure the data source&lt;/h2&gt;
&lt;p&gt;To configure basic settings for the data source, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Connections&lt;/strong&gt; in the left-side menu.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under Your connections, click &lt;strong&gt;Data sources&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter &lt;code&gt;Jaeger&lt;/code&gt; in the search bar.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;Jaeger&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Settings&lt;/strong&gt; tab of the data source is displayed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set the data source&amp;rsquo;s basic configuration options:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Sets the name you use to refer to the data source in panels and queries.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Default&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines whether this data source is pre-selected for new panels.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;URL&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Sets the URL of the Jaeger instance, such as &lt;code&gt;http://localhost:16686&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Basic Auth&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Enables basic authentication for the Jaeger data source.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;User&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines the user name for basic authentication.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Password&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines the password for basic authentication.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can also configure settings specific to the Jaeger data source. These options are described in the sections below.&lt;/p&gt;
&lt;h3 id=&#34;trace-to-logs&#34;&gt;Trace to logs&lt;/h3&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/media/docs/tempo/tempo-trace-to-logs-9-4.png&#34;
  alt=&#34;Trace to logs settings&#34; width=&#34;1219&#34;
     height=&#34;852&#34;/&gt;&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;If you use Grafana Cloud, open a &lt;a href=&#34;/profile/org#support&#34;&gt;support ticket in the Cloud Portal&lt;/a&gt; to access this feature.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;The &lt;strong&gt;Trace to logs&lt;/strong&gt; setting configures the 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/trace-integration/&#34;&gt;trace to logs feature&lt;/a&gt; that is available when you integrate Grafana with Jaeger.&lt;/p&gt;
&lt;p&gt;There are two ways to configure the trace to logs feature:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use a simplified configuration with default query, or&lt;/li&gt;
&lt;li&gt;Configure a custom query where you can use a 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/variables/variable-syntax/&#34;&gt;template language&lt;/a&gt; to interpolate variables from the trace or span.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;use-a-simple-configuration&#34;&gt;Use a simple configuration&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the target data source from the drop-down list.&lt;/p&gt;
&lt;p&gt;You can also click &lt;strong&gt;Open advanced data source picker&lt;/strong&gt; to see more options, including adding a data source.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set start and end time shift. Since the logs timestamps may not exactly match the timestamps of the spans in trace, it may be necessary to search in larger or shifted time range to find the desired logs.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select which tags to use in the logs query. The tags you configure must be present in the spans attributes or resources for a trace to logs span link to appear. You can optionally configure a new name for the tag. This is useful if the tag has dots in the name and the target data source does not allow dots in labels. In that case, you can, for example, remap &lt;code&gt;http.status&lt;/code&gt; to &lt;code&gt;http_status&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Optionally, switch on the &lt;strong&gt;Filter by trace ID&lt;/strong&gt; and/or &lt;strong&gt;Filter by span ID&lt;/strong&gt; setting to further filter the logs if your logs consistently contain trace or span IDs.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;configure-a-custom-query&#34;&gt;Configure a custom query&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the target data source from the drop-down list.&lt;/p&gt;
&lt;p&gt;You can also click &lt;strong&gt;Open advanced data source picker&lt;/strong&gt; to see more options, including adding a data source.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set start and end time shift. Since the logs timestamps may not exactly match the timestamps of the spans in the trace, you may need to widen or shift the time range to find the desired logs.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Optionally, select tags to map. These tags can be used in the custom query with &lt;code&gt;${__tags}&lt;/code&gt; variable. This variable will interpolate the mapped tags as a list in an appropriate syntax for the data source and will only include the tags that were present in the span omitting those that weren&amp;rsquo;t present. You can optionally configure a new name for the tag. This is useful in cases where the tag has dots in the name and the target data source does not allow dots in labels. For example, you can remap &lt;code&gt;http.status&lt;/code&gt; to &lt;code&gt;http_status&lt;/code&gt;. If you don&amp;rsquo;t map any tags here, you can still use any tag in the query like this &lt;code&gt;method=&amp;quot;${__span.tags.method}&amp;quot;&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Skip &lt;strong&gt;Filter by trace ID&lt;/strong&gt; and &lt;strong&gt;Filter by span ID&lt;/strong&gt; settings as these cannot be used with a custom query.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Switch on &lt;strong&gt;Use custom query&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Specify a custom query to be used to query the logs. You can use various variables to make that query relevant for current span. The link is present only if all the variables are interpolated with non-empty values to prevent creating an invalid query.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;variables-that-can-be-used-in-a-custom-query&#34;&gt;Variables that can be used in a custom query&lt;/h4&gt;
&lt;p&gt;To use a variable you need to wrap it in &lt;code&gt;${}&lt;/code&gt;. For example: &lt;code&gt;${__span.name}&lt;/code&gt;.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Variable name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__tags&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;This variable uses the tag mapping from the UI to create a label matcher string in the specific data source syntax. The variable only uses tags that are present in the span. The link is still created even if only one of those tags is present in the span. You can use this if all tags are not required for the query to be useful.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__span.spanId&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The ID of the span.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__span.traceId&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The ID of the trace.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__span.duration&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The duration of the span.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__span.name&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Name of the span.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__span.tags&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Namespace for the tags in the span. To access a specific tag named &lt;code&gt;version&lt;/code&gt;, you would use &lt;code&gt;${__span.tags.version}&lt;/code&gt;. In case the tag contains dot, you have to access it as &lt;code&gt;${__span.tags[&amp;quot;http.status&amp;quot;]}&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__trace.traceId&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The ID of the trace.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__trace.duration&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The duration of the trace.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__trace.name&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The name of the trace.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;The following table describes the ways in which you can configure your trace to logs settings:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Setting name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Data source&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines the target data source. You can select only Loki or Splunk logs data sources.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Span start time shift&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Shifts the start time for the logs query, based on the span&amp;rsquo;s start time. You can use time units, such as &lt;code&gt;5s&lt;/code&gt;, &lt;code&gt;1m&lt;/code&gt;, &lt;code&gt;3h&lt;/code&gt;. To extend the time to the past, use a negative value. Default: &lt;code&gt;0&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Span end time shift&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Shifts the end time for the logs query, based on the span&amp;rsquo;s end time. You can use time units. Default: &lt;code&gt;0&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Tags&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines the tags to use in the logs query. Default: &lt;code&gt;cluster&lt;/code&gt;, &lt;code&gt;hostname&lt;/code&gt;, &lt;code&gt;namespace&lt;/code&gt;, &lt;code&gt;pod&lt;/code&gt;, &lt;code&gt;service.name&lt;/code&gt;, &lt;code&gt;service.namespace&lt;/code&gt;. You can change the tag name for example to remove dots from the name if they are not allowed in the target data source. For example, map &lt;code&gt;http.status&lt;/code&gt; to &lt;code&gt;http_status&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Filter by trace ID&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Toggles whether to append the trace ID to the logs query.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Filter by span ID&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Toggles whether to append the span ID to the logs query.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Use custom query&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Toggles use of custom query with interpolation.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Query&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Input to write custom query. Use variable interpolation to customize it with variables from span.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;trace-to-metrics&#34;&gt;Trace to metrics&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;Trace to metrics&lt;/strong&gt; setting configures the &lt;a href=&#34;/oss/grafana/&#34;&gt;trace to metrics feature&lt;/a&gt; available when integrating Grafana with Jaeger.&lt;/p&gt;
&lt;p&gt;To configure trace to metrics:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the target data source from the drop-down list.&lt;/p&gt;
&lt;p&gt;You can also click &lt;strong&gt;Open advanced data source picker&lt;/strong&gt; to see more options, including adding a data source.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create any desired linked queries.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Setting name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Data source&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines the target data source.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Tags&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines the tags used in linked queries. The key sets the span attribute name, and the optional value sets the corresponding metric label name. For example, you can map &lt;code&gt;k8s.pod&lt;/code&gt; to &lt;code&gt;pod&lt;/code&gt;. To interpolate these tags into queries, use the &lt;code&gt;$__tags&lt;/code&gt; keyword.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Each linked query consists of:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Link Label:&lt;/strong&gt; &lt;em&gt;(Optional)&lt;/em&gt; Descriptive label for the linked query.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Query:&lt;/strong&gt; The query ran when navigating from a trace to the metrics data source.
Interpolate tags using the &lt;code&gt;$__tags&lt;/code&gt; keyword.
For example, when you configure the query &lt;code&gt;requests_total{$__tags}&lt;/code&gt;with the tags &lt;code&gt;k8s.pod=pod&lt;/code&gt; and &lt;code&gt;cluster&lt;/code&gt;, the result looks like &lt;code&gt;requests_total{pod=&amp;quot;nginx-554b9&amp;quot;, cluster=&amp;quot;us-east-1&amp;quot;}&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;node-graph&#34;&gt;Node Graph&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;Node Graph&lt;/strong&gt; setting enables the 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/node-graph/&#34;&gt;Node Graph visualization&lt;/a&gt;, which is disabled by default.&lt;/p&gt;
&lt;p&gt;Once enabled, Grafana displays the Node Graph above the trace view.&lt;/p&gt;
&lt;h3 id=&#34;span-bar&#34;&gt;Span bar&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;Span bar&lt;/strong&gt; setting helps you display additional information in the span bar row.&lt;/p&gt;
&lt;p&gt;You can choose one of three options:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;None&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Adds nothing to the span bar row.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Duration&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;&lt;em&gt;(Default)&lt;/em&gt; Displays the span duration on the span bar row.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Tag&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Displays the span tag on the span bar row. You must also specify which tag key to use to get the tag value, such as &lt;code&gt;component&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;provision-the-data-source&#34;&gt;Provision the data source&lt;/h3&gt;
&lt;p&gt;You can define and configure the data source in YAML files as part of Grafana&amp;rsquo;s provisioning system.
For more information about provisioning and available configuration options, refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/provisioning/#data-sources&#34;&gt;Provisioning Grafana&lt;/a&gt;.&lt;/p&gt;
&lt;h4 id=&#34;provisioning-example&#34;&gt;Provisioning example&lt;/h4&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;apiVersion: 1

datasources:
  - name: Jaeger
    type: jaeger
    uid: EbPG8fYoz
    url: http://localhost:16686
    access: proxy
    basicAuth: true
    basicAuthUser: my_user
    readOnly: false
    isDefault: false
    jsonData:
      tracesToLogsV2:
        # Field with an internal link pointing to a logs data source in Grafana.
        # datasourceUid value must match the uid value of the logs data source.
        datasourceUid: &amp;#39;loki&amp;#39;
        spanStartTimeShift: &amp;#39;1h&amp;#39;
        spanEndTimeShift: &amp;#39;-1h&amp;#39;
        tags: [&amp;#39;job&amp;#39;, &amp;#39;instance&amp;#39;, &amp;#39;pod&amp;#39;, &amp;#39;namespace&amp;#39;]
        filterByTraceID: false
        filterBySpanID: false
        customQuery: true
        query: &amp;#39;method=&amp;#34;$${__span.tags.method}&amp;#34;&amp;#39;
      tracesToMetrics:
        datasourceUid: &amp;#39;prom&amp;#39;
        spanStartTimeShift: &amp;#39;1h&amp;#39;
        spanEndTimeShift: &amp;#39;-1h&amp;#39;
        tags: [{ key: &amp;#39;service.name&amp;#39;, value: &amp;#39;service&amp;#39; }, { key: &amp;#39;job&amp;#39; }]
        queries:
          - name: &amp;#39;Sample query&amp;#39;
            query: &amp;#39;sum(rate(traces_spanmetrics_latency_bucket{$$__tags}[5m]))&amp;#39;
      nodeGraph:
        enabled: true
      traceQuery:
        timeShiftEnabled: true
        spanStartTimeShift: &amp;#39;1h&amp;#39;
        spanEndTimeShift: &amp;#39;-1h&amp;#39;
      spanBar:
        type: &amp;#39;None&amp;#39;
    secureJsonData:
      basicAuthPassword: my_password&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;query-the-data-source&#34;&gt;Query the data source&lt;/h2&gt;
&lt;p&gt;You can query and display traces from Jaeger via 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;This topic explains configuration and queries specific to the Jaeger data source.
For general documentation on querying data sources in Grafana, see 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/&#34;&gt;Query and transform data&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;query-by-search&#34;&gt;Query by search&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;To search for traces:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select &lt;strong&gt;Search&lt;/strong&gt; from the &lt;strong&gt;Query&lt;/strong&gt; type selector.&lt;/li&gt;
&lt;li&gt;Fill out the search form:&lt;/li&gt;
&lt;/ol&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Service&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Returns a list of services.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Operation&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Populated when you select a service with related operations. Select &lt;code&gt;All&lt;/code&gt; to query all operations.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Tags&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Sets tags with values in the &lt;a href=&#34;https://brandur.org/logfmt&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;logfmt&lt;/a&gt; format, such as &lt;code&gt;error=true db.statement=&amp;quot;select * from User&amp;quot;&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Min Duration&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Filters all traces with a duration higher than the set value. Possible values are &lt;code&gt;1.2s, 100ms, 500us&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Max Duration&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Filters all traces with a duration lower than the set value. Possible values are &lt;code&gt;1.2s, 100ms, 500us&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Limit&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Limits the number of traces returned.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1857px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/static/img/docs/explore/jaeger-search-form.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/static/img/docs/explore/jaeger-search-form.png&#34;data-srcset=&#34;/static/img/docs/explore/jaeger-search-form.png?w=320 320w, /static/img/docs/explore/jaeger-search-form.png?w=550 550w, /static/img/docs/explore/jaeger-search-form.png?w=750 750w, /static/img/docs/explore/jaeger-search-form.png?w=900 900w, /static/img/docs/explore/jaeger-search-form.png?w=1040 1040w, /static/img/docs/explore/jaeger-search-form.png?w=1240 1240w, /static/img/docs/explore/jaeger-search-form.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the Jaeger query editor&#34;width=&#34;1857&#34;height=&#34;733&#34;title=&#34;Screenshot of the Jaeger query editor&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/explore/jaeger-search-form.png&#34;
            alt=&#34;Screenshot of the Jaeger query editor&#34;width=&#34;1857&#34;height=&#34;733&#34;title=&#34;Screenshot of the Jaeger query editor&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Screenshot of the Jaeger query editor&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;query-by-trace-id&#34;&gt;Query by trace ID&lt;/h3&gt;
&lt;p&gt;To query a particular trace:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select the &lt;strong&gt;TraceID&lt;/strong&gt; query type.&lt;/li&gt;
&lt;li&gt;Enter the trace&amp;rsquo;s ID into the &lt;strong&gt;Trace ID&lt;/strong&gt; field.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1855px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/static/img/docs/explore/jaeger-trace-id.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/static/img/docs/explore/jaeger-trace-id.png&#34;data-srcset=&#34;/static/img/docs/explore/jaeger-trace-id.png?w=320 320w, /static/img/docs/explore/jaeger-trace-id.png?w=550 550w, /static/img/docs/explore/jaeger-trace-id.png?w=750 750w, /static/img/docs/explore/jaeger-trace-id.png?w=900 900w, /static/img/docs/explore/jaeger-trace-id.png?w=1040 1040w, /static/img/docs/explore/jaeger-trace-id.png?w=1240 1240w, /static/img/docs/explore/jaeger-trace-id.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the Jaeger query editor with TraceID selected&#34;width=&#34;1855&#34;height=&#34;778&#34;title=&#34;Screenshot of the Jaeger query editor with TraceID selected&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/explore/jaeger-trace-id.png&#34;
            alt=&#34;Screenshot of the Jaeger query editor with TraceID selected&#34;width=&#34;1855&#34;height=&#34;778&#34;title=&#34;Screenshot of the Jaeger query editor with TraceID selected&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Screenshot of the Jaeger query editor with TraceID selected&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h2 id=&#34;upload-a-json-trace-file&#34;&gt;Upload a JSON trace file&lt;/h2&gt;
&lt;p&gt;You can upload a JSON file that contains a single trace and visualize it.
If the file has multiple traces, Grafana visualizes its first trace.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1849px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/static/img/docs/explore/jaeger-upload-json.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/static/img/docs/explore/jaeger-upload-json.png&#34;data-srcset=&#34;/static/img/docs/explore/jaeger-upload-json.png?w=320 320w, /static/img/docs/explore/jaeger-upload-json.png?w=550 550w, /static/img/docs/explore/jaeger-upload-json.png?w=750 750w, /static/img/docs/explore/jaeger-upload-json.png?w=900 900w, /static/img/docs/explore/jaeger-upload-json.png?w=1040 1040w, /static/img/docs/explore/jaeger-upload-json.png?w=1240 1240w, /static/img/docs/explore/jaeger-upload-json.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the Jaeger data source in explore with upload selected&#34;width=&#34;1849&#34;height=&#34;548&#34;title=&#34;Screenshot of the Jaeger data source in explore with upload selected&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/explore/jaeger-upload-json.png&#34;
            alt=&#34;Screenshot of the Jaeger data source in explore with upload selected&#34;width=&#34;1849&#34;height=&#34;548&#34;title=&#34;Screenshot of the Jaeger data source in explore with upload selected&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Screenshot of the Jaeger data source in explore with upload selected&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;trace-json-example&#34;&gt;Trace JSON example&lt;/h3&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;JSON&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-json&#34;&gt;{
  &amp;#34;data&amp;#34;: [
    {
      &amp;#34;traceID&amp;#34;: &amp;#34;2ee9739529395e31&amp;#34;,
      &amp;#34;spans&amp;#34;: [
        {
          &amp;#34;traceID&amp;#34;: &amp;#34;2ee9739529395e31&amp;#34;,
          &amp;#34;spanID&amp;#34;: &amp;#34;2ee9739529395e31&amp;#34;,
          &amp;#34;flags&amp;#34;: 1,
          &amp;#34;operationName&amp;#34;: &amp;#34;CAS&amp;#34;,
          &amp;#34;references&amp;#34;: [],
          &amp;#34;startTime&amp;#34;: 1616095319593196,
          &amp;#34;duration&amp;#34;: 1004,
          &amp;#34;tags&amp;#34;: [
            {
              &amp;#34;key&amp;#34;: &amp;#34;sampler.type&amp;#34;,
              &amp;#34;type&amp;#34;: &amp;#34;string&amp;#34;,
              &amp;#34;value&amp;#34;: &amp;#34;const&amp;#34;
            }
          ],
          &amp;#34;logs&amp;#34;: [],
          &amp;#34;processID&amp;#34;: &amp;#34;p1&amp;#34;,
          &amp;#34;warnings&amp;#34;: null
        }
      ],
      &amp;#34;processes&amp;#34;: {
        &amp;#34;p1&amp;#34;: {
          &amp;#34;serviceName&amp;#34;: &amp;#34;loki-all&amp;#34;,
          &amp;#34;tags&amp;#34;: [
            {
              &amp;#34;key&amp;#34;: &amp;#34;jaeger.version&amp;#34;,
              &amp;#34;type&amp;#34;: &amp;#34;string&amp;#34;,
              &amp;#34;value&amp;#34;: &amp;#34;Go-2.25.0&amp;#34;
            }
          ]
        }
      },
      &amp;#34;warnings&amp;#34;: null
    }
  ],
  &amp;#34;total&amp;#34;: 0,
  &amp;#34;limit&amp;#34;: 0,
  &amp;#34;offset&amp;#34;: 0,
  &amp;#34;errors&amp;#34;: null
}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;span-filters&#34;&gt;Span Filters&lt;/h2&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/media/docs/tempo/screenshot-grafana-tempo-span-filters-v10-1.png&#34;
  alt=&#34;Screenshot of span filtering&#34; width=&#34;833&#34;
     height=&#34;239&#34;/&gt;&lt;/p&gt;
&lt;p&gt;Using span filters, you can filter your spans in the trace timeline viewer. The more filters you add, the more specific are the filtered spans.&lt;/p&gt;
&lt;p&gt;You can add one or more of the following filters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Service name&lt;/li&gt;
&lt;li&gt;Span name&lt;/li&gt;
&lt;li&gt;Duration&lt;/li&gt;
&lt;li&gt;Tags (which include tags, process tags, and log fields)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To only show the spans you have matched, you can press the &lt;code&gt;Show matches only&lt;/code&gt; toggle.&lt;/p&gt;
&lt;h2 id=&#34;link-to-a-trace-id-from-logs&#34;&gt;Link to a trace ID from logs&lt;/h2&gt;
&lt;p&gt;You can link to Jaeger traces from logs in Loki, Elasticsearch, Splunk, and other logs data sources by configuring an internal link.&lt;/p&gt;
&lt;p&gt;To configure this feature, see the 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/loki/configure-loki-data-source/#derived-fields&#34;&gt;Derived fields&lt;/a&gt; section of the Loki data source docs or the 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/elasticsearch/configure/#data-links&#34;&gt;Data links&lt;/a&gt; section of the Elasticsearch or Splunk data source docs.&lt;/p&gt;
&lt;h2 id=&#34;link-to-a-trace-id-from-metrics&#34;&gt;Link to a trace ID from metrics&lt;/h2&gt;
&lt;p&gt;You can link to Jaeger traces from metrics in Prometheus data sources by configuring an exemplar.&lt;/p&gt;
&lt;p&gt;To configure this feature, see the 
    &lt;a href=&#34;/docs/grafana/v12.4/fundamentals/exemplars/&#34;&gt;introduction to exemplars&lt;/a&gt; documentation.&lt;/p&gt;
&lt;h2 id=&#34;visualizing-the-dependency-graph&#34;&gt;Visualizing the dependency graph&lt;/h2&gt;
&lt;p&gt;If service dependency information is available in Jaeger, it can be visualized in Grafana.
Use the Jaeger data source with the &amp;ldquo;Dependency Graph&amp;rdquo; query type on a Node Graph panel for this.&lt;/p&gt;
&lt;h2 id=&#34;querying-data-via-grpc-endpoint-public-preview&#34;&gt;Querying Data via gRPC Endpoint (Public Preview)&lt;/h2&gt;
&lt;p&gt;Jaeger now offers an alternative method for querying data via HTTP, which utilizes their gRPC service. For detailed information about the API and any necessary Jaeger setup requirements, please consult their &lt;a href=&#34;https://www.jaegertracing.io/docs/2.12/architecture/apis/#query-json-over-http&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The following queries are currently enabled through the gRPC endpoint:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Service search&lt;/li&gt;
&lt;li&gt;Operation search&lt;/li&gt;
&lt;li&gt;Trace ID search&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To enable gRPC querying for Jaeger within Grafana, you must enable the &lt;code&gt;jaegerEnableGrpcEndpoint&lt;/code&gt; feature flag. Grafana Cloud customers should contact support to request access and provide feedback on this feature.&lt;/p&gt;
]]></content><description>&lt;h1 id="jaeger-data-source">Jaeger data source&lt;/h1>
&lt;p>Grafana ships with built-in support for Jaeger, which provides open source, end-to-end distributed tracing. This topic explains configuration and queries specific to the Jaeger data source.&lt;/p></description></item><item><title>Microsoft SQL Server data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/mssql/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/mssql/</guid><content><![CDATA[&lt;h1 id=&#34;microsoft-sql-server-mssql-data-source&#34;&gt;Microsoft SQL Server (MSSQL) data source&lt;/h1&gt;
&lt;p&gt;Grafana ships with built-in support for Microsoft SQL Server (MSSQL).
You can query and visualize data from any Microsoft SQL Server 2005 or newer, including Microsoft Azure SQL Database.&lt;/p&gt;
&lt;p&gt;Use this data source to create dashboards, explore SQL data, and monitor MSSQL-based workloads in real time.&lt;/p&gt;
&lt;p&gt;The following documentation helps you get started working with the Microsoft SQL Server (MSSQL) data source:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/mssql/configure/&#34;&gt;Configure the Microsoft SQL Server data source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/mssql/query-editor/&#34;&gt;Microsoft SQL Server query editor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/mssql/template-variables/&#34;&gt;Microsoft SQL Server template variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/mssql/troubleshooting/&#34;&gt;Troubleshoot Microsoft SQL Server data source issues&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;supported-versions&#34;&gt;Supported versions&lt;/h2&gt;
&lt;p&gt;This data source supports the following Microsoft SQL Server versions:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Microsoft SQL Server 2005 and newer&lt;/li&gt;
&lt;li&gt;Microsoft Azure SQL Database&lt;/li&gt;
&lt;li&gt;Azure SQL Managed Instance&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Grafana recommends using the latest available service pack for your SQL Server version for optimal compatibility.&lt;/p&gt;
&lt;h2 id=&#34;key-capabilities&#34;&gt;Key capabilities&lt;/h2&gt;
&lt;p&gt;The Microsoft SQL Server data source supports:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Time series queries:&lt;/strong&gt; Visualize metrics over time using the built-in time grouping macros.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Table queries:&lt;/strong&gt; Display query results in table format for any valid SQL query.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Template variables:&lt;/strong&gt; Create dynamic dashboards with variable-driven queries.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Annotations:&lt;/strong&gt; Overlay events from SQL Server on your dashboard graphs.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Alerting:&lt;/strong&gt; Create alerts based on SQL Server query results.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Stored procedures:&lt;/strong&gt; Execute stored procedures and visualize results.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Macros:&lt;/strong&gt; Simplify queries with built-in macros for time filtering and grouping.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;additional-resources&#34;&gt;Additional resources&lt;/h2&gt;
&lt;p&gt;After configuring the Microsoft SQL Server data source, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a wide variety of 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/&#34;&gt;visualizations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Configure and use 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/variables/&#34;&gt;templates and variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/transform-data/&#34;&gt;transformations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/annotate-visualizations/&#34;&gt;annotations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set up 
    &lt;a href=&#34;/docs/grafana/v12.4/alerting/&#34;&gt;alerting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Optimize performance with 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/data-source-management/#query-and-resource-caching&#34;&gt;query caching&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;related-data-sources&#34;&gt;Related data sources&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/postgres/&#34;&gt;PostgreSQL&lt;/a&gt; - For PostgreSQL databases.&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/mysql/&#34;&gt;MySQL&lt;/a&gt; - For MySQL and MariaDB databases.&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="microsoft-sql-server-mssql-data-source">Microsoft SQL Server (MSSQL) data source&lt;/h1>
&lt;p>Grafana ships with built-in support for Microsoft SQL Server (MSSQL).
You can query and visualize data from any Microsoft SQL Server 2005 or newer, including Microsoft Azure SQL Database.&lt;/p></description></item><item><title>MySQL data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/mysql/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/mysql/</guid><content><![CDATA[&lt;h1 id=&#34;mysql-data-source&#34;&gt;MySQL data source&lt;/h1&gt;
&lt;p&gt;Grafana ships with built-in support for MySQL.
You can query and visualize data from MySQL-compatible databases like &lt;a href=&#34;https://mariadb.org/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;MariaDB&lt;/a&gt; or &lt;a href=&#34;https://www.percona.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Percona Server&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Use this data source to create dashboards, explore SQL data, and monitor MySQL-based workloads in real time.&lt;/p&gt;
&lt;p&gt;Watch this video to learn more about using the Grafana MySQL data source plugin: &lt;iframe width=&#34;560&#34; height=&#34;315&#34; src=&#39;https://www.youtube.com/embed/p_RDHfHS-P8&#39; title=&#34;YouTube video player&#34; frameborder=&#34;0&#34; allow=&#34;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&#34; referrerpolicy=&#34;strict-origin-when-cross-origin&#34; allowfullscreen&gt;&lt;/iframe&gt;&lt;/p&gt;




  &lt;div class=&#34;d-sm-flex flex-direction-row-reverse bg-gray-1 br-12 p-2 my-1&#34;&gt;
    &lt;img class=&#34;mb-1 lazyload&#34; data-src=&#34;/media/docs/icons/docs-play.svg&#34; width=&#34;228&#34; height=&#34;182&#34; alt=&#34;Give it a try using Grafana Play&#34;&gt;
    &lt;div&gt;
      &lt;div class=&#34;h4 pt-0 pb-half fw-500&#34;&gt;Give it a try using Grafana Play&lt;/div&gt;
      &lt;p class=&#34;pr-1 pb-half&#34;&gt;With Grafana Play, you can explore and see how it works, learning from practical examples to accelerate your development.
This feature can be seen on &lt;a href=&#34;https://play.grafana.org/d/edyh1ib7db6rkb/mysql-overview&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;MySQL Overview&lt;/a&gt;.&lt;/p&gt;
      &lt;div class=&#34;mx-auto&#34;&gt;
        &lt;a class=&#34;btn btn--primary btn--large arrow fw-600 br-8 w-175&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; href=&#34;https://play.grafana.org/d/edyh1ib7db6rkb/mysql-overview&#34;&gt;Try it&lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;

&lt;h2 id=&#34;supported-databases&#34;&gt;Supported databases&lt;/h2&gt;
&lt;p&gt;This data source supports the following MySQL-compatible databases:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;MySQL 5.7 and newer&lt;/li&gt;
&lt;li&gt;MariaDB 10.2 and newer&lt;/li&gt;
&lt;li&gt;Percona Server 5.7 and newer&lt;/li&gt;
&lt;li&gt;Amazon Aurora MySQL&lt;/li&gt;
&lt;li&gt;Azure Database for MySQL&lt;/li&gt;
&lt;li&gt;Google Cloud SQL for MySQL&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Grafana recommends using the latest available version for your database for optimal compatibility.&lt;/p&gt;
&lt;h2 id=&#34;key-capabilities&#34;&gt;Key capabilities&lt;/h2&gt;
&lt;p&gt;The MySQL data source supports:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Time series queries:&lt;/strong&gt; Visualize metrics over time using built-in time grouping macros.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Table queries:&lt;/strong&gt; Display query results in table format for any valid SQL query.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Template variables:&lt;/strong&gt; Create dynamic dashboards with variable-driven queries.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Annotations:&lt;/strong&gt; Overlay events from MySQL on your dashboard graphs.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Alerting:&lt;/strong&gt; Create alerts based on MySQL query results.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Macros:&lt;/strong&gt; Simplify queries with built-in macros for time filtering and grouping.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;get-started&#34;&gt;Get started&lt;/h2&gt;
&lt;p&gt;The following documentation helps you get started with the MySQL data source:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/mysql/configure/&#34;&gt;Configure the MySQL data source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/mysql/query-editor/&#34;&gt;MySQL query editor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/mysql/template-variables/&#34;&gt;MySQL template variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/mysql/annotations/&#34;&gt;MySQL annotations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/mysql/alerting/&#34;&gt;MySQL alerting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/mysql/troubleshooting/&#34;&gt;Troubleshoot MySQL data source issues&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;additional-resources&#34;&gt;Additional resources&lt;/h2&gt;
&lt;p&gt;After configuring the MySQL data source, you can also:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a wide variety of 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/&#34;&gt;visualizations&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Configure and use 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/variables/&#34;&gt;templates and variables&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/transform-data/&#34;&gt;transformations&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Optimize performance with 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/data-source-management/#query-and-resource-caching&#34;&gt;query caching&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;pre-configured-dashboards&#34;&gt;Pre-configured dashboards&lt;/h2&gt;
&lt;p&gt;If you want to monitor your MySQL server&amp;rsquo;s performance metrics (connections, queries, replication, and more), Grafana provides pre-configured dashboards through the MySQL integration:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;MySQL Overview&lt;/strong&gt; - Key performance metrics for your MySQL server.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;MySQL Logs&lt;/strong&gt; - Log analysis for troubleshooting.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The MySQL integration uses the Prometheus MySQL Exporter to collect server metrics and includes 15 pre-configured alert rules.&lt;/p&gt;
&lt;p&gt;To use these dashboards:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;In Grafana Cloud, navigate to &lt;strong&gt;Connections&lt;/strong&gt; &amp;gt; &lt;strong&gt;Add new connection&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Search for &lt;strong&gt;MySQL&lt;/strong&gt; and select the MySQL integration.&lt;/li&gt;
&lt;li&gt;Follow the setup instructions to install the MySQL Exporter.&lt;/li&gt;
&lt;li&gt;Import the pre-configured dashboards from the integration page.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For more MySQL dashboards, browse the &lt;a href=&#34;/grafana/dashboards/?search=mysql&#34;&gt;Grafana dashboard catalog&lt;/a&gt;.&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;The MySQL integration monitors your MySQL &lt;em&gt;server&lt;/em&gt; using Prometheus metrics. The MySQL &lt;em&gt;data source&lt;/em&gt; documented here queries data stored &lt;em&gt;in&lt;/em&gt; MySQL tables. These are complementary features for different use cases.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;related-data-sources&#34;&gt;Related data sources&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/postgres/&#34;&gt;PostgreSQL&lt;/a&gt; - For PostgreSQL databases.&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/mssql/&#34;&gt;Microsoft SQL Server&lt;/a&gt; - For Microsoft SQL Server and Azure SQL databases.&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="mysql-data-source">MySQL data source&lt;/h1>
&lt;p>Grafana ships with built-in support for MySQL.
You can query and visualize data from MySQL-compatible databases like &lt;a href="https://mariadb.org/" target="_blank" rel="noopener noreferrer">MariaDB&lt;/a> or &lt;a href="https://www.percona.com/" target="_blank" rel="noopener noreferrer">Percona Server&lt;/a>.&lt;/p>
&lt;p>Use this data source to create dashboards, explore SQL data, and monitor MySQL-based workloads in real time.&lt;/p></description></item><item><title>OpenTSDB data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/opentsdb/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/opentsdb/</guid><content><![CDATA[&lt;h1 id=&#34;opentsdb-data-source&#34;&gt;OpenTSDB data source&lt;/h1&gt;
&lt;p&gt;Grafana ships with support for OpenTSDB, an open source time series database built on top of HBase. Use the OpenTSDB data source to visualize metrics, create alerts, and build dashboards from your time series data.&lt;/p&gt;
&lt;h2 id=&#34;supported-features&#34;&gt;Supported features&lt;/h2&gt;
&lt;p&gt;The OpenTSDB data source supports the following features:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Feature&lt;/th&gt;
              &lt;th&gt;Supported&lt;/th&gt;
              &lt;th&gt;Notes&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Metrics queries&lt;/td&gt;
              &lt;td&gt;Yes&lt;/td&gt;
              &lt;td&gt;Query time series data with aggregation, downsampling, and filtering&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Alerting&lt;/td&gt;
              &lt;td&gt;Yes&lt;/td&gt;
              &lt;td&gt;Create alert rules based on OpenTSDB queries&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Annotations&lt;/td&gt;
              &lt;td&gt;Yes&lt;/td&gt;
              &lt;td&gt;Overlay events on graphs using metric-specific or global annotations&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Template variables&lt;/td&gt;
              &lt;td&gt;Yes&lt;/td&gt;
              &lt;td&gt;Use dynamic variables in queries&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Explore&lt;/td&gt;
              &lt;td&gt;Yes&lt;/td&gt;
              &lt;td&gt;Ad-hoc data exploration without dashboards&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;supported-opentsdb-versions&#34;&gt;Supported OpenTSDB versions&lt;/h2&gt;
&lt;p&gt;The data source supports OpenTSDB versions 2.1 through 2.4. Some features are version-specific:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Feature&lt;/th&gt;
              &lt;th&gt;Minimum version&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Filters&lt;/td&gt;
              &lt;td&gt;2.2&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Fill policies&lt;/td&gt;
              &lt;td&gt;2.2&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Explicit tags&lt;/td&gt;
              &lt;td&gt;2.3&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;get-started&#34;&gt;Get started&lt;/h2&gt;
&lt;p&gt;The following documents help you get started with the OpenTSDB data source:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/opentsdb/configure/&#34;&gt;Configure the OpenTSDB data source&lt;/a&gt; - Set up authentication and connect to OpenTSDB.&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/opentsdb/query-editor/&#34;&gt;OpenTSDB query editor&lt;/a&gt; - Create and edit queries with aggregation, downsampling, and filtering.&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/opentsdb/template-variables/&#34;&gt;Template variables&lt;/a&gt; - Create dynamic dashboards with OpenTSDB variables.&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/opentsdb/troubleshooting/&#34;&gt;Troubleshooting&lt;/a&gt; - Solve common configuration and query errors.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;additional-features&#34;&gt;Additional features&lt;/h2&gt;
&lt;p&gt;After you have configured the OpenTSDB data source, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/opentsdb/annotations/&#34;&gt;Annotations&lt;/a&gt; to overlay OpenTSDB events on your graphs.&lt;/li&gt;
&lt;li&gt;Configure and use 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/opentsdb/template-variables/&#34;&gt;Template variables&lt;/a&gt; for dynamic dashboards.&lt;/li&gt;
&lt;li&gt;Set up 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/opentsdb/alerting/&#34;&gt;Alerting&lt;/a&gt; rules based on your time series queries.&lt;/li&gt;
&lt;li&gt;Use 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt; to investigate your OpenTSDB data without building a dashboard.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;related-resources&#34;&gt;Related resources&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;http://opentsdb.net/docs/build/html/index.html&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Official OpenTSDB documentation&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://community.grafana.com/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Grafana community forums&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="opentsdb-data-source">OpenTSDB data source&lt;/h1>
&lt;p>Grafana ships with support for OpenTSDB, an open source time series database built on top of HBase. Use the OpenTSDB data source to visualize metrics, create alerts, and build dashboards from your time series data.&lt;/p></description></item><item><title>Parca</title><link>https://grafana.com/docs/grafana/v12.4/datasources/parca/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/parca/</guid><content><![CDATA[&lt;h1 id=&#34;parca-data-source&#34;&gt;Parca data source&lt;/h1&gt;
&lt;p&gt;Grafana ships with built-in support for Parca, a continuous profiling OSS database for analysis of CPU and memory usage, down to the line number and throughout time. Add it as a data source, and you are ready to query your profiles in 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;supported-parca-versions&#34;&gt;Supported Parca versions&lt;/h2&gt;
&lt;p&gt;This data source supports these versions of Parca:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;v0.19&#43;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;configure-the-parca-data-source&#34;&gt;Configure the Parca data source&lt;/h2&gt;
&lt;p&gt;To configure basic settings for the data source, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Connections&lt;/strong&gt; in the left-side menu.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under Your connections, click &lt;strong&gt;Data sources&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter &lt;code&gt;Parca&lt;/code&gt; in the search bar.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Parca&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Settings&lt;/strong&gt; tab of the data source is displayed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set the data source&amp;rsquo;s basic configuration options:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;Name&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;A name to specify the data source in panels, queries, and Explore.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;Default&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;The default data source will be pre-selected for new panels.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;URL&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;The URL of the Parca instance, e.g., &lt;code&gt;http://localhost:4100&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;Basic Auth&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Enable basic authentication to the Parca data source.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;User&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;User name for basic authentication.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;Password&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Password for basic authentication.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;querying&#34;&gt;Querying&lt;/h2&gt;
&lt;h3 id=&#34;query-editor&#34;&gt;Query Editor&lt;/h3&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/parca/query-editor.png&#34;
  alt=&#34;Query editor&#34; width=&#34;1912&#34;
     height=&#34;286&#34;/&gt;&lt;/p&gt;
&lt;p&gt;Query editor gives you access to a profile type selector, a label selector, and collapsible options.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/parca/select-profile.png&#34;
  alt=&#34;Profile selector&#34; width=&#34;942&#34;
     height=&#34;374&#34;/&gt;&lt;/p&gt;
&lt;p&gt;Select a profile type from the drop-down menu. While the label selector can be left empty to query all profiles without filtering by labels, the profile type must be selected for the query to be valid. Grafana does not show any data if the profile type isn’t selected when a query is run.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/parca/labels-selector.png&#34;
  alt=&#34;Labels selector&#34; width=&#34;1914&#34;
     height=&#34;376&#34;/&gt;&lt;/p&gt;
&lt;p&gt;Use the labels selector input to filter by labels. Parca uses similar syntax to Prometheus to filter labels. Refer to &lt;a href=&#34;https://www.parca.dev/docs&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Parca documentation&lt;/a&gt; for available operators and syntax.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/parca/options-section.png&#34;
  alt=&#34;Options section&#34; width=&#34;1878&#34;
     height=&#34;374&#34;/&gt;&lt;/p&gt;
&lt;p&gt;Select a query type to return the profile data which can be shown in the 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/flame-graph/&#34;&gt;Flame Graph&lt;/a&gt;, metric data visualized in a graph, or both. You can only select both options in a dashboard, because panels allow only one visualization.&lt;/p&gt;
&lt;h3 id=&#34;profiles-query-results&#34;&gt;Profiles query results&lt;/h3&gt;
&lt;p&gt;Profiles can be visualized in a flame graph. See the 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/flame-graph/&#34;&gt;Flame Graph documentation&lt;/a&gt; to learn about the visualization and its features.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/parca/flame-graph.png&#34;
  alt=&#34;Flame graph&#34; width=&#34;1958&#34;
     height=&#34;1204&#34;/&gt;&lt;/p&gt;
&lt;p&gt;Parca returns profiles aggregated over a selected time range, and the absolute values in the flame graph grow as the time range gets bigger while keeping the relative values meaningful. You can zoom in on the time range to get a higher granularity profile up to the point of a single Parca scrape interval.&lt;/p&gt;
&lt;h3 id=&#34;metrics-query-results&#34;&gt;Metrics query results&lt;/h3&gt;
&lt;p&gt;Metrics results represent the aggregated value, over time, of the selected profile type. Parca returns ungrouped data with a series for each label combination.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/static/img/docs/parca/metric-graph.png&#34;
  alt=&#34;Metrics graph&#34; width=&#34;1942&#34;
     height=&#34;610&#34;/&gt;&lt;/p&gt;
&lt;p&gt;This allows you to quickly see any spikes in the value of the scraped profiles and zoom in to a particular time range.&lt;/p&gt;
&lt;h2 id=&#34;provision-the-parca-data-source&#34;&gt;Provision the Parca data source&lt;/h2&gt;
&lt;p&gt;You can modify the Grafana configuration files to provision the Parca data source. To learn more, and to view the available provisioning settings, see 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/provisioning/#datasources&#34;&gt;provisioning documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here is an example config:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;apiVersion: 1

datasources:
  - name: Parca
    type: parca
    url: http://localhost:3100&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="parca-data-source">Parca data source&lt;/h1>
&lt;p>Grafana ships with built-in support for Parca, a continuous profiling OSS database for analysis of CPU and memory usage, down to the line number and throughout time. Add it as a data source, and you are ready to query your profiles in
&lt;a href="/docs/grafana/v12.4/explore/">Explore&lt;/a>.&lt;/p></description></item><item><title>PostgreSQL data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/postgres/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/postgres/</guid><content><![CDATA[&lt;h1 id=&#34;postgresql-data-source&#34;&gt;PostgreSQL data source&lt;/h1&gt;
&lt;p&gt;Grafana includes a built-in PostgreSQL data source plugin, enabling you to query and visualize data from any PostgreSQL-compatible database. You don&amp;rsquo;t need to install a plugin to add the PostgreSQL data source to your Grafana instance.&lt;/p&gt;
&lt;p&gt;Grafana offers several configuration options for this data source as well as a visual and code-based query editor.&lt;/p&gt;
&lt;h2 id=&#34;supported-databases&#34;&gt;Supported databases&lt;/h2&gt;
&lt;p&gt;This data source supports the following PostgreSQL-compatible databases:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;PostgreSQL 9.0 and newer&lt;/li&gt;
&lt;li&gt;Amazon RDS for PostgreSQL&lt;/li&gt;
&lt;li&gt;Amazon Aurora PostgreSQL&lt;/li&gt;
&lt;li&gt;Azure Database for PostgreSQL&lt;/li&gt;
&lt;li&gt;Google Cloud SQL for PostgreSQL&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Grafana recommends using the latest available version for your database for optimal compatibility.&lt;/p&gt;
&lt;h2 id=&#34;key-capabilities&#34;&gt;Key capabilities&lt;/h2&gt;
&lt;p&gt;The PostgreSQL data source supports:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Time series queries:&lt;/strong&gt; Visualize metrics over time using built-in time grouping macros.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Table queries:&lt;/strong&gt; Display query results in table format for any valid SQL query.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Template variables:&lt;/strong&gt; Create dynamic dashboards with variable-driven queries.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Annotations:&lt;/strong&gt; Overlay events from PostgreSQL on your dashboard panels.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Alerting:&lt;/strong&gt; Create alerts based on PostgreSQL query results (time series format only).&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Macros:&lt;/strong&gt; Simplify queries with built-in macros for time filtering and grouping.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;get-started-with-the-postgresql-data-source&#34;&gt;Get started with the PostgreSQL data source&lt;/h2&gt;
&lt;p&gt;The following documents will help you get started with the PostgreSQL data source in Grafana:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/postgres/configure/&#34;&gt;Configure the PostgreSQL data source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/postgres/query-editor/&#34;&gt;PostgreSQL query editor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/postgres/template-variables/&#34;&gt;PostgreSQL template variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/postgres/annotations/&#34;&gt;PostgreSQL annotations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/postgres/alerting/&#34;&gt;PostgreSQL alerting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/postgres/troubleshooting/&#34;&gt;Troubleshooting&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;After you configure the data source, you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a variety of 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/&#34;&gt;visualizations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/postgres/annotations/&#34;&gt;annotations&lt;/a&gt; to overlay events on your panels&lt;/li&gt;
&lt;li&gt;Use 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/postgres/template-variables/&#34;&gt;template variables&lt;/a&gt; for dynamic dashboards&lt;/li&gt;
&lt;li&gt;Set up 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/postgres/alerting/&#34;&gt;alerting&lt;/a&gt; with time series queries (time series format only)&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/transform-data/&#34;&gt;transformations&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;View a PostgreSQL overview on Grafana Play:&lt;/p&gt;




  &lt;div class=&#34;d-sm-flex flex-direction-row-reverse bg-gray-1 br-12 p-2 my-1&#34;&gt;
    &lt;img class=&#34;mb-1 lazyload&#34; data-src=&#34;/media/docs/icons/docs-play.svg&#34; width=&#34;228&#34; height=&#34;182&#34; alt=&#34;Give it a try using Grafana Play&#34;&gt;
    &lt;div&gt;
      &lt;div class=&#34;h4 pt-0 pb-half fw-500&#34;&gt;Give it a try using Grafana Play&lt;/div&gt;
      &lt;p class=&#34;pr-1 pb-half&#34;&gt;With Grafana Play, you can explore and see how it works, learning from practical examples to accelerate your development.
This feature can be seen on &lt;a href=&#34;https://play.grafana.org/d/ddvpgdhiwjvuod/postgresql-overview&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;PostgreSQL Overview&lt;/a&gt;.&lt;/p&gt;
      &lt;div class=&#34;mx-auto&#34;&gt;
        &lt;a class=&#34;btn btn--primary btn--large arrow fw-600 br-8 w-175&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34; href=&#34;https://play.grafana.org/d/ddvpgdhiwjvuod/postgresql-overview&#34;&gt;Try it&lt;/a&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;

]]></content><description>&lt;h1 id="postgresql-data-source">PostgreSQL data source&lt;/h1>
&lt;p>Grafana includes a built-in PostgreSQL data source plugin, enabling you to query and visualize data from any PostgreSQL-compatible database. You don&amp;rsquo;t need to install a plugin to add the PostgreSQL data source to your Grafana instance.&lt;/p></description></item><item><title>Prometheus data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/prometheus/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/prometheus/</guid><content><![CDATA[&lt;h1 id=&#34;prometheus-data-source&#34;&gt;Prometheus data source&lt;/h1&gt;
&lt;p&gt;Prometheus is an open source database that uses a telemetry collector agent to scrape and store metrics used for monitoring and alerting.&lt;/p&gt;
&lt;p&gt;Grafana provides native support for Prometheus, so you don&amp;rsquo;t need to install a plugin.&lt;/p&gt;
&lt;p&gt;The following documentation will help you get started working with Prometheus and Grafana:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/fundamentals/intro-to-prometheus/&#34;&gt;What is Prometheus?&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://prometheus.io/docs/concepts/data_model/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Prometheus data model&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://prometheus.io/docs/prometheus/latest/getting_started/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Getting started&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/prometheus/configure/&#34;&gt;Configure the Prometheus data source&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;query-editor/&#34;&gt;Prometheus query editor&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;template-variables/&#34;&gt;Template variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;troubleshooting/&#34;&gt;Troubleshooting&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;exemplars&#34;&gt;Exemplars&lt;/h2&gt;
&lt;p&gt;In Prometheus, an &lt;strong&gt;exemplar&lt;/strong&gt; is a specific trace that represents a measurement taken within a given time interval. While metrics provide an aggregated view of your system, and traces offer a detailed view of individual requests, exemplars serve as a bridge between the two, linking high-level metrics to specific traces for deeper insights.&lt;/p&gt;
&lt;p&gt;Exemplars associate higher-cardinality metadata from a specific event with traditional time series data. Refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/fundamentals/exemplars/&#34;&gt;Introduction to exemplars&lt;/a&gt; in the Prometheus documentation for detailed information on how they work.&lt;/p&gt;
&lt;p&gt;Grafana can show exemplar data alongside a metric both in Explore and in Dashboards.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1834px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/static/img/docs/v74/exemplars.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/static/img/docs/v74/exemplars.png&#34;data-srcset=&#34;/static/img/docs/v74/exemplars.png?w=320 320w, /static/img/docs/v74/exemplars.png?w=550 550w, /static/img/docs/v74/exemplars.png?w=750 750w, /static/img/docs/v74/exemplars.png?w=900 900w, /static/img/docs/v74/exemplars.png?w=1040 1040w, /static/img/docs/v74/exemplars.png?w=1240 1240w, /static/img/docs/v74/exemplars.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Exemplar window&#34;width=&#34;1834&#34;height=&#34;840&#34;title=&#34;Exemplar window&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/v74/exemplars.png&#34;
            alt=&#34;Exemplar window&#34;width=&#34;1834&#34;height=&#34;840&#34;title=&#34;Exemplar window&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Exemplar window&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;You add exemplars when you configure the Prometheus data source.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 500px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link&#34;
        href=&#34;/static/img/docs/prometheus/exemplars-10-1.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload &#34;
          data-src=&#34;/static/img/docs/prometheus/exemplars-10-1.png&#34;data-srcset=&#34;/static/img/docs/prometheus/exemplars-10-1.png?w=320 320w, /static/img/docs/prometheus/exemplars-10-1.png?w=550 550w, /static/img/docs/prometheus/exemplars-10-1.png?w=750 750w, /static/img/docs/prometheus/exemplars-10-1.png?w=900 900w, /static/img/docs/prometheus/exemplars-10-1.png?w=1040 1040w, /static/img/docs/prometheus/exemplars-10-1.png?w=1240 1240w, /static/img/docs/prometheus/exemplars-10-1.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;&#34;width=&#34;746&#34;height=&#34;344&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/prometheus/exemplars-10-1.png&#34;
            alt=&#34;&#34;width=&#34;746&#34;height=&#34;344&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h2 id=&#34;prometheus-api&#34;&gt;Prometheus API&lt;/h2&gt;
&lt;p&gt;The Prometheus data source also works with other projects that implement the &lt;a href=&#34;https://prometheus.io/docs/prometheus/latest/querying/api/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Prometheus querying API&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;For more information on how to query other Prometheus-compatible projects from Grafana, refer to the specific product&amp;rsquo;s documentation:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href=&#34;/docs/mimir/latest/&#34;&gt;Grafana Mimir&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;https://thanos.io/tip/components/query.md/&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Thanos&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;view-grafana-metrics-with-prometheus&#34;&gt;View Grafana metrics with Prometheus&lt;/h2&gt;
&lt;p&gt;Grafana exposes metrics for Prometheus on the &lt;code&gt;/metrics&lt;/code&gt; endpoint and includes a pre-built dashboard to help you start visualizing your metrics immediately.&lt;/p&gt;
&lt;p&gt;Complete the following steps to import the pre-built dashboard:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to the Prometheus 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/prometheus/configure/&#34;&gt;configuration page&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Click the &lt;strong&gt;Dashboards&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Locate the &lt;strong&gt;Grafana metrics&lt;/strong&gt; dashboard in the list and click &lt;strong&gt;Import&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;For details about these metrics, refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/setup-grafana/set-up-grafana-monitoring/&#34;&gt;Internal Grafana metrics&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;amazon-managed-service-for-prometheus&#34;&gt;Amazon Managed Service for Prometheus&lt;/h2&gt;
&lt;p&gt;Grafana has deprecated the Prometheus data source for Amazon Managed Service for Prometheus. Use the &lt;a href=&#34;/grafana/plugins/grafana-amazonprometheus-datasource/&#34;&gt;Amazon Managed Service for Prometheus data source&lt;/a&gt; instead. The linked documentation outlines the migration steps.&lt;/p&gt;
&lt;h2 id=&#34;get-the-most-out-of-the-prometheus-data-source&#34;&gt;Get the most out of the Prometheus data source&lt;/h2&gt;
&lt;p&gt;After you install and configure Prometheus you can:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Create a wide variety of 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/&#34;&gt;visualizations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Configure and use 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/variables/&#34;&gt;templates and variables&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/transform-data/&#34;&gt;transformations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Add 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/annotate-visualizations/&#34;&gt;annotations&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Set up 
    &lt;a href=&#34;/docs/grafana/v12.4/alerting/&#34;&gt;alerting&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;Create 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/recorded-queries/&#34;&gt;recorded queries&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="prometheus-data-source">Prometheus data source&lt;/h1>
&lt;p>Prometheus is an open source database that uses a telemetry collector agent to scrape and store metrics used for monitoring and alerting.&lt;/p></description></item><item><title>Pyroscope</title><link>https://grafana.com/docs/grafana/v12.4/datasources/pyroscope/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/pyroscope/</guid><content><![CDATA[&lt;h1 id=&#34;grafana-pyroscope-data-source&#34;&gt;Grafana Pyroscope data source&lt;/h1&gt;
&lt;p&gt;Grafana Pyroscope is a horizontally scalable, highly available, multi-tenant, OSS, continuous profiling aggregation system.
Add a Pyroscope data source to query your profiles in 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Refer to 
    &lt;a href=&#34;/docs/pyroscope/latest/introduction/&#34;&gt;Introduction to Pyroscope&lt;/a&gt; to understand profiling and Pyroscope.&lt;/p&gt;
&lt;p&gt;To use profiling data, you should:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/pyroscope/latest/configure-client/&#34;&gt;Configure your application to send profiles&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;./configure-pyroscope-data-source/&#34;&gt;Configure the Grafana Pyroscope data source&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;&lt;a href=&#34;./query-profile-data/&#34;&gt;View and query profiling data using Profiles Drilldown or the query editor &lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;continuous-profiling&#34;&gt;Continuous profiling&lt;/h2&gt;
&lt;p&gt;While code profiling has been a long-standing practice, continuous profiling represents a modern and more advanced approach to performance monitoring.&lt;/p&gt;
&lt;p&gt;This technique adds two critical dimensions to traditional profiles:&lt;/p&gt;
&lt;dl&gt;
&lt;dt&gt;Time&lt;/dt&gt;
&lt;dd&gt;Profiling data is collected &lt;em&gt;continuously&lt;/em&gt;, providing a time-centric view that allows querying performance data from any point in the past.&lt;/dd&gt;
&lt;dt&gt;Metadata&lt;/dt&gt;
&lt;dd&gt;Profiles are enriched with metadata, adding contextual depth to the performance data.&lt;/dd&gt;
&lt;/dl&gt;
&lt;p&gt;These dimensions, coupled with the detailed nature of performance profiles, make continuous profiling a uniquely valuable tool.&lt;/p&gt;
&lt;h3 id=&#34;flame-graphs&#34;&gt;Flame graphs&lt;/h3&gt;
&lt;!-- vale Grafana.We = NO --&gt;
&lt;p&gt;Flame graphs help you visualize resource allocation and performance bottlenecks, and you even get suggested recommendations and performance fixes via AI-driven flame graph analysis, as well as line-level insights from our GitHub integration.&lt;/p&gt;
&lt;!-- vale Grafana.We = YES --&gt;
&lt;p&gt;On views with a flame graph, you can use &lt;strong&gt;Explain flame graph&lt;/strong&gt; to provide an AI flame graph analysis that explains the performance bottleneck, root cause, and recommended fix.
For more information, refer to &lt;a href=&#34;/docs/grafana-cloud/monitor-applications/profiles/flamegraph-ai/&#34;&gt;Flame graph AI&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;integrate-profiles-into-dashboards&#34;&gt;Integrate profiles into dashboards&lt;/h2&gt;
&lt;p&gt;Using the Pyroscope data source, you can integrate profiles into your dashboards.
For example, you can embed flame graphs using the 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/flame-graph/&#34;&gt;flame graph panel&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;In this case, the screenshot shows memory profiles alongside panels for logs and metrics to be able to debug out of memory (OOM) errors alongside the associated logs and metrics.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;https://grafana.com/static/img/pyroscope/grafana-pyroscope-dashboard-2023-11-30.png&#34;
  alt=&#34;dashboard&#34; width=&#34;1919&#34;
     height=&#34;936&#34;/&gt;&lt;/p&gt;
&lt;h2 id=&#34;visualize-traces-and-profiles-data-using-traces-to-profiles&#34;&gt;Visualize traces and profiles data using Traces to profiles&lt;/h2&gt;
&lt;p&gt;You can link profile and tracing data using your Pyroscope data source with the Tempo data source.
To learn more about how profiles and tracing can work together, refer to &lt;a href=&#34;./profiling-and-tracing/&#34;&gt;Profiling and tracing synergies&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Combined traces and profiles let you see granular line-level detail when available for a trace span. This allows you pinpoint the exact function that&amp;rsquo;s causing a bottleneck in your application as well as a specific request.&lt;/p&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;https://grafana.com/static/img/pyroscope/pyroscope-trace-profiler-view-2023-11-30.png&#34;
  alt=&#34;trace-profiler-view&#34; width=&#34;1421&#34;
     height=&#34;652&#34;/&gt;&lt;/p&gt;
&lt;p&gt;For more information, refer to the 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/configure-tempo-data-source/&#34;&gt;Traces to profile section&lt;/a&gt; and 
    &lt;a href=&#34;/docs/pyroscope/latest/configure-client/trace-span-profiles/&#34;&gt;Link tracing and profiling with span profiles&lt;/a&gt;.&lt;/p&gt;
&lt;iframe width=&#34;560&#34; height=&#34;315&#34; src=&#39;https://www.youtube.com/embed/AG8VzfFMLxo&#39; title=&#34;YouTube video player&#34; frameborder=&#34;0&#34; allow=&#34;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&#34; referrerpolicy=&#34;strict-origin-when-cross-origin&#34; allowfullscreen&gt;&lt;/iframe&gt;
&lt;h2 id=&#34;provision-the-pyroscope-data-source&#34;&gt;Provision the Pyroscope data source&lt;/h2&gt;
&lt;p&gt;You can modify the Grafana configuration files to provision the Pyroscope data source.
To learn more, and to view the available provisioning settings, refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/provisioning/#datasources&#34;&gt;provisioning documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;Here is an example configuration:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;apiVersion: 1

datasources:
  - name: Grafana Pyroscope
    type: grafana-pyroscope-datasource
    url: http://localhost:4040
    jsonData:
      minStep: &amp;#39;15s&amp;#39;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
]]></content><description>&lt;h1 id="grafana-pyroscope-data-source">Grafana Pyroscope data source&lt;/h1>
&lt;p>Grafana Pyroscope is a horizontally scalable, highly available, multi-tenant, OSS, continuous profiling aggregation system.
Add a Pyroscope data source to query your profiles in
&lt;a href="/docs/grafana/v12.4/explore/">Explore&lt;/a>.&lt;/p></description></item><item><title>Tempo data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/tempo/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/tempo/</guid><content><![CDATA[&lt;h1 id=&#34;tempo-data-source&#34;&gt;Tempo data source&lt;/h1&gt;
&lt;p&gt;Grafana ships with built-in support for 
    &lt;a href=&#34;/docs/tempo/latest/&#34;&gt;Tempo&lt;/a&gt;, a high-volume, minimal-dependency trace storage, open source tracing solution from Grafana Labs.&lt;/p&gt;
&lt;p&gt;To learn more about traces, refer to 
    &lt;a href=&#34;/docs/tempo/latest/introduction/&#34;&gt;Introduction to tracing&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;To use traces, you need you have an application or service that is instrumented to emit traces.
Refer to the 
    &lt;a href=&#34;/docs/tempo/latest/getting-started/instrumentation/&#34;&gt;Instrument for tracing&lt;/a&gt; for more information.&lt;/p&gt;
&lt;h2 id=&#34;add-a-data-source&#34;&gt;Add a data source&lt;/h2&gt;
&lt;p&gt;For instructions on how to add a data source to Grafana, refer to the 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/data-source-management/&#34;&gt;administration documentation&lt;/a&gt;.
Only users with the organization administrator role can add data sources.
Administrators can also 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/configure-tempo-data-source/#provision-the-data-source&#34;&gt;configure the data source via YAML&lt;/a&gt; with Grafana&amp;rsquo;s provisioning system.&lt;/p&gt;
&lt;p&gt;This video explains how to add data sources, including Loki, Tempo, and Mimir, to Grafana and Grafana Cloud. Tempo data source set up starts at 4:58 in the video.&lt;/p&gt;
&lt;iframe width=&#34;560&#34; height=&#34;315&#34; src=&#39;https://www.youtube.com/embed/cqHO0oYW6Ic&#39; title=&#34;YouTube video player&#34; frameborder=&#34;0&#34; allow=&#34;accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share&#34; referrerpolicy=&#34;strict-origin-when-cross-origin&#34; allowfullscreen&gt;&lt;/iframe&gt;
&lt;h2 id=&#34;learn-more&#34;&gt;Learn more&lt;/h2&gt;
&lt;p&gt;After you&amp;rsquo;ve added the data source, you can 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/configure-tempo-data-source/&#34;&gt;configure it&lt;/a&gt; so that your Grafana instance&amp;rsquo;s users can create queries in its 
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/query-editor/&#34;&gt;query editor&lt;/a&gt; when they 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/&#34;&gt;build dashboards&lt;/a&gt; and use 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt;.&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/configure-tempo-data-source/&#34;&gt;Configure the Tempo data source&lt;/a&gt;&lt;br&gt;Guide for configuring Tempo in Grafana&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/tracing-best-practices/&#34;&gt;Best practices for tracing&lt;/a&gt;&lt;br&gt;Use best practices to plan how you implement tracing.&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/traces-in-grafana/&#34;&gt;Use traces in Grafana&lt;/a&gt;&lt;br&gt;Learn about how you can use tracing data in Grafana Cloud to query data, generate metrics, and link your tracing data with logs, metrics, and profiles.&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/query-editor/&#34;&gt;Query tracing data&lt;/a&gt;&lt;br&gt;Guide for using the Tempo data source&amp;#39;s query editor&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/service-graph/&#34;&gt;Service Graph and Service Graph view&lt;/a&gt;&lt;br&gt;Use the Service Graph and Service Graph view&lt;/li&gt;&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v12.4/datasources/tempo/span-filters/&#34;&gt;Span filters&lt;/a&gt;&lt;br&gt;Use span filters to filter spans in the timeline viewer&lt;/li&gt;&lt;/ul&gt;
]]></content><description>&lt;h1 id="tempo-data-source">Tempo data source&lt;/h1>
&lt;p>Grafana ships with built-in support for
&lt;a href="/docs/tempo/latest/">Tempo&lt;/a>, a high-volume, minimal-dependency trace storage, open source tracing solution from Grafana Labs.&lt;/p>
&lt;p>To learn more about traces, refer to
&lt;a href="/docs/tempo/latest/introduction/">Introduction to tracing&lt;/a>.&lt;/p></description></item><item><title>TestData data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/testdata/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/testdata/</guid><content><![CDATA[&lt;h1 id=&#34;testdata-data-source&#34;&gt;TestData data source&lt;/h1&gt;
&lt;p&gt;Grafana ships with a TestData data source, which creates simulated time series data for any 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/&#34;&gt;panel&lt;/a&gt;.
You can use it to build your own fake and random time series data and render it in any panel, which helps you verify dashboard functionality since you can safely and easily share the data.&lt;/p&gt;
&lt;p&gt;For instructions on how to add a data source to Grafana, refer to the 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/data-source-management/&#34;&gt;administration documentation&lt;/a&gt;.
Only users with the organization administrator role can add data sources.&lt;/p&gt;
&lt;h2 id=&#34;configure-the-data-source&#34;&gt;Configure the data source&lt;/h2&gt;
&lt;p&gt;To configure basic settings for the data source, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Connections&lt;/strong&gt; in the left-side menu.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under Your connections, click &lt;strong&gt;Data sources&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter &lt;code&gt;TestData&lt;/code&gt; in the search bar.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;TestData&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Settings&lt;/strong&gt; tab of the data source is displayed. The data source doesn&amp;rsquo;t provide any settings beyond the most basic options common to all data sources:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Sets the name you use to refer to the data source in panels and queries.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Default&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines whether this data source is pre-selected for new panels.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;create-mock-data&#34;&gt;Create mock data&lt;/h2&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1208px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/grafana/data-sources/screenshot-testdata-add-10.0.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/grafana/data-sources/screenshot-testdata-add-10.0.png&#34;data-srcset=&#34;/media/docs/grafana/data-sources/screenshot-testdata-add-10.0.png?w=320 320w, /media/docs/grafana/data-sources/screenshot-testdata-add-10.0.png?w=550 550w, /media/docs/grafana/data-sources/screenshot-testdata-add-10.0.png?w=750 750w, /media/docs/grafana/data-sources/screenshot-testdata-add-10.0.png?w=900 900w, /media/docs/grafana/data-sources/screenshot-testdata-add-10.0.png?w=1040 1040w, /media/docs/grafana/data-sources/screenshot-testdata-add-10.0.png?w=1240 1240w, /media/docs/grafana/data-sources/screenshot-testdata-add-10.0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Adding test data&#34;width=&#34;1208&#34;height=&#34;388&#34;title=&#34;Adding test data&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/grafana/data-sources/screenshot-testdata-add-10.0.png&#34;
            alt=&#34;Adding test data&#34;width=&#34;1208&#34;height=&#34;388&#34;title=&#34;Adding test data&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Adding test data&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;Once you&amp;rsquo;ve added the TestData data source, your Grafana instance&amp;rsquo;s users can use it as a data source in any metric panel.&lt;/p&gt;
&lt;h3 id=&#34;choose-a-scenario&#34;&gt;Choose a scenario&lt;/h3&gt;
&lt;p&gt;Instead of providing a query editor, the TestData data source helps you select a &lt;strong&gt;Scenario&lt;/strong&gt; that generates simulated data for panels.&lt;/p&gt;
&lt;p&gt;You can assign an &lt;strong&gt;Alias&lt;/strong&gt; to each scenario, and many have their own options that appear when selected.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1196px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/media/docs/grafana/data-sources/screenshot-testdata-csv-example-10.0.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/media/docs/grafana/data-sources/screenshot-testdata-csv-example-10.0.png&#34;data-srcset=&#34;/media/docs/grafana/data-sources/screenshot-testdata-csv-example-10.0.png?w=320 320w, /media/docs/grafana/data-sources/screenshot-testdata-csv-example-10.0.png?w=550 550w, /media/docs/grafana/data-sources/screenshot-testdata-csv-example-10.0.png?w=750 750w, /media/docs/grafana/data-sources/screenshot-testdata-csv-example-10.0.png?w=900 900w, /media/docs/grafana/data-sources/screenshot-testdata-csv-example-10.0.png?w=1040 1040w, /media/docs/grafana/data-sources/screenshot-testdata-csv-example-10.0.png?w=1240 1240w, /media/docs/grafana/data-sources/screenshot-testdata-csv-example-10.0.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Using CSV Metric Values&#34;width=&#34;1196&#34;height=&#34;628&#34;title=&#34;Using CSV Metric Values&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/media/docs/grafana/data-sources/screenshot-testdata-csv-example-10.0.png&#34;
            alt=&#34;Using CSV Metric Values&#34;width=&#34;1196&#34;height=&#34;628&#34;title=&#34;Using CSV Metric Values&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Using CSV Metric Values&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;p&gt;&lt;strong&gt;Available scenarios:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Annotations&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Conditional Error&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CSV Content&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CSV File&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;CSV Metric Values&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Datapoints Outside Range&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Exponential heatmap bucket data&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Flame Graph&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Grafana API&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Grafana Live&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Linear heatmap bucket data&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Load Apache Arrow Data&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Logs&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No Data Points&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Node Graph&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Predictable CSV Wave&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Predictable Pulse&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Random Walk&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Random Walk (with error)&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Random Walk Table&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Raw Frames&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Simulation&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Slow Query&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Streaming Client&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Table Static&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Trace&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;USA generated data&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;import-a-pre-configured-dashboard&#34;&gt;Import a pre-configured dashboard&lt;/h2&gt;
&lt;p&gt;TestData also provides an example dashboard.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;To import the example dashboard:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to the data source&amp;rsquo;s &lt;a href=&#34;#configure-the-data-source&#34;&gt;configuration page&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Select the &lt;strong&gt;Dashboards&lt;/strong&gt; tab.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Import&lt;/strong&gt; for the &lt;strong&gt;Simple Streaming Example&lt;/strong&gt; dashboard.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;&lt;strong&gt;To customize an imported dashboard:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;To customize the imported dashboard, we recommend that you save it under a different name.
If you don&amp;rsquo;t, upgrading Grafana can overwrite the customized dashboard with the new version.&lt;/p&gt;
&lt;h2 id=&#34;use-test-data-to-report-issues&#34;&gt;Use test data to report issues&lt;/h2&gt;
&lt;p&gt;If you report an issue on GitHub involving the use or rendering of time series data, we strongly recommend that you use this data source to replicate the issue.
That makes it much easier for the developers to replicate and solve your issue.&lt;/p&gt;
&lt;h2 id=&#34;use-a-custom-version-of-testdata&#34;&gt;Use a custom version of TestData&lt;/h2&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;This feature is experimental and requires Grafana version 10.3.0 or later.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;If you want to use a version of TestData different from the one shipped with Grafana, follow these steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Set the configuration field &lt;code&gt;as_external&lt;/code&gt; for the plugin to &lt;code&gt;true&lt;/code&gt;. An example configuration would be:&lt;/p&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;ini&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-ini&#34;&gt;[plugin.grafana-testdata-datasource]
as_external = true&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Restart Grafana.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;These settings, if enabled, allow you to to install TestData as an external plugin and manage its lifecycle independently of Grafana.&lt;/p&gt;
&lt;p&gt;With the feature toggle disabled (default) TestData can still be installed as an external plugin, but it has no effect as the bundled, Core version of TestData is already installed and takes precedence.&lt;/p&gt;
]]></content><description>&lt;h1 id="testdata-data-source">TestData data source&lt;/h1>
&lt;p>Grafana ships with a TestData data source, which creates simulated time series data for any
&lt;a href="/docs/grafana/v12.4/panels-visualizations/">panel&lt;/a>.
You can use it to build your own fake and random time series data and render it in any panel, which helps you verify dashboard functionality since you can safely and easily share the data.&lt;/p></description></item><item><title>Zipkin data source</title><link>https://grafana.com/docs/grafana/v12.4/datasources/zipkin/</link><pubDate>Fri, 03 Apr 2026 19:43:06 +0000</pubDate><guid>https://grafana.com/docs/grafana/v12.4/datasources/zipkin/</guid><content><![CDATA[&lt;h1 id=&#34;zipkin-data-source&#34;&gt;Zipkin data source&lt;/h1&gt;
&lt;p&gt;Grafana ships with built-in support for Zipkin, an open source, distributed tracing system. This topic explains configuration and queries specific to the Zipkin data source.&lt;/p&gt;
&lt;p&gt;For instructions on how to add a data source to Grafana, refer to the 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/data-source-management/&#34;&gt;administration documentation&lt;/a&gt;.
Only users with the organization administrator role can add data sources.
Administrators can also &lt;a href=&#34;#provision-the-data-source&#34;&gt;configure the data source via YAML&lt;/a&gt; with Grafana&amp;rsquo;s provisioning system.&lt;/p&gt;
&lt;p&gt;Once you&amp;rsquo;ve added the Zipkin data source, you can &lt;a href=&#34;#configure-the-data-source&#34;&gt;configure it&lt;/a&gt; so that your Grafana instance&amp;rsquo;s users can create queries in its &lt;a href=&#34;#query-the-data-source&#34;&gt;query editor&lt;/a&gt; when they 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/build-dashboards/&#34;&gt;build dashboards&lt;/a&gt; and use 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You can also &lt;a href=&#34;#upload-a-json-trace-file&#34;&gt;upload a JSON trace file&lt;/a&gt;, &lt;a href=&#34;#link-to-a-trace-id-from-logs&#34;&gt;link to a trace ID from logs&lt;/a&gt;, and &lt;a href=&#34;#link-to-a-trace-id-from-metrics&#34;&gt;link to a trace ID from metrics&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;configure-the-data-source&#34;&gt;Configure the data source&lt;/h2&gt;
&lt;p&gt;To configure basic settings for the data source, complete the following steps:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Click &lt;strong&gt;Connections&lt;/strong&gt; in the left-side menu.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Under Your connections, click &lt;strong&gt;Data sources&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter &lt;code&gt;Zipkin&lt;/code&gt; in the search bar.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;Zipkin&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;The &lt;strong&gt;Settings&lt;/strong&gt; tab of the data source is displayed.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set the data source&amp;rsquo;s basic configuration options:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Name&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Sets the name you use to refer to the data source in panels and queries.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Default&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines whether this data source is pre-selected for new panels.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;URL&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Sets the URL of the Zipkin instance, such as &lt;code&gt;http://localhost:9411&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Basic Auth&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Enables basic authentication for the Zipkin data source.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;User&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines the user name for basic authentication.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Password&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines the password for basic authentication.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;trace-to-logs&#34;&gt;Trace to logs&lt;/h3&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/media/docs/tempo/tempo-trace-to-logs-9-4.png&#34;
  alt=&#34;Trace to logs settings&#34; width=&#34;1219&#34;
     height=&#34;852&#34;/&gt;&lt;/p&gt;


&lt;div class=&#34;admonition admonition-note&#34;&gt;&lt;blockquote&gt;&lt;p class=&#34;title text-uppercase&#34;&gt;Note&lt;/p&gt;&lt;p&gt;If you use Grafana Cloud, open a &lt;a href=&#34;/profile/org#support&#34;&gt;support ticket in the Cloud Portal&lt;/a&gt; to access this feature.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;p&gt;The &lt;strong&gt;Trace to logs&lt;/strong&gt; setting configures the 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/trace-integration/&#34;&gt;trace to logs feature&lt;/a&gt; that is available when you integrate Grafana with Zipkin.&lt;/p&gt;
&lt;p&gt;There are two ways to configure the trace to logs feature:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Use a simplified configuration with default query, or&lt;/li&gt;
&lt;li&gt;Configure a custom query where you can use a 
    &lt;a href=&#34;/docs/grafana/v12.4/dashboards/variables/variable-syntax/&#34;&gt;template language&lt;/a&gt; to interpolate variables from the trace or span.&lt;/li&gt;
&lt;/ul&gt;
&lt;h4 id=&#34;use-a-simple-configuration&#34;&gt;Use a simple configuration&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the target data source from the drop-down list.&lt;/p&gt;
&lt;p&gt;You can also click &lt;strong&gt;Open advanced data source picker&lt;/strong&gt; to see more options, including adding a data source.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set start and end time shift. As the logs timestamps may not exactly match the timestamps of the spans in trace it may be necessary to search in larger or shifted time range to find the desired logs.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Select which tags to use in the logs query. The tags you configure must be present in the spans attributes or resources for a trace to logs span link to appear. You can optionally configure a new name for the tag. This is useful if the tag has dots in the name and the target data source does not allow using dots in labels. In that case, you can for example remap &lt;code&gt;http.status&lt;/code&gt; to &lt;code&gt;http_status&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Optionally, switch on the &lt;strong&gt;Filter by trace ID&lt;/strong&gt; and/or &lt;strong&gt;Filter by span ID&lt;/strong&gt; setting to further filter the logs if your logs consistently contain trace or span IDs.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;configure-a-custom-query&#34;&gt;Configure a custom query&lt;/h4&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the target data source from the drop-down list.&lt;/p&gt;
&lt;p&gt;You can also click &lt;strong&gt;Open advanced data source picker&lt;/strong&gt; to see more options, including adding a data source.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set start and end time shift. Since the logs timestamps may not exactly match the timestamps of the spans in the trace, you may need to widen or shift the time range to find the desired logs.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Optionally, select tags to map. These tags can be used in the custom query with &lt;code&gt;${__tags}&lt;/code&gt; variable. This variable will interpolate the mapped tags as list in an appropriate syntax for the data source and will only include the tags that were present in the span omitting those that weren&amp;rsquo;t present. You can optionally configure a new name for the tag. This is useful when the tag has dots in the name and the target data source does not allow using dots in labels. For example, you can remap &lt;code&gt;http.status&lt;/code&gt; to &lt;code&gt;http_status&lt;/code&gt;. If you don&amp;rsquo;t map any tags here, you can still use any tag in the query like this &lt;code&gt;method=&amp;quot;${__span.tags.method}&amp;quot;&lt;/code&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Skip &lt;strong&gt;Filter by trace ID&lt;/strong&gt; and &lt;strong&gt;Filter by span ID&lt;/strong&gt; settings as these cannot be used with a custom query.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Switch on &lt;strong&gt;Use custom query&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Specify a custom query to be used to query the logs. You can use various variables to make that query relevant for current span. The link will only be shown only if all the variables are interpolated with non-empty values to prevent creating an invalid query.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h4 id=&#34;variables-that-can-be-used-in-a-custom-query&#34;&gt;Variables that can be used in a custom query&lt;/h4&gt;
&lt;p&gt;To use a variable you need to wrap it in &lt;code&gt;${}&lt;/code&gt;. For example &lt;code&gt;${__span.name}&lt;/code&gt;.&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Variable name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__tags&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;This variable uses the tag mapping from the UI to create a label matcher string in the specific data source syntax. The variable only uses tags that are present in the span. The link is still created even if only one of those tags is present in the span. You can use this if all tags are not required for the query to be useful.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__span.spanId&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The ID of the span.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__span.traceId&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The ID of the trace.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__span.duration&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The duration of the span.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__span.name&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Name of the span.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__span.tags&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Namespace for the tags in the span. To access a specific tag named &lt;code&gt;version&lt;/code&gt;, you would use &lt;code&gt;${__span.tags.version}&lt;/code&gt;. In case the tag contains dot, you have to access it as &lt;code&gt;${__span.tags[&amp;quot;http.status&amp;quot;]}&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__trace.traceId&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The ID of the trace.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__trace.duration&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The duration of the trace.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;__trace.name&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The name of the trace.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;The following table describes the ways in which you can configure your trace to logs settings:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Setting name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Data source&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines the target data source. You can select only Loki or Splunk logs data sources.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Span start time shift&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Shifts the start time for the logs query, based on the span&amp;rsquo;s start time. You can use time units, such as &lt;code&gt;5s&lt;/code&gt;, &lt;code&gt;1m&lt;/code&gt;, &lt;code&gt;3h&lt;/code&gt;. To extend the time to the past, use a negative value. Default: &lt;code&gt;0&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Span end time shift&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Shifts the end time for the logs query, based on the span&amp;rsquo;s end time. You can use time units. Default: &lt;code&gt;0&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Tags&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines the tags to use in the logs query. Default: &lt;code&gt;cluster&lt;/code&gt;, &lt;code&gt;hostname&lt;/code&gt;, &lt;code&gt;namespace&lt;/code&gt;, &lt;code&gt;pod&lt;/code&gt;, &lt;code&gt;service.name&lt;/code&gt;, &lt;code&gt;service.namespace&lt;/code&gt;. You can change the tag name for example to remove dots from the name if they are not allowed in the target data source. For example, map &lt;code&gt;http.status&lt;/code&gt; to &lt;code&gt;http_status&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Filter by trace ID&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Toggles whether to append the trace ID to the logs query.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Filter by span ID&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Toggles whether to append the span ID to the logs query.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Use custom query&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Toggles use of custom query with interpolation.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Query&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Input to write custom query. Use variable interpolation to customize it with variables from span.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;trace-to-metrics&#34;&gt;Trace to metrics&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;Trace to metrics&lt;/strong&gt; setting configures the &lt;a href=&#34;/blog/2022/08/18/new-in-grafana-9.1-trace-to-metrics-allows-users-to-navigate-from-a-trace-span-to-a-selected-data-source/&#34;&gt;trace to metrics feature&lt;/a&gt; available when integrating Grafana with Zipkin.&lt;/p&gt;
&lt;p&gt;To configure trace to metrics:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select the target data source from the drop-down list.&lt;/p&gt;
&lt;p&gt;You can also click &lt;strong&gt;Open advanced data source picker&lt;/strong&gt; to see more options, including adding a data source.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Create any desired linked queries.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Setting name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Data source&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines the target data source.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Tags&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Defines the tags used in linked queries. The key sets the span attribute name, and the optional value sets the corresponding metric label name. For example, you can map &lt;code&gt;k8s.pod&lt;/code&gt; to &lt;code&gt;pod&lt;/code&gt;. To interpolate these tags into queries, use the &lt;code&gt;$__tags&lt;/code&gt; keyword.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Each linked query consists of:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Link Label:&lt;/strong&gt; &lt;em&gt;(Optional)&lt;/em&gt; Descriptive label for the linked query.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Query:&lt;/strong&gt; The query ran when navigating from a trace to the metrics data source.
Interpolate tags using the &lt;code&gt;$__tags&lt;/code&gt; keyword.
For example, when you configure the query &lt;code&gt;requests_total{$__tags}&lt;/code&gt;with the tags &lt;code&gt;k8s.pod=pod&lt;/code&gt; and &lt;code&gt;cluster&lt;/code&gt;, the result looks like &lt;code&gt;requests_total{pod=&amp;quot;nginx-554b9&amp;quot;, cluster=&amp;quot;us-east-1&amp;quot;}&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;node-graph&#34;&gt;Node Graph&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;Node Graph&lt;/strong&gt; setting enables the 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/visualizations/node-graph/&#34;&gt;Node Graph visualization&lt;/a&gt;, which is disabled by default.&lt;/p&gt;
&lt;p&gt;Once enabled, Grafana displays the Node Graph after loading the trace view.&lt;/p&gt;
&lt;h3 id=&#34;span-bar&#34;&gt;Span bar&lt;/h3&gt;
&lt;p&gt;The &lt;strong&gt;Span bar&lt;/strong&gt; setting helps you display additional information in the span bar row.&lt;/p&gt;
&lt;p&gt;You can choose one of three options:&lt;/p&gt;
&lt;section class=&#34;expand-table-wrapper&#34;&gt;&lt;div class=&#34;button-div&#34;&gt;
      &lt;button class=&#34;expand-table-btn&#34;&gt;Expand table&lt;/button&gt;
    &lt;/div&gt;&lt;div class=&#34;responsive-table-wrapper&#34;&gt;
    &lt;table&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th&gt;Name&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;None&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Adds nothing to the span bar row.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Duration&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;&lt;em&gt;(Default)&lt;/em&gt; Displays the span duration on the span bar row.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Tag&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Displays the span tag on the span bar row. You must also specify which tag key to use to get the tag value, such as &lt;code&gt;component&lt;/code&gt;.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;provision-the-data-source&#34;&gt;Provision the data source&lt;/h3&gt;
&lt;p&gt;You can define and configure the data source in YAML files as part of Grafana&amp;rsquo;s provisioning system.
For more information about provisioning and available configuration options, refer to 
    &lt;a href=&#34;/docs/grafana/v12.4/administration/provisioning/#data-sources&#34;&gt;Provisioning Grafana&lt;/a&gt;.&lt;/p&gt;
&lt;h4 id=&#34;provisioning-example&#34;&gt;Provisioning example&lt;/h4&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;YAML&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-yaml&#34;&gt;apiVersion: 1

datasources:
  - name: Zipkin
    type: zipkin
    uid: EbPG8fYoz
    url: http://localhost:16686
    access: proxy
    basicAuth: true
    basicAuthUser: my_user
    readOnly: true
    isDefault: false
    jsonData:
      tracesToLogsV2:
        # Field with an internal link pointing to a logs data source in Grafana.
        # datasourceUid value must match the uid value of the logs data source.
        datasourceUid: &amp;#39;loki&amp;#39;
        spanStartTimeShift: &amp;#39;1h&amp;#39;
        spanEndTimeShift: &amp;#39;-1h&amp;#39;
        tags: [&amp;#39;job&amp;#39;, &amp;#39;instance&amp;#39;, &amp;#39;pod&amp;#39;, &amp;#39;namespace&amp;#39;]
        filterByTraceID: false
        filterBySpanID: false
        customQuery: true
        query: &amp;#39;method=&amp;#34;$${__span.tags.method}&amp;#34;&amp;#39;
      tracesToMetrics:
        datasourceUid: &amp;#39;prom&amp;#39;
        spanStartTimeShift: &amp;#39;1h&amp;#39;
        spanEndTimeShift: &amp;#39;-1h&amp;#39;
        tags: [{ key: &amp;#39;service.name&amp;#39;, value: &amp;#39;service&amp;#39; }, { key: &amp;#39;job&amp;#39; }]
        queries:
          - name: &amp;#39;Sample query&amp;#39;
            query: &amp;#39;sum(rate(traces_spanmetrics_latency_bucket{$$__tags}[5m]))&amp;#39;
      nodeGraph:
        enabled: true
      traceQuery:
        timeShiftEnabled: true
        spanStartTimeShift: &amp;#39;1h&amp;#39;
        spanEndTimeShift: &amp;#39;-1h&amp;#39;
      spanBar:
        type: &amp;#39;None&amp;#39;
    secureJsonData:
      basicAuthPassword: my_password&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;query-the-data-source&#34;&gt;Query the data source&lt;/h2&gt;
&lt;p&gt;You can query and display traces from Zipkin via 
    &lt;a href=&#34;/docs/grafana/v12.4/explore/&#34;&gt;Explore&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This topic explains configuration and queries specific to the Zipkin data source.
For general documentation on querying data sources in Grafana, see 
    &lt;a href=&#34;/docs/grafana/v12.4/panels-visualizations/query-transform-data/&#34;&gt;Query and transform data&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;query-by-trace-id&#34;&gt;Query by trace ID&lt;/h3&gt;
&lt;p&gt;To query a particular trace:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Select the &lt;strong&gt;TraceID&lt;/strong&gt; query type.&lt;/li&gt;
&lt;li&gt;Enter the trace&amp;rsquo;s ID into the &lt;strong&gt;Trace ID&lt;/strong&gt; field.&lt;/li&gt;
&lt;/ol&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1468px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/static/img/docs/v70/zipkin-query-editor.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/static/img/docs/v70/zipkin-query-editor.png&#34;data-srcset=&#34;/static/img/docs/v70/zipkin-query-editor.png?w=320 320w, /static/img/docs/v70/zipkin-query-editor.png?w=550 550w, /static/img/docs/v70/zipkin-query-editor.png?w=750 750w, /static/img/docs/v70/zipkin-query-editor.png?w=900 900w, /static/img/docs/v70/zipkin-query-editor.png?w=1040 1040w, /static/img/docs/v70/zipkin-query-editor.png?w=1240 1240w, /static/img/docs/v70/zipkin-query-editor.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the Zipkin query editor&#34;width=&#34;1468&#34;height=&#34;230&#34;title=&#34;Screenshot of the Zipkin query editor&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/v70/zipkin-query-editor.png&#34;
            alt=&#34;Screenshot of the Zipkin query editor&#34;width=&#34;1468&#34;height=&#34;230&#34;title=&#34;Screenshot of the Zipkin query editor&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Screenshot of the Zipkin query editor&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;query-by-trace-selector&#34;&gt;Query by trace selector&lt;/h3&gt;
&lt;p&gt;To select a particular trace from all traces logged in the time range you have selected in Explore, you can also query by trace selector.
The trace selector has three levels of nesting:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The service you&amp;rsquo;re interested in.&lt;/li&gt;
&lt;li&gt;Particular operation, part of the selected service&lt;/li&gt;
&lt;li&gt;Specific trace in which the selected operation occurred, represented by the root operation name and trace duration&lt;/li&gt;
&lt;/ul&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1468px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/static/img/docs/v70/zipkin-query-editor-open.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/static/img/docs/v70/zipkin-query-editor-open.png&#34;data-srcset=&#34;/static/img/docs/v70/zipkin-query-editor-open.png?w=320 320w, /static/img/docs/v70/zipkin-query-editor-open.png?w=550 550w, /static/img/docs/v70/zipkin-query-editor-open.png?w=750 750w, /static/img/docs/v70/zipkin-query-editor-open.png?w=900 900w, /static/img/docs/v70/zipkin-query-editor-open.png?w=1040 1040w, /static/img/docs/v70/zipkin-query-editor-open.png?w=1240 1240w, /static/img/docs/v70/zipkin-query-editor-open.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the Zipkin query editor with trace selector expanded&#34;width=&#34;1468&#34;height=&#34;528&#34;title=&#34;Screenshot of the Zipkin query editor with trace selector expanded&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/v70/zipkin-query-editor-open.png&#34;
            alt=&#34;Screenshot of the Zipkin query editor with trace selector expanded&#34;width=&#34;1468&#34;height=&#34;528&#34;title=&#34;Screenshot of the Zipkin query editor with trace selector expanded&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Screenshot of the Zipkin query editor with trace selector expanded&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h2 id=&#34;view-data-mapping-in-the-trace-ui&#34;&gt;View data mapping in the trace UI&lt;/h2&gt;
&lt;p&gt;You can view Zipkin annotations in the trace view as logs with annotation value displayed under the annotation key.&lt;/p&gt;
&lt;h2 id=&#34;upload-a-json-trace-file&#34;&gt;Upload a JSON trace file&lt;/h2&gt;
&lt;p&gt;You can upload a JSON file that contains a single trace and visualize it.
If the file has multiple traces, Grafana visualizes its first trace.&lt;/p&gt;
&lt;figure
    class=&#34;figure-wrapper figure-wrapper__lightbox w-100p docs-image--no-shadow&#34;
    style=&#34;max-width: 1857px;&#34;
    itemprop=&#34;associatedMedia&#34;
    itemscope=&#34;&#34;
    itemtype=&#34;http://schema.org/ImageObject&#34;
  &gt;&lt;a
        class=&#34;lightbox-link captioned&#34;
        href=&#34;/static/img/docs/explore/zipkin-upload-json.png&#34;
        itemprop=&#34;contentUrl&#34;
      &gt;&lt;div class=&#34;img-wrapper w-100p h-auto&#34;&gt;&lt;img
          class=&#34;lazyload mb-0&#34;
          data-src=&#34;/static/img/docs/explore/zipkin-upload-json.png&#34;data-srcset=&#34;/static/img/docs/explore/zipkin-upload-json.png?w=320 320w, /static/img/docs/explore/zipkin-upload-json.png?w=550 550w, /static/img/docs/explore/zipkin-upload-json.png?w=750 750w, /static/img/docs/explore/zipkin-upload-json.png?w=900 900w, /static/img/docs/explore/zipkin-upload-json.png?w=1040 1040w, /static/img/docs/explore/zipkin-upload-json.png?w=1240 1240w, /static/img/docs/explore/zipkin-upload-json.png?w=1920 1920w&#34;data-sizes=&#34;auto&#34;alt=&#34;Screenshot of the Zipkin data source in explore with upload selected&#34;width=&#34;1857&#34;height=&#34;548&#34;title=&#34;Screenshot of the Zipkin data source in explore with upload selected&#34;/&gt;
        &lt;noscript&gt;
          &lt;img
            src=&#34;/static/img/docs/explore/zipkin-upload-json.png&#34;
            alt=&#34;Screenshot of the Zipkin data source in explore with upload selected&#34;width=&#34;1857&#34;height=&#34;548&#34;title=&#34;Screenshot of the Zipkin data source in explore with upload selected&#34;class=&#34;docs-image--no-shadow&#34;/&gt;
        &lt;/noscript&gt;&lt;/div&gt;&lt;figcaption class=&#34;w-100p caption text-gray-13  &#34;&gt;Screenshot of the Zipkin data source in explore with upload selected&lt;/figcaption&gt;&lt;/a&gt;&lt;/figure&gt;
&lt;h3 id=&#34;trace-json-example&#34;&gt;Trace JSON example&lt;/h3&gt;

&lt;div class=&#34;code-snippet &#34;&gt;&lt;div class=&#34;lang-toolbar&#34;&gt;
    &lt;span class=&#34;lang-toolbar__item lang-toolbar__item-active&#34;&gt;JSON&lt;/span&gt;
    &lt;span class=&#34;code-clipboard&#34;&gt;
      &lt;button x-data=&#34;app_code_snippet()&#34; x-init=&#34;init()&#34; @click=&#34;copy()&#34;&gt;
        &lt;img class=&#34;code-clipboard__icon&#34; src=&#34;/media/images/icons/icon-copy-small-2.svg&#34; alt=&#34;Copy code to clipboard&#34; width=&#34;14&#34; height=&#34;13&#34;&gt;
        &lt;span&gt;Copy&lt;/span&gt;
      &lt;/button&gt;
    &lt;/span&gt;
    &lt;div class=&#34;lang-toolbar__border&#34;&gt;&lt;/div&gt;
  &lt;/div&gt;&lt;div class=&#34;code-snippet &#34;&gt;
    &lt;pre data-expanded=&#34;false&#34;&gt;&lt;code class=&#34;language-json&#34;&gt;[
  {
    &amp;#34;traceId&amp;#34;: &amp;#34;efe9cb8857f68c8f&amp;#34;,
    &amp;#34;parentId&amp;#34;: &amp;#34;efe9cb8857f68c8f&amp;#34;,
    &amp;#34;id&amp;#34;: &amp;#34;8608dc6ce5cafe8e&amp;#34;,
    &amp;#34;kind&amp;#34;: &amp;#34;SERVER&amp;#34;,
    &amp;#34;name&amp;#34;: &amp;#34;get /api&amp;#34;,
    &amp;#34;timestamp&amp;#34;: 1627975249601797,
    &amp;#34;duration&amp;#34;: 23457,
    &amp;#34;localEndpoint&amp;#34;: { &amp;#34;serviceName&amp;#34;: &amp;#34;backend&amp;#34;, &amp;#34;ipv4&amp;#34;: &amp;#34;127.0.0.1&amp;#34;, &amp;#34;port&amp;#34;: 9000 },
    &amp;#34;tags&amp;#34;: {
      &amp;#34;http.method&amp;#34;: &amp;#34;GET&amp;#34;,
      &amp;#34;http.path&amp;#34;: &amp;#34;/api&amp;#34;,
      &amp;#34;jaxrs.resource.class&amp;#34;: &amp;#34;Resource&amp;#34;,
      &amp;#34;jaxrs.resource.method&amp;#34;: &amp;#34;printDate&amp;#34;
    },
    &amp;#34;shared&amp;#34;: true
  }
]&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;span-filters&#34;&gt;Span Filters&lt;/h2&gt;
&lt;p&gt;&lt;img
  class=&#34;lazyload d-inline-block&#34;
  data-src=&#34;/media/docs/tempo/screenshot-grafana-tempo-span-filters-v10-1.png&#34;
  alt=&#34;Screenshot of span filtering&#34; width=&#34;833&#34;
     height=&#34;239&#34;/&gt;&lt;/p&gt;
&lt;p&gt;Using span filters, you can filter your spans in the trace timeline viewer. The more filters you add, the more specific are the filtered spans.&lt;/p&gt;
&lt;p&gt;You can add one or more of the following filters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Service name&lt;/li&gt;
&lt;li&gt;Span name&lt;/li&gt;
&lt;li&gt;Duration&lt;/li&gt;
&lt;li&gt;Tags (which include tags, process tags, and log fields)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To only show the spans you have matched, you can press the &lt;code&gt;Show matches only&lt;/code&gt; toggle.&lt;/p&gt;
&lt;h2 id=&#34;link-to-a-trace-id-from-logs&#34;&gt;Link to a trace ID from logs&lt;/h2&gt;
&lt;p&gt;You can link to Zipkin traces from logs in Loki, Elasticsearch, Splunk, and other logs data sources by configuring an internal link.&lt;/p&gt;
&lt;p&gt;To configure this feature, see the &lt;a href=&#34;../loki/#configure-derived-fields&#34;&gt;Derived fields&lt;/a&gt; section of the Loki data source docs or the &lt;a href=&#34;../elasticsearch/#data-links&#34;&gt;Data links&lt;/a&gt; section of the Elasticsearch or Splunk data source docs.&lt;/p&gt;
&lt;h2 id=&#34;link-to-a-trace-id-from-metrics&#34;&gt;Link to a trace ID from metrics&lt;/h2&gt;
&lt;p&gt;You can link to Zipkin traces from metrics in Prometheus data sources by configuring an exemplar.&lt;/p&gt;
&lt;p&gt;To configure this feature, see the &lt;a href=&#34;../../fundamentals/exemplars/&#34;&gt;introduction to exemplars&lt;/a&gt; documentation.&lt;/p&gt;
]]></content><description>&lt;h1 id="zipkin-data-source">Zipkin data source&lt;/h1>
&lt;p>Grafana ships with built-in support for Zipkin, an open source, distributed tracing system. This topic explains configuration and queries specific to the Zipkin data source.&lt;/p></description></item></channel></rss>