Empty dashboard after configuring integration with Jenkins

I’m trying to achieve the most basic configuration just to explore the capabilities of Grafana. I’m using the Cloud solution with the free trial and I wanted to integrate Jenkins to generate a dashboard with some data. After doing every step successfully, the dashboard is empty and I don’t know why (I don’t have any error message). So, am I missing something?


  • What Grafana version and what operating system are you using?

Grafana Cloud.

  • What are you trying to achieve?

Integrate Jenkins to see the metrics in Grafana.

  • How are you trying to achieve it?

I made the following steps:

  • Installed Jenkins integration in the Grafana web app.
  • Installed Prometheus plugin in Jenkins.
  • Executed the command in the Linux instance that hosts Jenkins to install the Grafana Agent (the one hidden in the image below).
  • Clicked “Test Integration” with a successful result.
  • Executed a job on Jenkins to generate some data.
  • Checked http://jenkins-ip/prometheus and the metrics are visible.

  • What happened?

The dashboard was generated but there is no data (even when “last 2 days” is selected):

  • What did you expect to happen?

The dashboard should have data.

  • Can you copy/paste the configuration(s) that you are having problems with?

I didn’t have problems with any configuration.

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

Nop.

  • Did you follow any online instructions? If so, what is the URL?

https://[name].grafana.net/a/grafana-easystart-app/jenkins (see the first image)

1 Like

Hi @franco5 !

From the steps you described, it sounds like the Grafana Agent was successfully installed, however the pre-built dashboard are not showing any data. This means that either the queries used by the pre-built panels are not able to return a response or the integration installation checker is inaccurate.

There are a few pre and post-install instructions listed in the main docs, but I’m going to check in with the Support team so they can investigate further. When a solution is identified, let’s circle back here in case this is impacting anyone else.

After running the following command:

curl https://{jenkins_address}/prometheus/ | sed -nr 's/# HELP ([a-zA-Z0-9_]+) (.*)$/\1 \2/p'

I get this output:

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (60) SSL certificate problem: self signed certificate
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

My Jenkins instance runs over HTTPS and it’s using a self-signed SSL certificate, so I guess that could be the reason.