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

[7.x] [ML] DF Analytics: add results field to wizard and show regression stats (#70893) #71161

Merged

Conversation

alvarezmelissa87
Copy link
Contributor

Backports the following commits to 7.x:

…ats (elastic#70893)

* add results_field input in form. handle in cloning and editor

* update regression evaluate metrics

* add additional reg evaluation stats to expanded row and result panel

* update jest test

* resultsField: check for only spaces string in editor and form

* update getValuesFromResult to be less repetitive

* update types

* fix type name typo
@elasticmachine
Copy link
Contributor

Pinging @elastic/ml-ui (:ml)

@kibanamachine
Copy link
Contributor

💛 Build succeeded, but was flaky


Test Failures

Kibana Pipeline / kibana-xpack-agent / X-Pack Reporting API Integration Tests.x-pack/test/reporting_api_integration/reporting/csv_saved_search·ts.Reporting APIs Generation from Saved Search ID Merge user state into the query for query

Link to Jenkins

Standard Out

Failed Tests Reporter:
  - Test has not failed recently on tracked branches

[00:00:00]       │
[00:00:00]         └-: Reporting APIs
[00:00:00]           └-> "before all" hook
[00:01:18]           └-: Generation from Saved Search ID
[00:01:18]             └-> "before all" hook
[00:01:58]             └-: Merge user state into the query
[00:01:58]               └-> "before all" hook
[00:01:58]               └-> for query
[00:01:58]                 └-> "before each" hook: global before each
[00:01:58]                 │ info [reporting/scripted_small] Loading "mappings.json"
[00:01:58]                 │ info [reporting/scripted_small] Loading "data.json.gz"
[00:01:58]                 └- ✖ fail: "Reporting APIs Generation from Saved Search ID Merge user state into the query for query"
[00:01:58]                 │

Stack Trace

{ Error: [invalid_alias_name_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index_uuid="MoPPGD-xTNqnX-jnuPv71A" & index=".kibana" }
    at respond (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:349:15)
    at checkRespForFailure (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/transport.js:306:7)
    at HttpConnector.<anonymous> (/dev/shm/workspace/kibana/node_modules/elasticsearch/src/lib/connectors/http.js:173:7)
    at IncomingMessage.wrapper (/dev/shm/workspace/kibana/node_modules/lodash/lodash.js:4929:19)
    at endReadableNT (_stream_readable.js:1145:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  status: 400,
  displayName: 'BadRequest',
  message:
   '[invalid_alias_name_exception] Invalid alias name [.kibana], an index exists with the same name as the alias, with { index_uuid="MoPPGD-xTNqnX-jnuPv71A" & index=".kibana" }',
  path: '/.kibana_1',
  query: { include_type_name: false },
  body:
   { error:
      { root_cause: [Array],
        type: 'invalid_alias_name_exception',
        reason:
         'Invalid alias name [.kibana], an index exists with the same name as the alias',
        index_uuid: 'MoPPGD-xTNqnX-jnuPv71A',
        index: '.kibana' },
     status: 400 },
  statusCode: 400,
  response:
   '{"error":{"root_cause":[{"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana], an index exists with the same name as the alias","index_uuid":"MoPPGD-xTNqnX-jnuPv71A","index":".kibana"}],"type":"invalid_alias_name_exception","reason":"Invalid alias name [.kibana], an index exists with the same name as the alias","index_uuid":"MoPPGD-xTNqnX-jnuPv71A","index":".kibana"},"status":400}',
  toString: [Function],
  toJSON: [Function] }

Build metrics

✅ unchanged

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

@alvarezmelissa87 alvarezmelissa87 merged commit df74fdc into elastic:7.x Jul 9, 2020
@alvarezmelissa87 alvarezmelissa87 deleted the backport/7.x/pr-70893 branch July 9, 2020 00:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport Feature:Data Frame Analytics ML data frame analytics features :ml
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants