SLO/R is a New Relic One Application intended to calculate SLO attainment for a Service. It allows you to quickly define SLOs for Error, Availability, Capacity, and Latency conditions.
By measuring SLO attainment across your Service estate you will be able to determine which signals are most important for a given Service, or set of Services developed and supported by a Team/Organization. Using New Relic as a consistent basis to define and measure your SLOs offers better insight into comparative SLO attainment in your service delivery organization.
SLO/R provides two mechanisms for calculating SLOs: Error Type (calculated by defects on transactions) and Availability, Capacity, and Latency Type (calculated by total duration of Alert violation).
We are keen to see SLO/R evolve and have many additional features and visualizations to include. For version 1.0.1 we wanted to ship the core SLO calculation capabilities. We expect to rapidly build upon this core through several releases. Please add an issue to the repo is there is a feature you would like to see.
SLO/R is intended to work specifically with Services reporting to New Relic via an APM Agent. The Service provides an Entity upon which to define SLOs. Error Budget SLOs are defined directly from APM Transaction events in Insights, the other SLO types are defined with Alerts (see “Configuring SLOR Alert Webhook” section below).
A New Relic Alert webhook to forward Alert events to a SLOR_ALERTS Insights table. See “Configuring SLOR Alert Webhook” section of the README for more details.
Clone this Nerdpack
nr1 nerdpack:clone -r https://github.com/newrelic/nr1-slo-r.git cd nr1-slo-r nr1 nerdpack:serve
Deploying this Nerdpack
Open a command prompt in the nerdpack’s directory and run the following commands.
# If you need to create a new uuid for the account to which you're deploying this Nerdpack, use the following # nr1 nerdpack:uuid -g [--profile=your_profile_name] # to see a list of APIkeys / profiles available in your development environment, run nr1 credentials:list nr1 nerdpack:publish [--profile=your_profile_name] nr1 nerdpack:deploy [-c [DEV|BETA|STABLE]] [--profile=your_profile_name] nr1 nerdpack:subscribe [-c [DEV|BETA|STABLE]] [--profile=your_profile_name]
Visit https://one.newrelic.com, navigate to the Nerdpack via the