<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Parca data source on Grafana Labs</title><link>https://grafana.com/docs/grafana/v13.0/datasources/parca/</link><description>Recent content in Parca data source on Grafana Labs</description><generator>Hugo -- gohugo.io</generator><language>en</language><atom:link href="/docs/grafana/v13.0/datasources/parca/index.xml" rel="self" type="application/rss+xml"/><item><title>Configure the Parca data source</title><link>https://grafana.com/docs/grafana/v13.0/datasources/parca/configure/</link><pubDate>Wed, 22 Apr 2026 07:04:01 +0000</pubDate><guid>https://grafana.com/docs/grafana/v13.0/datasources/parca/configure/</guid><content><![CDATA[&lt;h1 id=&#34;configure-the-parca-data-source&#34;&gt;Configure the Parca data source&lt;/h1&gt;
&lt;p&gt;This document explains how to configure the Parca data source in Grafana.&lt;/p&gt;
&lt;p&gt;You can configure the data source using the Grafana UI, a YAML provisioning file, or Terraform.
If you make any changes in the UI, select &lt;strong&gt;Save &amp;amp; test&lt;/strong&gt; to preserve those changes.&lt;/p&gt;
&lt;h2 id=&#34;before-you-begin&#34;&gt;Before you begin&lt;/h2&gt;
&lt;p&gt;Before configuring the data source, ensure you have:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Grafana permissions:&lt;/strong&gt; &lt;code&gt;Organization administrator&lt;/code&gt; role.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Parca instance:&lt;/strong&gt; A running Parca instance (v0.19 or later) accessible from your Grafana server.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;If you&amp;rsquo;re provisioning the data source, you also need administrative rights on the server hosting your Grafana instance.&lt;/p&gt;
&lt;h2 id=&#34;add-the-data-source&#34;&gt;Add the data source&lt;/h2&gt;
&lt;p&gt;To add the Parca data source:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Click &lt;strong&gt;Connections&lt;/strong&gt; in the left-side menu.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Add new connection&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Type &lt;code&gt;Parca&lt;/code&gt; in the search bar.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Parca&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Add new data source&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;configure-settings&#34;&gt;Configure settings&lt;/h2&gt;
&lt;p&gt;The &lt;strong&gt;Settings&lt;/strong&gt; tab contains the following configuration sections.&lt;/p&gt;
&lt;h3 id=&#34;basic-settings&#34;&gt;Basic settings&lt;/h3&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&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;A name to identify this data source in panels, queries, and Explore.&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;Toggle to make this the default data source for new panels.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;connection&#34;&gt;Connection&lt;/h3&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&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;URL&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The URL of your Parca instance. For example, &lt;code&gt;http://localhost:7070&lt;/code&gt;. Grafana connects to Parca using gRPC-Web, so the URL should point to the Parca HTTP endpoint.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;authentication&#34;&gt;Authentication&lt;/h3&gt;
&lt;p&gt;Use this section to select an authentication method to access the data source. The available methods are:&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;Method&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;Basic authentication&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Authenticate with a username and password. Enter values in the &lt;strong&gt;User&lt;/strong&gt; and &lt;strong&gt;Password&lt;/strong&gt; fields.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Forward OAuth Identity&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Forward the logged-in user&amp;rsquo;s OAuth token to the data source.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;No Authentication&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Connect without credentials. Use this when the Parca instance doesn&amp;rsquo;t require authentication.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;tls-settings&#34;&gt;TLS settings&lt;/h3&gt;
&lt;p&gt;Configure TLS for secure communication with your Parca instance.&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&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;Add self-signed certificate&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Toggle to provide a CA certificate. When enabled, paste the CA certificate in the &lt;strong&gt;CA Certificate&lt;/strong&gt; field.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;TLS Client Authentication&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Toggle to enable mutual TLS. When enabled, provide the &lt;strong&gt;Server Name&lt;/strong&gt;, &lt;strong&gt;Client Certificate&lt;/strong&gt;, and &lt;strong&gt;Client Key&lt;/strong&gt;.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Skip TLS certificate validation&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Toggle to skip server certificate verification. Use only for testing.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&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;Use Transport Layer Security (TLS) for an additional layer of security when working with Parca.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h3 id=&#34;custom-http-headers&#34;&gt;Custom HTTP headers&lt;/h3&gt;
&lt;p&gt;Add custom HTTP headers to requests sent to the Parca instance. Click &lt;strong&gt;Add header&lt;/strong&gt; to add a new row with &lt;strong&gt;Header&lt;/strong&gt; (name) and &lt;strong&gt;Value&lt;/strong&gt; (secret) fields.&lt;/p&gt;
&lt;p&gt;Custom headers are useful for passing authentication tokens or routing information required by proxies between Grafana and Parca.&lt;/p&gt;
&lt;h2 id=&#34;additional-settings&#34;&gt;Additional settings&lt;/h2&gt;
&lt;p&gt;Click the down arrow to expand the &lt;strong&gt;Additional settings&lt;/strong&gt; section. These settings are optional.&lt;/p&gt;
&lt;h3 id=&#34;advanced-http-settings&#34;&gt;Advanced HTTP settings&lt;/h3&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&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;Allowed cookies&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Cookies that should be forwarded to the data source. The Grafana proxy strips all cookies by default.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Timeout&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The HTTP request timeout in seconds.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;secure-socks-proxy&#34;&gt;Secure SOCKS proxy&lt;/h3&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 section is only visible when the Grafana server has the secure SOCKS proxy feature enabled.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&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&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;Enabled&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Toggle to route requests to the Parca instance through a secure SOCKS proxy.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;verify-the-connection&#34;&gt;Verify the connection&lt;/h2&gt;
&lt;p&gt;Click &lt;strong&gt;Save &amp;amp; test&lt;/strong&gt; to verify that Grafana can connect to your Parca instance. The health check queries the available profile types from the Parca server. A successful connection displays the message&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Data source is working&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;If the test fails, verify that the URL is correct and that your Parca instance is running and accessible from the Grafana server. For more help, refer to 
    &lt;a href=&#34;/docs/grafana/v13.0/datasources/parca/troubleshooting/&#34;&gt;Troubleshoot Parca data source issues&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;provision-the-data-source&#34;&gt;Provision the data source&lt;/h2&gt;
