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] Change host count KPI query #188757

Closed
crespocarlos opened this issue Jul 19, 2024 · 1 comment · Fixed by #188950
Closed

[Infra] Change host count KPI query #188757

crespocarlos opened this issue Jul 19, 2024 · 1 comment · Fixed by #188950
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:ObsHosts Hosts feature within Observability Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team

Comments

@crespocarlos
Copy link
Contributor

Summary

Hosts count KPI in the hosts view has to count only hosts collected by system module.

"should": [
  {
    "term": {
      "event.module": "system"
    }
  },
  {
    "term": {
      "metricset.module": "system"
    }
  }
],
"minimum_should_match": 1

We could create an endpoint an run the query in the server instead of doing in it on the client side https://github.com/elastic/kibana/blob/main/x-pack/plugins/observability_solution/infra/public/pages/metrics/hosts/hooks/use_host_count.ts#L30

Acceptance Criteria

  • Only hosts monitored with system integration are accounted for
@crespocarlos crespocarlos added Feature:ObsHosts Hosts feature within Observability Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team labels Jul 19, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-infra_services-team (Team:obs-ux-infra_services)

@smith smith added the bug Fixes for quality problems that affect the customer experience label Jul 19, 2024
@jennypavlova jennypavlova self-assigned this Jul 22, 2024
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:ObsHosts Hosts feature within Observability Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants