-
Notifications
You must be signed in to change notification settings - Fork 112
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
Index Management Action Metrics #1195
Index Management Action Metrics #1195
Conversation
Signed-off-by: harycash <harycash@amazon.com>
Signed-off-by: harycash <harycash@amazon.com>
… Integration Signed-off-by: harycash <harycash@amazon.com>
… Integration Signed-off-by: harycash <harycash@amazon.com>
Signed-off-by: harycash <harycash@amazon.com>
@bowenlan-amzn @Gaganjuneja @sarthakaggarwal97 @vikasvb90 @r1walz @ankitkala |
Signed-off-by: harycash <harycash@amazon.com>
Signed-off-by: harycash <harycash@amazon.com>
Signed-off-by: harycash <harycash@amazon.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you show the metrics results with a Otel setup? Want to get an idea on what's the end results look like for user.
And do this on multi-node environments
spi/src/main/kotlin/org.opensearch.indexmanagement.spi/indexstatemanagement/Step.kt
Outdated
Show resolved
Hide resolved
...search.indexmanagement.spi/indexstatemanagement/metrics/actionmetrics/DeleteActionMetrics.kt
Show resolved
Hide resolved
...ch.indexmanagement.spi/indexstatemanagement/metrics/actionmetrics/TransitionActionMetrics.kt
Show resolved
Hide resolved
...opensearch.indexmanagement.spi/indexstatemanagement/metrics/IndexManagementActionsMetrics.kt
Show resolved
Hide resolved
Signed-off-by: harycash <harycash@amazon.com>
Signed-off-by: harycash <harycash@amazon.com>
Signed-off-by: harycash <harycash@amazon.com>
Signed-off-by: harycash <harycash@amazon.com>
Signed-off-by: harycash <harycash@amazon.com>
spi/src/main/kotlin/org.opensearch.indexmanagement.spi/indexstatemanagement/Step.kt
Show resolved
Hide resolved
spi/src/main/kotlin/org.opensearch.indexmanagement.spi/indexstatemanagement/Step.kt
Outdated
Show resolved
Hide resolved
...opensearch.indexmanagement.spi/indexstatemanagement/metrics/IndexManagementActionsMetrics.kt
Outdated
Show resolved
Hide resolved
...lin/org/opensearch/indexmanagement/indexstatemanagement/step/rollover/AttemptRolloverStep.kt
Outdated
Show resolved
Hide resolved
Signed-off-by: harycash <harycash@amazon.com>
9ab10b5
to
4d6176f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks @harshitakaushik-dev for taking this up. This would be really useful!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work!
The backport to
To backport manually, run these commands in your terminal: # Navigate to the root of your repository
cd $(git rev-parse --show-toplevel)
# Fetch latest updates from GitHub
git fetch
# Create a new working tree
git worktree add ../.worktrees/index-management/backport-2.x 2.x
# Navigate to the new working tree
pushd ../.worktrees/index-management/backport-2.x
# Create a new branch
git switch --create backport/backport-1195-to-2.x
# Cherry-pick the merged commit of this pull request and resolve the conflicts
git cherry-pick -x --mainline 1 c5425a52e6e7d5fd0f87bf770436527c8911ee08
# Push it to GitHub
git push --set-upstream origin backport/backport-1195-to-2.x
# Go back to the original working tree
popd
# Delete the working tree
git worktree remove ../.worktrees/index-management/backport-2.x Then, create a pull request where the |
* Initial integration of TelemetryAwarePlugin to ISM Signed-off-by: harycash <harycash@amazon.com> * Initial integration of TelemetryAwarePlugin to ISM Signed-off-by: harycash <harycash@amazon.com> * Initial integration of TelemetryAwarePlugin to ISM with Rollover Step Integration Signed-off-by: harycash <harycash@amazon.com> * Initial integration of TelemetryAwarePlugin to ISM with Rollover Step Integration Signed-off-by: harycash <harycash@amazon.com> * Additional actions metrics with requested changes from previous commit Signed-off-by: harycash <harycash@amazon.com> * Fixed Build Issues Signed-off-by: harycash <harycash@amazon.com> * Fixed Build Issues Signed-off-by: harycash <harycash@amazon.com> * Fixed Build Issues, Added new metric : Cumulative Latency Signed-off-by: harycash <harycash@amazon.com> * Fixed Build Issues, Added new metric : Cumulative Latency Signed-off-by: harycash <harycash@amazon.com> * Requested Changes and Addition of Metrics to all the remaining Actions Signed-off-by: harycash <harycash@amazon.com> * Updates on Action Metrics Signed-off-by: harycash <harycash@amazon.com> * Updates on Action Metrics Signed-off-by: harycash <harycash@amazon.com> * Build issues fixed Signed-off-by: harycash <harycash@amazon.com> * Build issues fixed Signed-off-by: harycash <harycash@amazon.com> --------- Signed-off-by: harycash <harycash@amazon.com> Co-authored-by: harycash <harycash@amazon.com> (cherry picked from commit c5425a5) Signed-off-by: harycash <harycash@amazon.com>
Description of changes:
CheckList:
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.
@bowenlan-amzn I have made the requested changes in the code as per your feedback. Could you kindly review it again? I will add the changes to the tests in the next iteration.
Here are the metrics results we have on Grafana with the OpenTelemetry (Otel) setup. Attached are metrics for Transition Cumulative Latency and Rollover Failure.