Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/567 metrics to identify stuck jobs #582

Closed

Adding metric collector for node related items

c03713c
Select commit
Loading
Failed to load commit list.
Closed

Feature/567 metrics to identify stuck jobs #582

Adding metric collector for node related items
c03713c
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Code Coverage succeeded Oct 25, 2023 in 0s

Line Coverage: 77.42% (+10.45%), Branch Coverage: 31.25% (-4.65%)

Summary for modified lines

  • 182 lines have been modified
  • 14 lines are not covered
  • 10 lines are covered only partially

Overview by baseline

Quality Gates Summary

No active quality gates.

Details

Project coverage details

Module Coverage Package Coverage File Coverage Class Coverage Method Coverage Line Coverage Branch Coverage Instruction Coverage
🐾 Overall project 100.00% (1/1) 100.00% (15/15) 95.29% (81/85) 95.51% (85/89) 86.99% (381/438) 75.89% (1026/1352) 59.24% (234/395) 73.95% (4399/5949)
📈 Overall project (difference to reference job) +0.00% +0.00% +0.23% ⬆️ +0.21% ⬆️ +0.02% ⬆️ -0.37% ⬇️ -1.34% ⬇️ -0.27% ⬇️
🐾 Modified files 100.00% (1/1) 100.00% (5/5) 100.00% (10/10) 100.00% (11/11) 83.67% (41/49) 66.97% (219/327) 35.90% (28/78) 71.27% (1367/1918)
📈 Modified files (difference to overall project) n/a n/a n/a n/a n/a -8.92% ⬇️ -23.34% ⬇️ n/a
🐾 Modified code lines 100.00% (1/1) 100.00% (5/5) 100.00% (10/10) n/a n/a 77.42% (48/62) 31.25% (5/16) n/a
📈 Modified code lines (difference to modified files) n/a n/a n/a n/a n/a +10.45% ⬆️ -4.65% ⬇️ n/a
🐾 Indirect changes 100.00% (1/1) 100.00% (1/1) 50.00% (1/2) n/a n/a 0.00% (0/4) 50.00% (1/2) n/a

Annotations

Check warning on line 37 in src/main/java/org/jenkinsci/plugins/prometheus/collectors/nodes/ExecutorLikelyStuckGauge.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered lines

Lines 32-37 are not covered by tests

Check warning on line 20 in src/main/java/org/jenkinsci/plugins/prometheus/collectors/nodes/NodeCollectorFactory.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 20 is not covered by tests

Check warning on line 16 in src/main/java/org/jenkinsci/plugins/prometheus/collectors/nodes/NodeCollectorFactory.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 16 is only partially covered, one branch is missing

Check warning on line 47 in src/main/java/org/jenkinsci/plugins/prometheus/NodeCollector.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered lines

Lines 40-47 are not covered by tests

Check warning on line 39 in src/main/java/org/jenkinsci/plugins/prometheus/NodeCollector.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 39 is only partially covered, one branch is missing

Check warning on line 224 in src/main/java/org/jenkinsci/plugins/prometheus/JobCollector.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Not covered line

Line 224 is not covered by tests

Check warning on line 33 in src/main/java/org/jenkinsci/plugins/prometheus/collectors/jobs/LogUpdatedGauge.java

See this annotation in the file changed.

@ci-jenkins-io ci-jenkins-io / Code Coverage

Partially covered line

Line 33 is only partially covered, one branch is missing