• /
  • Log in
  • Free account

Service level management: Questions and next steps

BETA FEATURE

This feature is currently in beta.

What permissions do I need to use New Relic's service levels?

Permission-related requirements for using New Relic service level management:

If you get the following errors, check your user permissions:

  • The UI has disabled the option to save an SLI/SLO.
  • The API returns the error message “Cannot query field \"eventExportRegisterRule\" on type \"RootMutationType\".”.

How do I get support from New Relic during the public beta?

Service level management is in public beta, and no official support is offered yet through the Support portal.

If you have general questions and feedback, please post them on the Explorers Hub. New Relic’s community and the product team will be glad to help you there.

If you have suggestions about documentation, please suggest an improvement or send your contribution using the Create issue or Edit page buttons on the top right corner in the docs UI.

Why don’t I see any data right after I create an SLI?

New Relic starts generating new SLI metrics from the moment that you create an SLI. This is why we need a few minutes before we can start showing the first meaningful SLI attainment results.

The benefit of the new data is that it has 13 month retention by default, and it’s more efficient to query for long periods of time.

Can I configure an SLI on any entity type?

Yes, you can configure an SLI on any entity type, such as an APM service, a browser application, or a Lambda function.

SLI queries support NRDB events. Support for dimensional metrics on SLI queries is on our roadmap.

Can I get alerts on SLI data?

Alerts on New Relic's service levels are on our roadmap.

How does New Relic calculate the remaining error budget?

The remaining error budget indicates what percentage of requests could still have a bad response over the SLO period without compromising the objective. Therefore, the total amount of tolerated bad responses will vary with the throughput of requests.

Time-based error budgets are on our roadmap.

How can I view the queries that define an SLI from the UI?

To view the queries that define an SLI, you can click on the ... menu on the SLI summary card, then select the Edit option. The queries will show at the top-right corner.

SLI edit menu

How can I view the queries that define an SLI through the API?

To view the queries that define an SLI through the API, use Nerdgraph. In order to view the SLI configuration, you'll need to know the GUID of the entity the SLI is attached to, and replace it in the following query:

{
actor {
entity(guid: "{entityGuid}") {
serviceLevel {
indicators {
events {
badEvents {
where
from
}
goodEvents {
from
where
}
validEvents {
from
where
}
}
name
}
}
}
}
}

As a response you are going to receive all the SLIs attached to the entity, the SLI name, and the queries. Keep in mind that either goodEvents or badEvents is going to have content, depending on the configuration of the SLI.

Can I chart the SLI attainment on a dashboard?

You can chart SLI attainment time series on your custom dashboards using the following query:

FROM Metric SELECT clamp_max((count(newrelic.sli.valid) - count(newrelic.sli.bad)) / count(newrelic.sli.valid) * 100, 100) as 'SLI attainment' WHERE sli.id = '<sli.id>' UNTIL 2 MINUTES AGO TIMESERIES AUTO

Where sli.id is the SLI identifier. The easiest way to add a chart like this to your dashboard is by using the Add to dashboard option, available on the Details view.

Add SLI attainment to dashboard

Alternatively, you can find the SLI id and SLI attainment query through the Nerdgraph API with the following query:

{
actor {
entity(guid: "{entityGuid}") {
serviceLevel {
indicators {
name
id
resultQueries {
indicator {
nrql
}
}
}
}
}
}
}

Use the entityGuid of the entity that's associated with the SLI. On the query results, you’ll get the SLI id in the serviceLevel.indicators.id field.

Create issueEdit page
Copyright © 2022 New Relic Inc.