&lt;p&gt;You can define the data source in YAML files as part of the Grafana provisioning system.
For more information, refer to 
    &lt;a href=&#34;/docs/grafana/v13.0/administration/provisioning/#data-sources&#34;&gt;Provisioning Grafana&lt;/a&gt;.&lt;/p&gt;
&lt;h3 id=&#34;yaml-provisioning-example&#34;&gt;YAML provisioning 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;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:7070&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;To provision with basic authentication:&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:7070
    basicAuth: true
    basicAuthUser: &amp;lt;USERNAME&amp;gt;
    secureJsonData:
      basicAuthPassword: &amp;lt;PASSWORD&amp;gt;&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Replace the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;USERNAME&amp;gt;&lt;/code&gt;: Your Parca username.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;PASSWORD&amp;gt;&lt;/code&gt;: Your Parca password.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;terraform-example&#34;&gt;Terraform example&lt;/h3&gt;
&lt;p&gt;To provision the data source with Terraform, use the &lt;a href=&#34;https://registry.terraform.io/providers/grafana/grafana/latest/docs/resources/data_source&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;&lt;code&gt;grafana_data_source&lt;/code&gt; resource&lt;/a&gt;:&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;hcl&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-hcl&#34;&gt;resource &amp;#34;grafana_data_source&amp;#34; &amp;#34;parca&amp;#34; {
  type = &amp;#34;parca&amp;#34;
  name = &amp;#34;Parca&amp;#34;
  url  = &amp;#34;http://localhost:7070&amp;#34;
}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;To provision with basic authentication:&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;hcl&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-hcl&#34;&gt;resource &amp;#34;grafana_data_source&amp;#34; &amp;#34;parca&amp;#34; {
  type                = &amp;#34;parca&amp;#34;
  name                = &amp;#34;Parca&amp;#34;
  url                 = &amp;#34;http://localhost:7070&amp;#34;
  basic_auth_enabled  = true
  basic_auth_username = &amp;#34;&amp;lt;USERNAME&amp;gt;&amp;#34;

  secure_json_data_encoded = jsonencode({
    basicAuthPassword = &amp;#34;&amp;lt;PASSWORD&amp;gt;&amp;#34;
  })
}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Replace the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;USERNAME&amp;gt;&lt;/code&gt;: Your Parca username.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;lt;PASSWORD&amp;gt;&lt;/code&gt;: Your Parca password.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;next-steps&#34;&gt;Next steps&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v13.0/datasources/parca/query-editor/&#34;&gt;Query profiling data with the Parca query editor&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="configure-the-parca-data-source">Configure the Parca data source&lt;/h1>
&lt;p>This document explains how to configure the Parca data source in Grafana.&lt;/p>
&lt;p>You can configure the data source using the Grafana UI, a YAML provisioning file, or Terraform.
If you make any changes in the UI, select &lt;strong>Save &amp;amp; test&lt;/strong> to preserve those changes.&lt;/p></description></item><item><title>Parca query editor</title><link>https://grafana.com/docs/grafana/v13.0/datasources/parca/query-editor/</link><pubDate>Wed, 22 Apr 2026 07:04:01 +0000</pubDate><guid>https://grafana.com/docs/grafana/v13.0/datasources/parca/query-editor/</guid><content><![CDATA[&lt;h1 id=&#34;parca-query-editor&#34;&gt;Parca query editor&lt;/h1&gt;
&lt;p&gt;This document explains how to use the Parca query editor to query and visualize continuous profiling data.&lt;/p&gt;
&lt;p&gt;The query editor gives you access to a profile type selector, a label selector with autocomplete, and collapsible options for controlling query behavior.&lt;/p&gt;
&lt;h2 id=&#34;before-you-begin&#34;&gt;Before you begin&lt;/h2&gt;
&lt;p&gt;Before using the query editor, ensure you have:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v13.0/datasources/parca/configure/&#34;&gt;Configured the Parca data source&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;Verified the connection using &lt;strong&gt;Save &amp;amp; test&lt;/strong&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;access-the-query-editor&#34;&gt;Access the query editor&lt;/h2&gt;
&lt;p&gt;To access the query editor:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Sign in to Grafana.&lt;/li&gt;
&lt;li&gt;Select &lt;strong&gt;Explore&lt;/strong&gt; from the left-side menu.&lt;/li&gt;
&lt;li&gt;Select your Parca data source from the data source drop-down.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;You can also access the query editor from a dashboard panel by selecting the Parca data source when editing a panel.&lt;/p&gt;
&lt;h2 id=&#34;profile-type-selector&#34;&gt;Profile type selector&lt;/h2&gt;
&lt;p&gt;Select a profile type from the cascading drop-down menu. Profile types are grouped by name at the first level, with a second level showing the sample type.&lt;/p&gt;
&lt;p&gt;For example, a &lt;code&gt;process_cpu&lt;/code&gt; profile might show sample types like &lt;code&gt;cpu&lt;/code&gt; or &lt;code&gt;samples&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;You must select a profile type for the query to be valid. Grafana doesn&amp;rsquo;t return any data if the profile type isn&amp;rsquo;t selected when a query runs.&lt;/p&gt;
&lt;h3 id=&#34;profile-type-id-format&#34;&gt;Profile type ID format&lt;/h3&gt;
&lt;p&gt;Each profile type has an ID in the format &lt;code&gt;name:sampleType:sampleUnit:periodType:periodUnit&lt;/code&gt;. Delta profile types include an additional &lt;code&gt;:delta&lt;/code&gt; suffix. You don&amp;rsquo;t need to construct these IDs manually &amp;ndash; the cascading drop-down handles selection for you.&lt;/p&gt;
&lt;p&gt;Examples of profile type IDs:&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;Profile type ID&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;process_cpu:samples:count:cpu:nanoseconds&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;CPU profile measuring sample counts.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;memory:alloc_objects:count:space:bytes&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Memory profile measuring allocated objects.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;process_cpu:cpu:nanoseconds:cpu:nanoseconds:delta&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Delta CPU profile measuring nanoseconds.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;label-selector&#34;&gt;Label selector&lt;/h2&gt;
&lt;p&gt;Use the label selector to filter profiles by labels. The editor provides autocomplete for both label names and label values.&lt;/p&gt;
&lt;h3 id=&#34;syntax&#34;&gt;Syntax&lt;/h3&gt;
&lt;p&gt;Parca uses a syntax similar to Prometheus for label filtering. Wrap label matchers in curly braces using the &lt;code&gt;{key=&amp;quot;value&amp;quot;}&lt;/code&gt; format.&lt;/p&gt;
&lt;p&gt;The following operators are supported:&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;Operator&lt;/th&gt;
              &lt;th&gt;Description&lt;/th&gt;
              &lt;th&gt;Example&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;=&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Equals&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;{job=&amp;quot;my-service&amp;quot;}&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;!=&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Not equals&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;{job!=&amp;quot;test-service&amp;quot;}&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;=~&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Regular expression match&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;{job=~&amp;quot;prod-.*&amp;quot;}&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;!~&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Negative regular expression match&lt;/td&gt;
              &lt;td&gt;&lt;code&gt;{job!~&amp;quot;test-.*&amp;quot;}&lt;/code&gt;&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;You can combine multiple label matchers separated by commas:&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;text&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-text&#34;&gt;{job=&amp;#34;my-service&amp;#34;, instance=~&amp;#34;10.0.0.*&amp;#34;}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;The label selector can be left empty to query all profiles of the selected type without filtering.&lt;/p&gt;
