-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[Monitoring] Rename ccr fields based on changes in ES #24519
[Monitoring] Rename ccr fields based on changes in ES #24519
Conversation
💔 Build Failed |
Here's the relevant PR on the ES side: elastic/elasticsearch#34836 |
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 @chrisronline . I left some comments. I also wanted to double check that the ui change to accomodate the move from a leader cluster to a remote cluster?
@@ -32,7 +32,7 @@ async function getCcrStat(req, esIndexPattern, filters) { | |||
filterPath: [ | |||
'hits.hits._source.ccr_stats', | |||
'hits.hits._source.timestamp', | |||
'hits.hits.inner_hits.oldest.hits.hits._source.ccr_stats.number_of_operations_indexed', | |||
'hits.hits.inner_hits.oldest.hits.hits._source.ccr_stats.operations_read', |
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.
this should be operations_written
.
@@ -32,7 +32,7 @@ async function getCcrStat(req, esIndexPattern, filters) { | |||
filterPath: [ | |||
'hits.hits._source.ccr_stats', | |||
'hits.hits._source.timestamp', | |||
'hits.hits.inner_hits.oldest.hits.hits._source.ccr_stats.number_of_operations_indexed', | |||
'hits.hits.inner_hits.oldest.hits.hits._source.ccr_stats.operations_read', | |||
'hits.hits.inner_hits.oldest.hits.hits._source.ccr_stats.number_of_failed_fetches', |
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.
this one should be failed_read_requests
}, | ||
"timestamp": "2018-09-19T20:01:00.440Z", | ||
"oldestStat": { | ||
"number_of_failed_fetches": 0, | ||
"number_of_operations_indexed": 1 | ||
"operations_read": 1 |
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.
operations_written
"number_of_operations_indexed": 86, | ||
"fetch_exceptions": [], | ||
"time_since_last_fetch_millis": 19886 | ||
"operations_read": 86, |
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.
operations_written
Update here. I've verified that all tests pass locally but they will most likely continue to fail on CI until the snapshot the CI tool uses for ES is updated to reflect the latest changes on the ES side (@ruflin kicked off the build so it should be soon-ish). I propose we skip the tests that are failing in this PR so we can get green CI, then merge it in. I'll then open another PR where these tests are re-added and we merge that once CI is using the right snapshot and the tests are passing in the CI environment. Here are the tests passing locally with the latest ES build:
|
I talked with @bleskes @ruflin and @ycombinator about merging this PR before waiting for CI and we're in favor of it. Pinging @epixa for thoughts |
💚 Build Succeeded |
* Rename ccr fields based on changes in ES * More renames * Update archive data * Update snapshot * Skip the api integration tests for now
Backport: 6.x: 2182e27 |
PR to re-enable tests: #24600 |
Relates to elastic/elasticsearch#34703 and #23013
NOTE: This PR will fail CI and not work until the appropriate ES PR is merged. elastic/elasticsearch#34836
This PR updates the UI code to account for field names changing in ES. The changed fields are located here: elastic/elasticsearch#34703 (comment)