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] Add links to create SLOs from Alerts and Rules dropdown #160024

Open
MiriamAparicio opened this issue Jun 20, 2023 · 2 comments
Open

[APM] Add links to create SLOs from Alerts and Rules dropdown #160024

MiriamAparicio opened this issue Jun 20, 2023 · 2 comments
Assignees
Labels
8.12 candidate Team:APM All issues that need APM UI Team support

Comments

@MiriamAparicio
Copy link
Contributor

As part of Integrate SLOs in APM we want to add links to SLO app on the Alerts and Rules dropdown.

What needs to be done

A link "Create SLO" should be added just above "Manage Rules".
Create SLO Menu item with:
Define APM Latency SLI (type: 'sli.apm.transactionDuration')
Define APM Availability SLI (type: 'sli.apm.transactionErrorRate')

In order to create the links with proper param we can check the work done for the SLO callout

const sloInput: RecursivePartial<CreateSLOInput> = {
    indicator: {
      type: 'sli.apm.transactionErrorRate',
      params: {
        service: serviceName,
        environment,
        transactionName: transactionName ?? '',
        transactionType: transactionType ?? '',
      },
    },
  };
  const sloParams = `?_a=${encode(sloInput)}`;
  const path = `/app/observability/slos/create${sloParams}`

image

@MiriamAparicio MiriamAparicio added Team:APM All issues that need APM UI Team support apm:release-feature APM UI - Release Feature Goal 8.10 candidate labels Jun 20, 2023
@elasticmachine
Copy link
Contributor

Pinging @elastic/apm-ui (Team:APM)

@graphaelli
Copy link
Member

There seems to be an issue with the current callout - #166765

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.12 candidate Team:APM All issues that need APM UI Team support
Projects
None yet
Development

No branches or pull requests

5 participants