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] POC: Add support for additional dimensions in apm rules #143913

Conversation

sorenlouv
Copy link
Member

@sorenlouv sorenlouv commented Oct 24, 2022

This is a POC and currently only for demo purposes. Review not needed

Early POC (frontend only) for adding additional dimensions to APM rules. This aims to solve usecase 1 and three in the APM Alerting use cases.

By adding a new dimension (eg. transaction.type) the dimension will be added as a key to the multi_terms agg.
In the case of transaction.type, it will be possible to select "All", and be notified when any transaction group has a latency higher than the threshold. It will also be possible to create rules that only monitor a specific transaction group.

Note: needs design

We have three rule types in APM that will benefit from this, with the given dimensions:

  • Transaction Latency
    • Dimensions: transaction.name, container.id, kubernetes.pod.name, service.version
  • Failed transaction rate
    • Dimensions: transaction.name, container.id, kubernetes.pod.name, service.version
  • Error count
    • Dimensions: error.grouping_key, transaction.name, container.id, kubernetes.pod.name, service.version

@elastic elastic deleted a comment from kibana-ci Oct 27, 2022
@sorenlouv sorenlouv closed this Feb 15, 2023
@sorenlouv sorenlouv deleted the alerting-poc-for-additional-dimension branch April 12, 2024 11:00
@sorenlouv sorenlouv restored the alerting-poc-for-additional-dimension branch April 12, 2024 11:00
@sorenlouv sorenlouv deleted the alerting-poc-for-additional-dimension branch April 12, 2024 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant