[Monitoring] Rename ccr fields based on changes in ES#24519
[Monitoring] Rename ccr fields based on changes in ES#24519chrisronline merged 5 commits intoelastic:masterfrom
Conversation
💔 Build Failed |
|
Here's the relevant PR on the ES side: elastic/elasticsearch#34836 |
There was a problem hiding this comment.
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?
| '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.
this should be operations_written.
| '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.
this one should be failed_read_requests
| "oldestStat": { | ||
| "number_of_failed_fetches": 0, | ||
| "number_of_operations_indexed": 1 | ||
| "operations_read": 1 |
| "number_of_operations_indexed": 86, | ||
| "fetch_exceptions": [], | ||
| "time_since_last_fetch_millis": 19886 | ||
| "operations_read": 86, |
|
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)