Skip to content

Remove o11yphant dependency and all related code from indy#2544

Merged
shokakucarrier merged 4 commits intoCommonjava:masterfrom
shokakucarrier:ro11y
Mar 31, 2026
Merged

Remove o11yphant dependency and all related code from indy#2544
shokakucarrier merged 4 commits intoCommonjava:masterfrom
shokakucarrier:ro11y

Conversation

@shokakucarrier
Copy link
Copy Markdown
Member

@shokakucarrier shokakucarrier commented Mar 27, 2026

Remove the o11yphant metrics and tracing library entirely from the codebase:

  • Remove all dependency declarations from pom.xml files (root + 8 modules)
  • Remove @measure annotations, DefaultMetricsManager, Meter, Timer, MetricRegistry, and related metrics instrumentation code
  • Remove TraceManager, OtelUtil, and tracing instrumentation code
  • Gut metrics/trace subsystem classes (IndyMetricsConfig, IndyTraceConfiguration, TraceManagerProducer, IndyTrafficClassifier, IndyGoldenSignalsMetricSet, etc.)
  • Clean up Infinispan cache handles to remove metrics wrapping
  • Remove o11yphant interceptors from beans.xml and loggers from logback configs

Bump up kojiji and path-mapped-storage to latest SNAPSHOT to avoid transmission dependency of o11yphant

This PR depends on path-mapped-storage PR and kojiji PR
Before these two commit merge into repo, tests are expected to fail

Remove the o11yphant metrics and tracing library entirely from the codebase:
- Remove all dependency declarations from pom.xml files (root + 8 modules)
- Remove @measure annotations, DefaultMetricsManager, Meter, Timer,
  MetricRegistry, and related metrics instrumentation code
- Remove TraceManager, OtelUtil, and tracing instrumentation code
- Gut metrics/trace subsystem classes (IndyMetricsConfig, IndyTraceConfiguration,
  TraceManagerProducer, IndyTrafficClassifier, IndyGoldenSignalsMetricSet, etc.)
- Clean up Infinispan cache handles to remove metrics wrapping
- Remove o11yphant interceptors from beans.xml and loggers from logback configs

Bump up kojiji and path-mapped-storage to latest SNAPSHOT to avoid
transmission dependency of o11yphant
@sswguo
Copy link
Copy Markdown
Member

sswguo commented Mar 30, 2026

@shokakucarrier Can you make the CI passing first ?

@shokakucarrier
Copy link
Copy Markdown
Member Author

@sswguo now the tests are fixed

Copy link
Copy Markdown
Contributor

@ruhan1 ruhan1 left a comment

Choose a reason for hiding this comment

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

LGTM

@shokakucarrier shokakucarrier merged commit 76bace3 into Commonjava:master Mar 31, 2026
1 check 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