Skip to content

Better OTel SDK config on Jenkins build agents (#1010)

ci.jenkins.io / Code Coverage succeeded Jan 9, 2025

Line Coverage: 76.70% (+5.89%), Branch Coverage: 46.67% (-3.93%)

Summary for modified lines

  • 267 lines have been modified
  • 24 lines are not covered
  • 15 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% (25/25) 91.43% (128/140) 82.93% (170/205) 58.26% (913/1567) 64.78% (3712/5730) 47.30% (877/1854) 61.52% (16023/26047)
📈 Overall project (difference to reference job) +0.00% +0.00% +1.92% ⬆️ +1.20% ⬆️ +0.38% ⬆️ +0.10% ⬆️ -0.39% ⬇️ +0.19% ⬆️
🐾 Modified files 100.00% (1/1) 100.00% (8/8) 100.00% (15/15) 92.00% (23/25) 64.18% (215/335) 70.81% (1026/1449) 50.60% (296/585) 68.86% (5203/7556)
📈 Modified files (difference to reference job) n/a n/a n/a n/a n/a +0.18% ⬆️ -1.15% ⬇️ n/a
🐾 Modified code lines 100.00% (1/1) 87.50% (7/8) 86.67% (13/15) n/a n/a 76.70% (79/103) 46.67% (14/30) n/a
📈 Modified code lines (difference to modified files) n/a n/a n/a n/a n/a +5.89% ⬆️ -3.93% ⬇️ n/a
🐾 Indirect changes 0.00% (0/1) 0.00% (0/2) 0.00% (0/2) n/a n/a 0.00% (0/10) 0.00% (0/6) n/a

Annotations

Check warning on line 87 in src/main/java/io/jenkins/plugins/opentelemetry/job/log/OtelLogStorageFactory.java

See this annotation in the file changed.

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

Partially covered line

Line 87 is only partially covered, 2 branches are missing

Check warning on line 80 in src/main/java/io/jenkins/plugins/opentelemetry/job/OtelEnvironmentContributorService.java

See this annotation in the file changed.

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

Partially covered line

Line 80 is only partially covered, one branch is missing

Check warning on line 187 in src/main/java/io/jenkins/plugins/opentelemetry/job/MonitoringRunListener.java

See this annotation in the file changed.

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

Not covered line

Line 187 is not covered by tests

Check warning on line 196 in src/main/java/io/jenkins/plugins/opentelemetry/job/MonitoringRunListener.java

See this annotation in the file changed.

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

Not covered line

Line 196 is not covered by tests

Check warning on line 550 in src/main/java/io/jenkins/plugins/opentelemetry/JenkinsOpenTelemetryPluginConfiguration.java

See this annotation in the file changed.

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

Not covered lines

Lines 390-550 are not covered by tests

Check warning on line 140 in src/main/java/io/jenkins/plugins/opentelemetry/OpenTelemetryConfiguration.java

See this annotation in the file changed.

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

Not covered line

Line 140 is not covered by tests

Check warning on line 149 in src/main/java/io/jenkins/plugins/opentelemetry/OpenTelemetryConfiguration.java

See this annotation in the file changed.

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

Not covered line

Line 149 is not covered by tests

Check warning on line 84 in src/main/java/io/jenkins/plugins/opentelemetry/OtelUtils.java

See this annotation in the file changed.

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

Not covered line

Line 84 is not covered by tests

Check warning on line 256 in src/main/java/io/jenkins/plugins/opentelemetry/OtelUtils.java

See this annotation in the file changed.

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

Not covered lines

Lines 255-256 are not covered by tests

Check warning on line 84 in src/main/java/io/jenkins/plugins/opentelemetry/servlet/StaplerInstrumentationServletFilter.java

See this annotation in the file changed.

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

Not covered line

Line 84 is not covered by tests

Check warning on line 57 in src/main/java/io/jenkins/plugins/opentelemetry/semconv/ConfigurationKey.java

See this annotation in the file changed.

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

Not covered line

Line 57 is not covered by tests

Check warning on line 92 in src/main/java/io/jenkins/plugins/opentelemetry/semconv/ConfigurationKey.java

See this annotation in the file changed.

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

Not covered lines

Lines 80-92 are not covered by tests

Check warning on line 56 in src/main/java/io/jenkins/plugins/opentelemetry/semconv/ConfigurationKey.java

See this annotation in the file changed.

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

Partially covered line

Line 56 is only partially covered, one branch is missing

Check warning on line 71 in src/main/java/io/jenkins/plugins/opentelemetry/authentication/BearerTokenAuthentication.java

See this annotation in the file changed.

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

Not covered lines

Lines 65-71 are not covered by tests

Check warning on line 67 in src/main/java/io/jenkins/plugins/opentelemetry/authentication/HeaderAuthentication.java

See this annotation in the file changed.

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

Not covered lines

Lines 61-67 are not covered by tests