Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-61701

Prometheus plugin exports 0 builds on all slaves

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • prometheus-plugin
    • None
    • Jenkins ver. 2.204.5 (LTS)
      prometheus plugin 2.0.6

      I wanted to create a dashboard panel to analyze our per-node usage (as they do different things, depending on tags and I might need to scale out differently).

      Unfortunately, for all nodes (but the master) the plugin exports the following block (with different node name, of course):

      jenkins_node_mynode_builds{quantile="0.5",} 0.0
      jenkins_node_mynode_builds{quantile="0.75",} 0.0
      jenkins_node_mynode_builds{quantile="0.95",} 0.0
      jenkins_node_mynode_builds{quantile="0.98",} 0.0
      jenkins_node_mynode_builds{quantile="0.99",} 0.0
      jenkins_node_mynode_builds{quantile="0.999",} 0.0
      jenkins_node_mynode_builds_count 0.0

            jequals5 Marky Jackson
            tumbl3w33d Sir Tumbleweed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: