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

[Backport 2.x] Add request tracing framework (#7648) #8343

Merged
merged 1 commit into from
Jul 4, 2023

Conversation

suranjay
Copy link
Contributor

@suranjay suranjay commented Jun 29, 2023

Backport below changes,

  • Add request tracing framework

  • Introduce ThreadContextStatePropagator to propagate request and transient headers within ThreadContext

Cherry-picked commit: 03bc192

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2023

Gradle Check (Jenkins) Run Completed with:

@github-actions
Copy link
Contributor

github-actions bot commented Jul 3, 2023

Gradle Check (Jenkins) Run Completed with:

Signed-off-by: suranjay <surajkumar.tu@gmail.com>
@github-actions
Copy link
Contributor

github-actions bot commented Jul 4, 2023

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.search.SearchWeightedRoutingIT.testStrictWeightedRoutingWithCustomString
      1 org.opensearch.remotestore.SegmentReplicationUsingRemoteStoreIT.testDropPrimaryDuringReplication

@codecov
Copy link

codecov bot commented Jul 4, 2023

Codecov Report

Merging #8343 (dba020b) into 2.x (3fdc5b7) will decrease coverage by 0.02%.
The diff coverage is 77.25%.

@@             Coverage Diff              @@
##                2.x    #8343      +/-   ##
============================================
- Coverage     70.68%   70.66%   -0.02%     
- Complexity    56969    57049      +80     
============================================
  Files          4717     4736      +19     
  Lines        269776   270042     +266     
  Branches      39886    39900      +14     
============================================
+ Hits         190686   190837     +151     
- Misses        62717    62802      +85     
- Partials      16373    16403      +30     
Impacted Files Coverage Δ
...rg/opensearch/telemetry/tracing/SpanReference.java 0.00% <0.00%> (ø)
...pensearch/common/settings/FeatureFlagSettings.java 50.00% <ø> (ø)
...racing/ThreadContextBasedTracerContextStorage.java 16.66% <16.66%> (ø)
.../opensearch/telemetry/tracing/noop/NoopTracer.java 25.00% <25.00%> (ø)
server/src/main/java/org/opensearch/node/Node.java 85.08% <27.27%> (-0.89%) ⬇️
...pensearch/telemetry/tracing/NoopTracerFactory.java 50.00% <50.00%> (ø)
...elemetry/tracing/OTelTracingContextPropagator.java 75.00% <75.00%> (ø)
...va/org/opensearch/telemetry/TelemetrySettings.java 75.00% <75.00%> (ø)
...search/telemetry/tracing/OTelTracingTelemetry.java 82.35% <82.35%> (ø)
...rg/opensearch/telemetry/tracing/OTelTelemetry.java 83.33% <83.33%> (ø)
... and 14 more

... and 482 files with indirect coverage changes

@shwetathareja shwetathareja merged commit bee424e into opensearch-project:2.x Jul 4, 2023
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.

2 participants