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

[RAC] [Metrics UI] Link inventory alert to the specific inventory item #106958

Closed
Tracked by #112545
mgiota opened this issue Jul 28, 2021 · 7 comments
Closed
Tracked by #112545

[RAC] [Metrics UI] Link inventory alert to the specific inventory item #106958

mgiota opened this issue Jul 28, 2021 · 7 comments
Labels
blocked Feature:Observability RAC Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" Theme: rac label obsolete

Comments

@mgiota
Copy link
Contributor

mgiota commented Jul 28, 2021

📝 Summary

In the Alerts Observability table alerts generated from the inventory rule type link at the moment to the default inventory metrics page '/app/metrics/inventory'. The link that needs to constructed depends on the node type information (pod, container or host) and looks like:

  • app/metrics/link-to/pod-detail/pod123456abcdef
  • app/metrics/link-to/container-detail/container123456abcdef
  • app/metrics/link-to/host-detail/227453131a17

✔️ Acceptance criteria

  • The alerts index should contain the node type,
  • Use the node type from the index to construct the link in the browser.

127153099-527238ad-a366-433a-b96f-51df8f4e88c9

@botelastic botelastic bot added the needs-team Issues missing a team label label Jul 28, 2021
@mgiota mgiota added the Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services label Jul 28, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jul 28, 2021
@mgiota mgiota added Feature:RAC label obsolete Feature:Observability RAC Theme: rac label obsolete and removed Feature:RAC label obsolete labels Jul 28, 2021
@weltenwort
Copy link
Member

Good issue description, thanks. A few thoughts on how to actually index the node type:

From what I understand the intention behind the RAC schema is to index the information into ECS fields in the alerts document whenever possible to allow cross-docment correllation of these alerts with the other data sources. So in this case that would mean depending on whether the node is a host, container or pod we'd index into host.hostname (or host.name?) or container.id. The link formatter can then check for existence of these fields without extra decoding, because they are already part of the ECS schema. I don't know what to do about the kubernetes.pod.id, which is not part of the official ECS mapping. 🤔

@weltenwort
Copy link
Member

Looks like kubernetes would be identified using

{
  "orchestrator.type": "kubernetes"  
}

but I don't see a way to identify the specific pod.

@jasonrhodes
Copy link
Member

@afgomez this is blocked on the RFC work you're doing, right? I think we should say this won't make 7.16

@afgomez
Copy link
Contributor

afgomez commented Mar 29, 2022

@mgiota is this issue still relevant or can it be closed?

@miltonhultgren miltonhultgren added Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" and removed Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services labels Jun 23, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/actionable-observability (Team: Actionable Observability)

@emma-raffenne
Copy link
Contributor

This ticket is old and probably deprecated, feel free to reopen it if it is still relevant and needed.

@emma-raffenne emma-raffenne closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked Feature:Observability RAC Team: Actionable Observability - DEPRECATED For Observability Alerting and SLOs use "Team:obs-ux-management", for AIops "Team:obs-knowledge" Theme: rac label obsolete
Projects
None yet
Development

No branches or pull requests

7 participants