&lt;p&gt;Refer to the &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 additional syntax details.&lt;/p&gt;
&lt;h3 id=&#34;autocomplete&#34;&gt;Autocomplete&lt;/h3&gt;
&lt;p&gt;The label selector provides autocomplete suggestions as you type. Autocomplete is triggered by the following characters: &lt;code&gt;{&lt;/code&gt;, &lt;code&gt;,&lt;/code&gt;, &lt;code&gt;[&lt;/code&gt;, &lt;code&gt;(&lt;/code&gt;, &lt;code&gt;=&lt;/code&gt;, &lt;code&gt;~&lt;/code&gt;, space, and &lt;code&gt;&amp;quot;&lt;/code&gt;.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Label names:&lt;/strong&gt; Suggested when you start typing inside curly braces or after a comma.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Label values:&lt;/strong&gt; Suggested after typing a label name followed by &lt;code&gt;=&lt;/code&gt; or &lt;code&gt;=&amp;quot;&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h3 id=&#34;keyboard-shortcuts&#34;&gt;Keyboard shortcuts&lt;/h3&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;Shortcut&lt;/th&gt;
              &lt;th&gt;Action&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Shift &#43; Enter&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Run the query with current input.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;query-types&#34;&gt;Query types&lt;/h2&gt;
&lt;p&gt;Expand the &lt;strong&gt;Options&lt;/strong&gt; section to select a query type. The query type controls what data is returned and how it&amp;rsquo;s visualized.&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;Metric&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Returns aggregated metric data visualized as a time series.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Profile&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Returns a merged profile visualized as a flame graph.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;Both&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;Returns both metric and profile data. Only available in Explore.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&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 &lt;strong&gt;Both&lt;/strong&gt; option is only available in 
    &lt;a href=&#34;/docs/grafana/v13.0/explore/&#34;&gt;Explore&lt;/a&gt;. In dashboard panels, you can select either &lt;strong&gt;Metric&lt;/strong&gt; or &lt;strong&gt;Profile&lt;/strong&gt; because panels support only one visualization type. If a query set to &lt;strong&gt;Both&lt;/strong&gt; is moved from Explore to a dashboard, Grafana automatically changes it to &lt;strong&gt;Profile&lt;/strong&gt;.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;use-template-variables-in-queries&#34;&gt;Use template variables in queries&lt;/h2&gt;
&lt;p&gt;The label selector field supports Grafana template variables. You can use variables like &lt;code&gt;$job&lt;/code&gt; or &lt;code&gt;$instance&lt;/code&gt; in the label selector to create dynamic, reusable dashboards.&lt;/p&gt;
&lt;p&gt;For more information about supported variable types, examples, and limitations, refer to 
    &lt;a href=&#34;/docs/grafana/v13.0/datasources/parca/template-variables/&#34;&gt;Parca template variables&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;query-examples&#34;&gt;Query examples&lt;/h2&gt;
&lt;p&gt;The following examples show common profiling queries.&lt;/p&gt;
&lt;h3 id=&#34;query-cpu-profiles-for-a-specific-service&#34;&gt;Query CPU profiles for a specific service&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;process_cpu&lt;/strong&gt; &amp;gt; &lt;strong&gt;cpu&lt;/strong&gt; from the profile type drop-down.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Enter a label selector to filter by service:&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;text&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-text&#34;&gt;{job=&amp;#34;my-service&amp;#34;}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set query type to &lt;strong&gt;Profile&lt;/strong&gt; to view a flame graph, or &lt;strong&gt;Metric&lt;/strong&gt; to view CPU usage over time.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;compare-profiles-across-instances&#34;&gt;Compare profiles across instances&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select a profile type such as &lt;strong&gt;process_cpu&lt;/strong&gt; &amp;gt; &lt;strong&gt;samples&lt;/strong&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Filter to a specific service and instance:&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;text&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-text&#34;&gt;{job=&amp;#34;my-service&amp;#34;, instance=&amp;#34;10.0.0.1:7070&amp;#34;}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Add a second query (click &lt;strong&gt;&#43; Add query&lt;/strong&gt;) with a different instance:&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;text&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-text&#34;&gt;{job=&amp;#34;my-service&amp;#34;, instance=&amp;#34;10.0.0.2:7070&amp;#34;}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set both queries to &lt;strong&gt;Metric&lt;/strong&gt; to compare time-series data across instances.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;find-memory-allocation-hot-spots&#34;&gt;Find memory allocation hot spots&lt;/h3&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Select &lt;strong&gt;memory&lt;/strong&gt; &amp;gt; &lt;strong&gt;alloc_objects&lt;/strong&gt; from the profile type drop-down.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Optionally filter by service:&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;text&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-text&#34;&gt;{job=&amp;#34;api-gateway&amp;#34;}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set query type to &lt;strong&gt;Profile&lt;/strong&gt; to view a flame graph showing which functions allocate the most objects.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Adjust the time range to narrow down to a specific incident window.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;profile-query-results&#34;&gt;Profile query results&lt;/h2&gt;
&lt;p&gt;Profiles are visualized as a flame graph. Refer to the 
    &lt;a href=&#34;/docs/grafana/v13.0/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;Parca returns profiles aggregated over the selected time range. 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, down to the point of a single Parca scrape interval.&lt;/p&gt;
&lt;p&gt;The flame graph displays the following columns:&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;Column&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;level&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The depth of the function in the call stack.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;value&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The cumulative value including child functions.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;self&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The value attributable to this function only.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;strong&gt;label&lt;/strong&gt;&lt;/td&gt;
              &lt;td&gt;The function name or symbol.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;Units are automatically mapped from Parca to Grafana formats: &lt;code&gt;nanoseconds&lt;/code&gt; displays as &lt;code&gt;ns&lt;/code&gt; and &lt;code&gt;count&lt;/code&gt; displays as a short number.&lt;/p&gt;
&lt;h2 id=&#34;metrics-query-results&#34;&gt;Metrics query results&lt;/h2&gt;
&lt;p&gt;Metrics results represent the aggregated value over time of the selected profile type.&lt;/p&gt;
&lt;p&gt;Parca returns a separate time series for each label combination, allowing you to quickly identify spikes in the value of scraped profiles and zoom in to a particular time range for further investigation.&lt;/p&gt;
&lt;p&gt;The time-series value field is named after the sample type from the profile type ID. For example, a query using &lt;code&gt;process_cpu:samples:count:cpu:nanoseconds&lt;/code&gt; produces a value field named &lt;code&gt;samples&lt;/code&gt;.&lt;/p&gt;
]]></content><description>&lt;h1 id="parca-query-editor">Parca query editor&lt;/h1>
&lt;p>This document explains how to use the Parca query editor to query and visualize continuous profiling data.&lt;/p>
&lt;p>The query editor gives you access to a profile type selector, a label selector with autocomplete, and collapsible options for controlling query behavior.&lt;/p></description></item><item><title>Parca template variables</title><link>https://grafana.com/docs/grafana/v13.0/datasources/parca/template-variables/</link><pubDate>Wed, 22 Apr 2026 07:04:01 +0000</pubDate><guid>https://grafana.com/docs/grafana/v13.0/datasources/parca/template-variables/</guid><content><![CDATA[&lt;h1 id=&#34;parca-template-variables&#34;&gt;Parca template variables&lt;/h1&gt;
&lt;p&gt;Instead of hard-coding label values in your profiling queries, you can use template variables to create dynamic, reusable dashboards. Variables appear as drop-down menus at the top of the dashboard, making it easy to switch between services, instances, or environments without editing queries.&lt;/p&gt;
&lt;p&gt;For an introduction to template variables, refer to the 
    &lt;a href=&#34;/docs/grafana/v13.0/dashboards/variables/&#34;&gt;Variables&lt;/a&gt; documentation.&lt;/p&gt;
&lt;h2 id=&#34;supported-variable-types&#34;&gt;Supported variable types&lt;/h2&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 type&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;Custom&lt;/td&gt;
              &lt;td&gt;Yes&lt;/td&gt;
              &lt;td&gt;Define a static list of values manually.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Text box&lt;/td&gt;
              &lt;td&gt;Yes&lt;/td&gt;
              &lt;td&gt;Enter a free-form value at the top of the dashboard.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Constant&lt;/td&gt;
              &lt;td&gt;Yes&lt;/td&gt;
              &lt;td&gt;Define a hidden, fixed value.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Data source&lt;/td&gt;
              &lt;td&gt;Yes&lt;/td&gt;
              &lt;td&gt;Select a data source instance by name.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Query&lt;/td&gt;
              &lt;td&gt;No&lt;/td&gt;
              &lt;td&gt;Parca doesn&amp;rsquo;t implement variable queries to dynamically populate drop-downs.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&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;Parca doesn&amp;rsquo;t support query-type variables. You can&amp;rsquo;t use the Parca data source to dynamically populate variable drop-downs. Use custom variables to define values manually, or use another data source to populate query variables.&lt;/p&gt;&lt;/blockquote&gt;&lt;/div&gt;

&lt;h2 id=&#34;use-variables-in-the-label-selector&#34;&gt;Use variables in the label selector&lt;/h2&gt;
&lt;p&gt;The Parca query editor&amp;rsquo;s label selector field supports template variable interpolation. Use the standard &lt;code&gt;$variablename&lt;/code&gt; or &lt;code&gt;${variablename}&lt;/code&gt; syntax. Variables are interpolated in the label selector only &amp;ndash; the profile type drop-down doesn&amp;rsquo;t support them.&lt;/p&gt;
&lt;h3 id=&#34;variable-syntax-options&#34;&gt;Variable syntax options&lt;/h3&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;Syntax&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;$variablename&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Simple syntax for most cases.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;${variablename}&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Use when the variable is adjacent to other text (for example, &lt;code&gt;${host}_suffix&lt;/code&gt;).&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;&lt;code&gt;${variablename:format}&lt;/code&gt;&lt;/td&gt;
              &lt;td&gt;Apply a specific format to the variable value.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;example-filter-profiles-by-service&#34;&gt;Example: Filter profiles by service&lt;/h2&gt;
&lt;p&gt;Create a custom variable to switch between services in your profiling dashboard.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Dashboard settings&lt;/strong&gt; &amp;gt; &lt;strong&gt;Variables&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Add variable&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Set &lt;strong&gt;Type&lt;/strong&gt; to &lt;strong&gt;Custom&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Enter a &lt;strong&gt;Name&lt;/strong&gt;, for example &lt;code&gt;service&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;In the &lt;strong&gt;Custom options&lt;/strong&gt; field, enter comma-separated values, for example &lt;code&gt;frontend, backend, api-gateway&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Apply&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In your Parca query&amp;rsquo;s label selector, reference the variable:&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;text&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-text&#34;&gt;{job=&amp;#34;$service&amp;#34;}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;When you change the drop-down selection, the panel refreshes to show profiles for the selected service.&lt;/p&gt;
&lt;h2 id=&#34;example-filter-by-service-and-instance&#34;&gt;Example: Filter by service and instance&lt;/h2&gt;
&lt;p&gt;Create two custom variables to filter by multiple dimensions.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Create a variable named &lt;code&gt;service&lt;/code&gt; with custom values &lt;code&gt;frontend, backend, api-gateway&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Create a second variable named &lt;code&gt;instance&lt;/code&gt; with custom values for your instance addresses, for example &lt;code&gt;10.0.0.1:7070, 10.0.0.2:7070, 10.0.0.3:7070&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In your Parca query&amp;rsquo;s label selector, reference both 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;text&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-text&#34;&gt;{job=&amp;#34;$service&amp;#34;, instance=&amp;#34;$instance&amp;#34;}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;h2 id=&#34;example-use-a-text-box-variable-for-free-form-filtering&#34;&gt;Example: Use a text box variable for free-form filtering&lt;/h2&gt;
&lt;p&gt;Create a text box variable for free-form label filtering.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Navigate to &lt;strong&gt;Dashboard settings&lt;/strong&gt; &amp;gt; &lt;strong&gt;Variables&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Add variable&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Set &lt;strong&gt;Type&lt;/strong&gt; to &lt;strong&gt;Text box&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Enter a &lt;strong&gt;Name&lt;/strong&gt;, for example &lt;code&gt;label_filter&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Optionally set a default value, for example &lt;code&gt;job=&amp;quot;my-service&amp;quot;&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;Click &lt;strong&gt;Apply&lt;/strong&gt;.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In your Parca query&amp;rsquo;s label selector, reference the variable:&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;text&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-text&#34;&gt;{$label_filter}&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;This lets you type any label matcher directly into the variable input at the top of the dashboard without editing the panel query.&lt;/p&gt;
&lt;h2 id=&#34;limitations&#34;&gt;Limitations&lt;/h2&gt;
&lt;p&gt;Parca template variable support has the following limitations:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;No query variable support:&lt;/strong&gt; You can&amp;rsquo;t use Parca as a data source for populating variable options. Define values manually with custom variables or use another data source.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Label selector only:&lt;/strong&gt; Variables are interpolated in the label selector field. The profile type drop-down doesn&amp;rsquo;t support variables.&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;No free-form filters:&lt;/strong&gt; Parca doesn&amp;rsquo;t support 
    &lt;a href=&#34;/docs/grafana/v13.0/dashboards/variables/add-template-variables/#add-ad-hoc-filters&#34;&gt;free-form filters&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id=&#34;next-steps&#34;&gt;Next steps&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v13.0/datasources/parca/query-editor/&#34;&gt;Build queries&lt;/a&gt; using your template variables.&lt;/li&gt;
&lt;li&gt;
    &lt;a href=&#34;/docs/grafana/v13.0/datasources/parca/troubleshooting/&#34;&gt;Troubleshoot issues&lt;/a&gt; if queries aren&amp;rsquo;t returning expected data.&lt;/li&gt;
&lt;/ul&gt;
]]></content><description>&lt;h1 id="parca-template-variables">Parca template variables&lt;/h1>
&lt;p>Instead of hard-coding label values in your profiling queries, you can use template variables to create dynamic, reusable dashboards. Variables appear as drop-down menus at the top of the dashboard, making it easy to switch between services, instances, or environments without editing queries.&lt;/p></description></item><item><title>Troubleshoot Parca data source issues</title><link>https://grafana.com/docs/grafana/v13.0/datasources/parca/troubleshooting/</link><pubDate>Wed, 22 Apr 2026 07:04:01 +0000</pubDate><guid>https://grafana.com/docs/grafana/v13.0/datasources/parca/troubleshooting/</guid><content><![CDATA[&lt;h1 id=&#34;troubleshoot-parca-data-source-issues&#34;&gt;Troubleshoot Parca data source issues&lt;/h1&gt;
&lt;p&gt;This page provides solutions to common issues you might encounter when configuring or using the Parca data source. For configuration instructions, refer to 
    &lt;a href=&#34;/docs/grafana/v13.0/datasources/parca/configure/&#34;&gt;Configure the Parca data source&lt;/a&gt;.&lt;/p&gt;
