Skip to content

Commit

Permalink
Fix buildable and pending metrics (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
sarah-witt committed Jun 26, 2020
1 parent e83e3e7 commit beb7081
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ protected void doRun() throws Exception {
// Add JenkinsUrl Tag
tags = TagsUtil.addTagToTags(tags, "jenkins_url", DatadogUtilities.getJenkinsUrl());
long size = 0;
long buildable = queue.countBuildableItems();
long pending = queue.getPendingItems().size();
long buildable = 0;
long pending = 0;
long stuck = 0;
long blocked = 0;
String hostname = DatadogUtilities.getHostname(null);
Expand Down

0 comments on commit beb7081

Please sign in to comment.