Delayed Nyse  -  04:00 2022-06-24 pm EDT
54.08 USD   +3.01%
06/10New Relic Named a Leader in the 2022 Gartner« Magic Quadrant™ for APM and Observability for 10th Consecutive Time
06/09INSIDER SELL : New Relic
06/07TRANSCRIPT : New Relic, Inc. Presents at Baird 2022 Global Consumer, Technology & Services Conference, Jun-07-2022 09:40 AM
SummaryMost relevantAll NewsAnalyst Reco.Other languagesPress ReleasesOfficial PublicationsSector news

New Relic : How to create programmatic service level indicators (SLIs)

01/19/2022 | 12:15pm EDT

At New Relic, we believe that programmatically tracked service level indicators (SLIs) are foundational to our site reliability engineering practice. When we have programmatic SLIs in place, we lessen the need to manually track performance and incident data. We're able to reduce that manual toil because our DevOps teams define the capabilities and metrics that define their SLI data, which they collect automatically-hence "programmatic."

Programmatic SLIs have three key characteristics:

  1. Current-they reflect the state of our system right now.
  2. Automated-they're reported by instrumentation, not by humans.
  3. Useful-they're selected based on what a system's users care about.

In this post, we'll explain how New Relic site reliability engineers (SREs) help their teams develop and create programmatic SLIs.

SLIs-identifying capabilities

An important part of creating programmatic SLIs is identifying the capability of the system or service for which you're creating the SLI. At New Relic, we use the following definitions:

  • A system is a group of services and infrastructure components that exposes one or more capabilities to external customers (either end users or other internal teams).
  • A service is a runtime process (or a horizontally-scaled tier of processes) that makes up a portion of a system.
  • A capability is a particular aspect of functionality exposed by a service to its users, phrased in plain-language terms.

You can create SLIs at any layer, but this post will focus primarily on system-level SLIs.

SLIs and SLOs-indicators and objectives

But first, we need some more definitions. An indicator is something you can measure about a system that acts as a proxy for the customer experience. An objective is a goal for a specific indicator that you're committed to achieving.

Indicator Objective
X should be true... Y portion of the time.

Configuring indicators and objectives is the easy part. The hard part is thinking through what measurable system behavior serves as a proxy for customer experience. When setting system-level SLIs, think about the key performance indicators (KPIs) for those systems, for example:

  • User-facing system KPIs most often include availability, latency, and throughput.
  • Storage system KPIs often emphasize latency, availability, and durability.
  • Big data systems, such as data processing pipelines, typically use KPIs such as throughput and end-to-end latency.

Your indicators and objectives should provide an accurate snapshot of the impact of your system on your customers.

A more precise description of the indicator and objective relationship is to say that SLIs are expressed in relation to service level objectives (SLOs). When you think about the availability of a system, for example, SLIs are the key measurements of the availability of the system while SLOs are the goals you set for how much availability you expect out of that system. And service level agreements (SLAs) explain the results of breaking the SLO commitments.

X should be true... Y portion of the time, or else.

So, as an example, consider the routing capability of a data-ingest tier. A plain-language definition for the data routing capability might look like: "Incoming messages are available for other systems to consume off the message bus without delay." With that definition then, we might establish the SLI and SLO as, "Incoming messages are available for other systems to consume off of our message bus within 500 milliseconds 99.xx% of the time."

Create programmatic SLIs

You should write your programmatic SLIs in collaboration with your product managers, engineering managers, and individual contributors who work on a system. To define your programmatic SLIs (and SLOs), apply these steps:

  1. Identify the system and its services.
  2. Identify the customer-facing capabilities of the system or services.
  3. Articulate a plain-language definition of what it means for each capability to be available.
  4. Define one or more SLIs for that definition.
  5. Measure the system to get a baseline.
  6. Define an SLO for each capability, and track how you perform against it.
  7. Iterate and refine our system, and fine-tune the SLOs over time.

Example capabilities and definitions

Here are two example capabilities and definitions for an imaginary team that manages an imaginary dashboard service:

Capability: Dashboards overview.