&lt;h2 id=&#34;connection-errors&#34;&gt;Connection errors&lt;/h2&gt;
&lt;p&gt;These errors occur when Grafana can&amp;rsquo;t reach the Parca instance.&lt;/p&gt;
&lt;h3 id=&#34;save--test-fails&#34;&gt;&amp;ldquo;Save &amp;amp; test&amp;rdquo; fails&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Symptoms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Data source test times out or returns an error.&lt;/li&gt;
&lt;li&gt;Unable to connect to the Parca server.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Possible causes and solutions:&lt;/strong&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;Cause&lt;/th&gt;
              &lt;th&gt;Solution&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Incorrect URL&lt;/td&gt;
              &lt;td&gt;Verify the URL points to your Parca HTTP endpoint (for example, &lt;code&gt;http://localhost:7070&lt;/code&gt;). Grafana connects using gRPC-Web.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Parca isn&amp;rsquo;t running&lt;/td&gt;
              &lt;td&gt;Verify that your Parca instance is running and accessible from the Grafana server.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Firewall blocking&lt;/td&gt;
              &lt;td&gt;Check that firewall rules allow outbound traffic from Grafana to the Parca server on the configured port.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;TLS misconfiguration&lt;/td&gt;
              &lt;td&gt;If using HTTPS, verify that TLS certificates are correctly configured on both Grafana and Parca.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;p&gt;When the connection succeeds, the health check displays &lt;strong&gt;&amp;ldquo;Data source is working&amp;rdquo;&lt;/strong&gt;. The health check queries the available profile types from the Parca server, so any connectivity or authentication issue causes it to fail.&lt;/p&gt;
&lt;h3 id=&#34;connection-refused-or-timeout-errors&#34;&gt;Connection refused or timeout errors&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Symptoms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Queries fail with network errors.&lt;/li&gt;
&lt;li&gt;Intermittent connection issues.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Solutions:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Verify network connectivity from the Grafana server to the Parca endpoint.&lt;/li&gt;
&lt;li&gt;Check that the Parca server is healthy and responding to requests.&lt;/li&gt;
&lt;li&gt;For Grafana Cloud, configure &lt;a href=&#34;/docs/grafana-cloud/connect-externally-hosted/private-data-source-connect/&#34;&gt;Private data source connect&lt;/a&gt; if accessing a private Parca instance.&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;query-errors&#34;&gt;Query errors&lt;/h2&gt;
&lt;p&gt;These errors occur when running queries against the Parca data source.&lt;/p&gt;
&lt;h3 id=&#34;invalid-report-type-or-try-updating-parca-to-v019&#34;&gt;&amp;ldquo;Invalid report type&amp;rdquo; or &amp;ldquo;try updating Parca to v0.19&#43;&amp;rdquo;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Symptoms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Queries fail with an error containing &amp;ldquo;invalid report type.&amp;rdquo;&lt;/li&gt;
&lt;li&gt;The error message suggests updating Parca to v0.19&#43;.&lt;/li&gt;
&lt;li&gt;Flame graph data doesn&amp;rsquo;t load.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Solutions:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Upgrade your Parca server to v0.19 or later. This error occurs because older versions of Parca don&amp;rsquo;t support the flame graph Arrow format that Grafana requires.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;unknown-report-type-returned-from-query-update-parca&#34;&gt;&lt;code&gt;Unknown report type returned from query. update parca&lt;/code&gt;&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Symptoms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Profile queries fail with this exact error message.&lt;/li&gt;
&lt;li&gt;Metric queries may still succeed.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Solutions:&lt;/strong&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Upgrade your Parca server. This error occurs when the Parca server returns a response format that Grafana doesn&amp;rsquo;t recognize. Updating to the latest Parca version resolves the issue.&lt;/li&gt;
&lt;/ol&gt;
&lt;h3 id=&#34;no-data-or-empty-results&#34;&gt;&amp;ldquo;No data&amp;rdquo; or empty results&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Symptoms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Query runs without error but returns no data.&lt;/li&gt;
&lt;li&gt;Flame graph or metrics panel shows &amp;ldquo;No data.&amp;rdquo;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Possible causes and solutions:&lt;/strong&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;Cause&lt;/th&gt;
              &lt;th&gt;Solution&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;No profile type selected&lt;/td&gt;
              &lt;td&gt;Select a profile type from the drop-down menu. This field is required &amp;ndash; queries silently return empty data without it.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Time range doesn&amp;rsquo;t contain data&lt;/td&gt;
              &lt;td&gt;Expand the dashboard time range or verify that profiling data exists for the selected period.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Label selector too restrictive&lt;/td&gt;
              &lt;td&gt;Remove or broaden label filters to verify that matching profiles exist.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Label selector syntax error&lt;/td&gt;
              &lt;td&gt;Verify the label selector uses valid syntax (for example, &lt;code&gt;{job=&amp;quot;my-service&amp;quot;}&lt;/code&gt;). Refer to the 
    &lt;a href=&#34;/docs/grafana/v13.0/datasources/parca/query-editor/&#34;&gt;query editor documentation&lt;/a&gt; for supported operators.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Parca isn&amp;rsquo;t scraping targets&lt;/td&gt;
              &lt;td&gt;Check your Parca configuration to verify that targets are being scraped and profiles collected.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;query-editor-issues&#34;&gt;Query editor issues&lt;/h2&gt;
&lt;p&gt;These issues relate to the query editor interface.&lt;/p&gt;
&lt;h3 id=&#34;profile-type-drop-down-is-empty&#34;&gt;Profile type drop-down is empty&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Symptoms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;The profile type selector shows no options.&lt;/li&gt;
&lt;li&gt;The button text reads &lt;strong&gt;Select a profile type&lt;/strong&gt; with nothing to choose.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Possible causes and solutions:&lt;/strong&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;Cause&lt;/th&gt;
              &lt;th&gt;Solution&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Connection to Parca failed&lt;/td&gt;
              &lt;td&gt;Verify the data source connection using &lt;strong&gt;Save &amp;amp; test&lt;/strong&gt; in the data source settings.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Parca has no scraped data&lt;/td&gt;
              &lt;td&gt;Verify that Parca is scraping targets and has collected profile data.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Network or auth error&lt;/td&gt;
              &lt;td&gt;Check the browser developer console for failed requests to the &lt;code&gt;profileTypes&lt;/code&gt; resource endpoint.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;both-query-type-is-missing&#34;&gt;&amp;ldquo;Both&amp;rdquo; query type is missing&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Symptoms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Only &lt;strong&gt;Metric&lt;/strong&gt; and &lt;strong&gt;Profile&lt;/strong&gt; appear in the query type options.&lt;/li&gt;
&lt;li&gt;The &lt;strong&gt;Both&lt;/strong&gt; option isn&amp;rsquo;t available.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;This is expected behavior. The &lt;strong&gt;Both&lt;/strong&gt; query type is only available in 
    &lt;a href=&#34;/docs/grafana/v13.0/explore/&#34;&gt;Explore&lt;/a&gt;. Dashboard panels support only one visualization type, so Grafana limits the options to &lt;strong&gt;Metric&lt;/strong&gt; or &lt;strong&gt;Profile&lt;/strong&gt;. If a query set to &lt;strong&gt;Both&lt;/strong&gt; in Explore is used in a dashboard, Grafana automatically changes it to &lt;strong&gt;Profile&lt;/strong&gt;.&lt;/p&gt;
&lt;h3 id=&#34;autocomplete-suggestions-dont-appear&#34;&gt;Autocomplete suggestions don&amp;rsquo;t appear&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Symptoms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;No label name or value suggestions appear when typing in the label selector.&lt;/li&gt;
&lt;li&gt;Autocomplete works for some labels but not others.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Possible causes and solutions:&lt;/strong&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;Cause&lt;/th&gt;
              &lt;th&gt;Solution&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Label names haven&amp;rsquo;t loaded&lt;/td&gt;
              &lt;td&gt;Wait a moment after opening the query editor. Autocomplete loads label names from Parca on initialization.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Connection to Parca failed&lt;/td&gt;
              &lt;td&gt;Verify the data source connection. Autocomplete queries the &lt;code&gt;labelNames&lt;/code&gt; and &lt;code&gt;labelValues&lt;/code&gt; resource endpoints.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Cursor position not recognized&lt;/td&gt;
              &lt;td&gt;Place your cursor inside curly braces &lt;code&gt;{}&lt;/code&gt; and after an &lt;code&gt;=&lt;/code&gt; sign for value suggestions. Autocomplete triggers on specific characters: &lt;code&gt;{&lt;/code&gt;, &lt;code&gt;,&lt;/code&gt;, &lt;code&gt;=&lt;/code&gt;, &lt;code&gt;~&lt;/code&gt;, &lt;code&gt;&amp;quot;&lt;/code&gt;, space.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h2 id=&#34;template-variable-issues&#34;&gt;Template variable issues&lt;/h2&gt;
&lt;p&gt;These issues relate to using template variables with the Parca data source.&lt;/p&gt;
&lt;h3 id=&#34;variables-dont-resolve-in-queries&#34;&gt;Variables don&amp;rsquo;t resolve in queries&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Symptoms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Variable syntax like &lt;code&gt;$variable&lt;/code&gt; appears literally in query results instead of being replaced.&lt;/li&gt;
&lt;li&gt;Queries return no data when using variables.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Possible causes and solutions:&lt;/strong&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;Cause&lt;/th&gt;
              &lt;th&gt;Solution&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
      &lt;tbody&gt;
          &lt;tr&gt;
              &lt;td&gt;Variable used in profile type&lt;/td&gt;
              &lt;td&gt;Template variables are only supported in the &lt;strong&gt;label selector&lt;/strong&gt; field. The profile type drop-down doesn&amp;rsquo;t support variable interpolation.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Variable not defined&lt;/td&gt;
              &lt;td&gt;Verify the variable exists in &lt;strong&gt;Dashboard settings&lt;/strong&gt; &amp;gt; &lt;strong&gt;Variables&lt;/strong&gt; and has valid values.&lt;/td&gt;
          &lt;/tr&gt;
          &lt;tr&gt;
              &lt;td&gt;Wrong variable syntax&lt;/td&gt;
              &lt;td&gt;Use &lt;code&gt;$variablename&lt;/code&gt; or &lt;code&gt;${variablename}&lt;/code&gt;. Verify there are no typos in the variable name.&lt;/td&gt;
          &lt;/tr&gt;
      &lt;/tbody&gt;
    &lt;/table&gt;
  &lt;/div&gt;
&lt;/section&gt;&lt;h3 id=&#34;cant-use-parca-to-populate-variable-options&#34;&gt;Can&amp;rsquo;t use Parca to populate variable options&lt;/h3&gt;
&lt;p&gt;&lt;strong&gt;Symptoms:&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;When creating a query-type variable with the Parca data source, no values are returned.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;strong&gt;Solution:&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Parca doesn&amp;rsquo;t support query-type variables. You can&amp;rsquo;t use the Parca data source to dynamically populate variable drop-downs. Use &lt;strong&gt;Custom&lt;/strong&gt; variables with manually defined values, &lt;strong&gt;Text box&lt;/strong&gt; variables for free-form input, or a different data source for query-type variables. Refer to 
    &lt;a href=&#34;/docs/grafana/v13.0/datasources/parca/template-variables/&#34;&gt;Parca template variables&lt;/a&gt; for supported variable types and examples.&lt;/p&gt;
&lt;h2 id=&#34;enable-debug-logging&#34;&gt;Enable debug logging&lt;/h2&gt;
&lt;p&gt;To capture detailed error information for troubleshooting:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Set the Grafana log level to &lt;code&gt;debug&lt;/code&gt; in the configuration file:&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;[log]
level = debug&lt;/code&gt;&lt;/pre&gt;
  &lt;/div&gt;
&lt;/div&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Review logs in &lt;code&gt;/var/log/grafana/grafana.log&lt;/code&gt; (or your configured log location).&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Look for Parca-specific entries that include request and response details. Common log messages include:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;&amp;quot;Failed to get profile types&amp;quot;&lt;/code&gt; &amp;ndash; profile type loading failed.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;quot;Failed to get label names&amp;quot;&lt;/code&gt; &amp;ndash; label autocomplete data failed to load.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;quot;Failed to process query&amp;quot;&lt;/code&gt; &amp;ndash; a query to Parca returned an error.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;&amp;quot;Failed to unmarshall query&amp;quot;&lt;/code&gt; &amp;ndash; the query JSON couldn&amp;rsquo;t be parsed.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Reset the log level to &lt;code&gt;info&lt;/code&gt; after troubleshooting to avoid excessive log volume.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;h2 id=&#34;get-additional-help&#34;&gt;Get additional help&lt;/h2&gt;
&lt;p&gt;If you&amp;rsquo;ve tried the solutions on this page and still encounter issues:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Check the &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; for similar issues.&lt;/li&gt;
&lt;li&gt;Review the &lt;a href=&#34;https://github.com/grafana/grafana/issues&#34; target=&#34;_blank&#34; rel=&#34;noopener noreferrer&#34;&gt;Grafana GitHub issues&lt;/a&gt; for known bugs related to the Parca data source.&lt;/li&gt;
&lt;li&gt;Consult the &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 service-specific guidance.&lt;/li&gt;
&lt;li&gt;Contact Grafana Support if you&amp;rsquo;re an Enterprise, Cloud Pro, or Cloud Contracted user.&lt;/li&gt;
&lt;li&gt;When reporting issues, include:
&lt;ul&gt;
&lt;li&gt;Grafana version&lt;/li&gt;
&lt;li&gt;Parca server version&lt;/li&gt;
&lt;li&gt;Error messages (redact sensitive information)&lt;/li&gt;
&lt;li&gt;Steps to reproduce&lt;/li&gt;
&lt;li&gt;Relevant configuration (redact credentials)&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ol&gt;
]]></content><description>&lt;h1 id="troubleshoot-parca-data-source-issues">Troubleshoot Parca data source issues&lt;/h1>
&lt;p>This page provides solutions to common issues you might encounter when configuring or using the Parca data source. For configuration instructions, refer to
&lt;a href="/docs/grafana/v13.0/datasources/parca/configure/">Configure the Parca data source&lt;/a>.&lt;/p></description></item></channel></rss>