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

[Infra Monitoring UI] KQL auto-completion does not work #137267

Closed
weltenwort opened this issue Jul 27, 2022 · 1 comment · Fixed by #137908
Closed

[Infra Monitoring UI] KQL auto-completion does not work #137267

weltenwort opened this issue Jul 27, 2022 · 1 comment · Fixed by #137908
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Logs UI Logs UI feature Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services

Comments

@weltenwort
Copy link
Member

Kibana version: main as of 57f7a48

Original install method (e.g. download page, yum, from source, etc.): from source

Describe the bug:

The auto-completion in the filter bar does not work since #129977 introduced an implicit dependency on the unified-search plugin without actually adding it to the dependencies and without injecting the required service into the React context.

Steps to reproduce:

  1. Set up a cluster with logs or metrics.
  2. Navigate to the Logs UI or Inventory.
  3. Start typing a field name that you know to exist in the query bar.
  4. Observe that no auto-completion suggestions are displayed.

Expected behavior:

Suggestions for auto-completing the field names and values are shown when typing in the query bars.

Any additional context:

In

this.props.kibana.services.unifiedSearch?.autocomplete.hasQuerySuggestions(language);
the component tries to access the unifiedSearch service, but it has not been added to the plugin context.

@weltenwort weltenwort added the bug Fixes for quality problems that affect the customer experience label Jul 27, 2022
@botelastic botelastic bot added the needs-team Issues missing a team label label Jul 27, 2022
@weltenwort weltenwort added Feature:Metrics UI Metrics UI feature Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Jul 27, 2022
@elasticmachine
Copy link
Contributor

Pinging @elastic/infra-monitoring-ui (Team:Infra Monitoring UI)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Logs UI Logs UI feature Feature:Metrics UI Metrics UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants