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.
GitHub Advanced Security / Pmd (reported by Codacy) succeeded Oct 25, 2023 in 6s

4 new alerts

New alerts in code changed by this pull request

  • 1 warning
  • 3 notes

See annotations below for details.

View all branch alerts.

Annotations

Check notice on line 31 in src/test/java/org/jenkinsci/plugins/prometheus/collectors/jobs/LogUpdatedGaugeTest.java

See this annotation in the file changed.

Code scanning / Pmd (reported by Codacy)

JUnit tests should include assert() or fail() Note test

JUnit tests should include assert() or fail()

Check notice on line 44 in src/test/java/org/jenkinsci/plugins/prometheus/collectors/jobs/LogUpdatedGaugeTest.java

See this annotation in the file changed.

Code scanning / Pmd (reported by Codacy)

JUnit tests should include assert() or fail() Note test

JUnit tests should include assert() or fail()

Check notice on line 14 in src/test/java/org/jenkinsci/plugins/prometheus/collectors/jobs/LogUpdatedGaugeTest.java

See this annotation in the file changed.

Code scanning / Pmd (reported by Codacy)

JUnit tests should include assert() or fail() Note test

JUnit tests should include assert() or fail()

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

See this annotation in the file changed.

Code scanning / Pmd (reported by Codacy)

Avoid unnecessary constructors - the compiler will generate these for you Warning

Avoid unnecessary constructors - the compiler will generate these for you