Availability Definition:Customers are able to select the dashboard launcher, and see a list of all dashboards available to them.

Capability: Dashboards detail view.

Availability Definition: Customers can view a dashboard, and widgets render accurately and timely manner.

To express these availability definitions as programmatic SLIs (with SLOs to measure them), you'd state these service capabilities as:

  • Requests for the full list of available dashboards returns within 100 milliseconds 99.9% of the time.
  • Requests to open the dashboard launcher complete without error 99.9% of the time.
  • Requests for an individual dashboard return within 100 milliseconds 99.9% of the time.
  • Requests to open an individual dashboard complete without error 99.9% of the time.

Automatically set up SLIs and SLOs with New Relic One

Managing all of these service level definitions and visualizations can be difficult if you need to start from scratch. It's like writing a long paper-it's always harder to get started when the page is blank.

Luckily, New Relic One's service level management functionality can help identify SLIs to start measuring and allow you to establish a baseline for SLOs. For example, the tool identifies the most common SLIs for a given service, most often some measurement of availability and latency, and it scans the historical data from a service to determine the best initial setup. Across the platform, you'll find ways to automatically set up SLIs, like we show here, or you can manually create them with NRQL queries.

If you're looking for a one-click setup to establish a baseline for SLIs and SLOs in New Relic, just follow these steps:

  1. Log in to New Relic One and select APM from the navigation menu at the top.
  2. Select the service entity where you'd like to establish SLIs.
  3. Then, on the left hand menu, scroll down to the Service Levels option and select it.
  4. You should see a screen similar to this:


New Relic Inc. published this content on 19 January 2022 and is solely responsible for the information contained therein. Distributed by Public, unedited and unaltered, on 19 January 2022 17:14:05 UTC.

ę Publicnow 2022
All news about NEW RELIC, INC.
06/10New Relic Named a Leader in the 2022 Gartner« Magic Quadrant™ for APM and Observa..
06/09INSIDER SELL : New Relic
06/07TRANSCRIPT : New Relic, Inc. Presents at Baird 2022 Global Consumer, Technology & Services..
06/06NEW RELIC, INC. : Entry into a Material Definitive Agreement, Change in Directors or Princ..
06/06New Relic Adds Board Members as Part of Ongoing Board Refresh
06/06New Relic, Inc. Announces Board Changes, Effective June 13, 2022
06/01TRANSCRIPT : New Relic, Inc. Presents at Cowen 50th Annual Technology, Media, and Telecom ..
05/23TRANSCRIPT : New Relic, Inc. Presents at J.P. Morgan’s 50th Annual Global Technology,..
05/19INSIDER SELL : New Relic
05/18TRANSCRIPT : New Relic, Inc. - Analyst/Investor Day
More news
Analyst Recommendations on NEW RELIC, INC.
More recommendations
Financials (USD)
Sales 2023 924 M - -
Net income 2023 -221 M - -
Net cash 2023 333 M - -
P/E ratio 2023 -17,6x
Yield 2023 -
Capitalization 3 619 M 3 619 M -
EV / Sales 2023 3,56x
EV / Sales 2024 2,98x
Nbr of Employees 2 217
Free-Float 80,0%
Duration : Period :
New Relic, Inc. Technical Analysis Chart | MarketScreener
Full-screen chart
Technical analysis trends NEW RELIC, INC.
Short TermMid-TermLong Term
Income Statement Evolution
Mean consensus OUTPERFORM
Number of Analysts 11
Last Close Price 54,08 $
Average target price 62,14 $
Spread / Average Target 14,9%
EPS Revisions
Managers and Directors
William Staples Chief Executive Officer & Director
Mark J Sachleben Chief Financial Officer & Secretary
Lewis Cirne Executive Chairman
Kristy Friedrichs Chief Operating Officer
Hope F. Cochran Vice Chairman & Lead Independent Director
Sector and Competitors
1st jan.Capi. (M$)
NEW RELIC, INC.-50.82%3 619
ADOBE INC.-31.63%172 618
AUTODESK, INC.-34.77%36 752
WORKDAY INC.-44.34%34 694