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 tracing instrumentation for indexing paths #10962

Merged
merged 1 commit into from
Oct 27, 2023

Conversation

rayshrey
Copy link
Contributor

Description

Auto-backport for this PR failed.
Manually raising a PR to backport changes to 2.x

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • New functionality includes testing.
    • All tests pass
  • New functionality has been documented.
    • New functionality has javadoc added
  • Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
  • Commits are signed per the DCO using --signoff
  • Commit changes are listed out in CHANGELOG.md file (See: Changelog)
  • Public documentation issue/PR created

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

)

* Add tracing instrumentation for indexing paths

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Fix failing tests and review changes

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Fix test failures due to Span not being properly closed

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Changes to spans in primary and replica actions

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Review comments fixes and refactoring

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Precommit auto-changes

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Add refresh policy as attribute

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Fix changelog entry

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Instrument primary/replica write in TransportWriteAction instead of TransportShardBulkAction

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Modify SpanBuilder

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* spotlessApply and precommit

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Change span names

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Pass Noop Tracer instead of injected tracer

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Reverting previous changes

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

* Remove tracer variable from TransportShardBulkAction

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>

---------

Signed-off-by: Shreyansh Ray <rayshrey@amazon.com>
@reta reta added backport PRs or issues specific to backporting features or enhancments v2.12.0 Issues and PRs related to version 2.12.0 labels Oct 27, 2023
@github-actions
Copy link
Contributor

Compatibility status:

Checks if related components are compatible with change 8339e14

Incompatible components

Incompatible components: [https://github.com/opensearch-project/performance-analyzer.git]

Skipped components

Compatible components

Compatible components: [https://github.com/opensearch-project/security-analytics.git, https://github.com/opensearch-project/security.git, https://github.com/opensearch-project/custom-codecs.git, https://github.com/opensearch-project/geospatial.git, https://github.com/opensearch-project/index-management.git, https://github.com/opensearch-project/notifications.git, https://github.com/opensearch-project/sql.git, https://github.com/opensearch-project/job-scheduler.git, https://github.com/opensearch-project/neural-search.git, https://github.com/opensearch-project/observability.git, https://github.com/opensearch-project/k-nn.git, https://github.com/opensearch-project/cross-cluster-replication.git, https://github.com/opensearch-project/alerting.git, https://github.com/opensearch-project/anomaly-detection.git, https://github.com/opensearch-project/asynchronous-search.git, https://github.com/opensearch-project/ml-commons.git, https://github.com/opensearch-project/common-utils.git, https://github.com/opensearch-project/performance-analyzer-rca.git, https://github.com/opensearch-project/reporting.git]

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@reta
Copy link
Collaborator

reta commented Oct 27, 2023

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@reta
Copy link
Collaborator

reta commented Oct 27, 2023

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@reta
Copy link
Collaborator

reta commented Oct 27, 2023

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@reta
Copy link
Collaborator

reta commented Oct 27, 2023

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

@reta
Copy link
Collaborator

reta commented Oct 27, 2023

@github-actions
Copy link
Contributor

Gradle Check (Jenkins) Run Completed with:

  • RESULT: UNSTABLE ❕
  • TEST FAILURES:
      1 org.opensearch.remotestore.RemoteStoreStatsIT.testDownloadStatsCorrectnessSinglePrimaryMultipleReplicaShards

@codecov
Copy link

codecov bot commented Oct 27, 2023

We're currently processing your upload. This comment will be updated when the results are available.

@reta reta merged commit d179a0a into opensearch-project:2.x Oct 27, 2023
68 checks passed
@rayshrey rayshrey deleted the 2.x branch November 2, 2023 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport PRs or issues specific to backporting features or enhancments v2.12.0 Issues and PRs related to version 2.12.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants