Skip to content

Add jicoco-tracing package - #240

Merged
bgrozev merged 9 commits into
jitsi:masterfrom
JulianGCalderon:tracing
Aug 5, 2026
Merged

Add jicoco-tracing package#240
bgrozev merged 9 commits into
jitsi:masterfrom
JulianGCalderon:tracing

Conversation

@JulianGCalderon

@JulianGCalderon JulianGCalderon commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Adds tracing utilities shared between Jicofo and JVB:

  • TracingConfig reads tracing related options from global config.
  • TracingGlobal holds a global OpenTelemetrySdk instance, initialized with TracingConfig options.
  • TracingUtil has utility functions.

Related to the tracing backend GSoC project: https://summerofcode.withgoogle.com/programs/2026/projects/GseggmSv

@jitsi-jenkins

Copy link
Copy Markdown

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

Comment thread jicoco-tracing/src/main/kotlin/org/jitsi/tracing/TracingConfig.kt
val otlpEndpoint: String by config {
"tracing.otlp-endpoint".from(JitsiConfig.newConfig)
}
val otlpProtocol: String by config {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as above

Comment thread jicoco-tracing/src/main/kotlin/org/jitsi/tracing/TracingUtil.kt
@bgrozev

bgrozev commented Jul 20, 2026

Copy link
Copy Markdown
Member

jenkins add to whitelist

@JulianGCalderon
JulianGCalderon marked this pull request as ready for review July 21, 2026 11:33
Comment thread jicoco-tracing/src/main/kotlin/org/jitsi/tracing/TracingConfig.kt
@codecov

codecov Bot commented Jul 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 56.09756% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 35.99%. Comparing base (8047337) to head (21e3b9d).
⚠️ Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
...src/main/kotlin/org/jitsi/tracing/TracingGlobal.kt 0.00% 17 Missing ⚠️
...src/main/kotlin/org/jitsi/tracing/TracingConfig.kt 92.85% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master     #240      +/-   ##
============================================
+ Coverage     34.70%   35.99%   +1.29%     
- Complexity      162      167       +5     
============================================
  Files            36       39       +3     
  Lines          1383     1439      +56     
  Branches        140      144       +4     
============================================
+ Hits            480      518      +38     
- Misses          870      888      +18     
  Partials         33       33              
Files with missing lines Coverage Δ
...g/src/main/kotlin/org/jitsi/tracing/TracingUtil.kt 100.00% <100.00%> (ø)
...src/main/kotlin/org/jitsi/tracing/TracingConfig.kt 92.85% <92.85%> (ø)
...src/main/kotlin/org/jitsi/tracing/TracingGlobal.kt 0.00% <0.00%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Harness.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8047337...21e3b9d. Read the comment docs.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

jitsi-ci Bot pushed a commit to jitsi/jitsi-pr-tests-pages that referenced this pull request Jul 24, 2026
bgrozev added 3 commits August 4, 2026 18:41
Disables metaconfig caching for the module's Kotest run (matching the
convention in jicofo/jvb), otherwise a config property's first-read
value is memoized for the rest of the test suite.
…case-insensitively

Uses org.jitsi.metaconfig.ConfigException.UnableToRetrieve.WrongType instead of
a bare Exception, matching the exception hierarchy the config values already
come through.
@bgrozev

bgrozev commented Aug 4, 2026

Copy link
Copy Markdown
Member

jenkins please test this please

jitsi-ci Bot pushed a commit to jitsi/jitsi-pr-tests-pages that referenced this pull request Aug 5, 2026
@bgrozev
bgrozev merged commit d754d3d into jitsi:master Aug 5, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants