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

[APM] Improving KQL bar in APM rule types #187866

Open
kpatticha opened this issue Jul 9, 2024 · 3 comments
Open

[APM] Improving KQL bar in APM rule types #187866

kpatticha opened this issue Jul 9, 2024 · 3 comments
Labels
bug Fixes for quality problems that affect the customer experience sdh-linked Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team Team:obs-ux-management Observability Management User Experience Team

Comments

@kpatticha
Copy link
Contributor

internal SDH (https://github.com/elastic/sdh-apm/issues/1387)

Latency threshold rule and Failed transaction rate threshold rule use the following indices by default

  • Metrics indices: metrics-apm*,apm-* (aggregated transaction documents)

Error count threshold rule

  • Error indices: logs-apm*,apm-*

The problem

The KQL bar allows the user to select and filter on fields that don't exist in the documents which is misleading

For example, url.path field exists in transaction events but not in the aggregated metric documents.

Proposal

  1. Fallback to query transaction events when the KQL bar uses fields that don't exist in the aggregated documents. This is a better solution but more complicated to implement.
  2. KQL should only show and suggest fields that exist in the aggregated metric documents.
@botelastic botelastic bot added the needs-team Issues missing a team label label Jul 9, 2024
@kpatticha kpatticha added Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team Team:obs-ux-management Observability Management User Experience Team labels Jul 9, 2024
@elasticmachine
Copy link
Contributor

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

@elasticmachine
Copy link
Contributor

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

@botelastic botelastic bot removed the needs-team Issues missing a team label label Jul 9, 2024
@smith smith added sdh-linked bug Fixes for quality problems that affect the customer experience labels Jul 9, 2024
@jasonrhodes
Copy link
Member

Possible solution: change the look up for APM rules to specify the indices used for that rule, and not include ALL indices specified by APM generally. This may not solve all the issues, but should make this better.

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 sdh-linked Team:obs-ux-infra_services Observability Infrastructure & Services User Experience Team Team:obs-ux-management Observability Management User Experience Team
Projects
None yet
Development

No branches or pull requests

4 participants