Prometheus plugin exports 0 builds on all slaves

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Component/s: prometheus-plugin
    • None
    • Environment:
      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

            Assignee:
            Marky Jackson
            Reporter:
            Sir Tumbleweed
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: