Skip to Content
KubeSense

Service Levels

Service Levels — Main UI

Service Levels allows you to define, track, and monitor Service Level Objectives (SLOs) for your applications and infrastructure, ensuring you meet reliability targets.

SLO Table Time Grain

The SLO table time grain is stored in the URL. Use the Primary, Daily, Weekly, and Monthly tabs above the table to switch views:

ViewDescription
PrimarySummary metrics for fixed windows (e.g. last 2 hrs / 24 hrs / 7 days / 28 days). No date timeline.
DailyTimeline columns at a day grain, with arrows to scroll the date window.
WeeklyTimeline columns at a week grain, with arrows to scroll the date window.
MonthlyTimeline columns at a month grain, with arrows to scroll the date window.

Overview

Service Level management is a core practice for SRE teams. KubeSense Service Levels helps you:

  • Define SLOs — Set reliability targets for your services (e.g., 99.9% availability, P95 latency < 200ms)
  • Track error budgets — Monitor how much of your error budget has been consumed
  • Burn rate alerts — Get notified when your error budget is being consumed too quickly
  • Historical SLO reporting — Review SLO compliance over time

Key Concepts

Service Level Indicator (SLI)

A quantitative measure of a service's behavior. Common SLIs include:

  • Availability — Proportion of successful requests
  • Latency — Proportion of requests faster than a threshold
  • Throughput — Request rate staying within expected bounds
  • Error rate — Proportion of requests that result in errors

Service Level Objective (SLO)

A target value for an SLI over a time window. For example:

  • "99.9% of requests succeed over a 30-day rolling window"
  • "95% of requests complete in under 200ms over a 7-day window"

Error Budget

The allowed amount of unreliability, derived from the SLO. For a 99.9% availability SLO:

  • Error budget = 0.1% of total requests
  • Over 30 days, that's approximately 43.2 minutes of downtime

SLO Configuration

Define SLOs using:

  • Count-based SLOs — Good events / total events (e.g., successful requests / total requests)
  • Time-based SLOs — Good time slices / total time slices (e.g., minutes where latency < threshold)
  • Alert-uptime SLOs — Time that selected alert rules remain non-firing

Editing and evaluation history

KubeSense keeps the evaluations for each SLO definition separate. An edit that changes how the SLO is evaluated creates a new evaluation version; previous versions remain available for historical investigation.

The following changes create a new version:

  • SLI metric, queries, filters, grouping, or SLO type
  • Target or warning target
  • Time-slice threshold or operation
  • Evaluation interval, rolling window, or an explicit evaluation start time

Changing the name, description, service metadata, notification channels, configured SLO alert types, or active/paused status updates the active version in place.

The evaluator advances its own evaluation start time as it completes rolling windows. Leave that value unchanged when making a metadata-only edit so the latest evaluator position is retained.

Error Budget Tracking

  • Remaining budget — Percentage of error budget remaining
  • Burn rate — Rate at which error budget is being consumed
  • Budget forecast — Projected budget exhaustion date based on current burn rate

SLO Dashboard

SLO Dashboard — Graphs

SLO Dashboard — Table

  • Per-service SLO status at a glance
  • Error budget consumption trends
  • SLO compliance history over the selected time range — use the time picker to set the window
  • The Burn Rate, Error Budget Burndown and Good / Bad Events charts share one crosshair: hover a time on one to see it on all three

Burn Rate Alerts

Automatic alerting when error budget consumption exceeds expected rates:

  • Fast burn — Immediate notification for rapid budget consumption
  • Slow burn — Warning when steady degradation will exhaust the budget within the window

SLO-based alerts

You can also create a native alert that queries an SLO's burn rate or remaining error budget. Select the SLO, choose the signal, and choose whether the alert applies to the overall SLO or each group independently.

Create an SLO burn-rate alert

For a burn-rate alert, choose a whole-hour long window from 1 to 48 hours. The alert also evaluates the last five minutes; both windows must breach before the alert fires. This combines fast detection with a longer-term signal and reduces alerts caused by a short spike.

SLO-generated burn-rate and error-budget alerts are managed by their SLO. Edit their alert type and notification channels from the SLO rather than editing the generated alert rule directly. When an evaluation-definition edit creates a new SLO version, generated alerts begin querying that version; active alerts from the old definition are closed and the rule state is reset. Metadata-only edits update the generated rules without resetting their active state.

SLOs on services and infrastructure

Each SLO also shows where it applies. Tables of services and infrastructure have an SLOs column, and their detail drawers have an SLOs tab, listing the SLOs tied to that row with their status.

PageColumnTab
APM → Services and the service pageYes, sortableYes
Infrastructure → Kubernetes: Deployments, StatefulSets, DaemonSets, ReplicaSets, Jobs, CronJobsYes, by the workloadYes
Infrastructure → Kubernetes: Nodes, PodsYesYes
Infrastructure → VM: hosts and containers; Docker and ECS containersYesYes
Infrastructure → Cloud resources, Database MonitoringYesYes

The column's badge counts the row's SLOs in the worst status, for example 1 Breached or 2 OK; hover it to see each SLO with its remaining error budget. The tab lists each SLO's status, how it is tied, compliance and remaining budget, and shows a dot while one is breached or in warning. Both appear when Service Levels is enabled and your role can view SLOs. See Services → SLOs for the statuses.

How an SLO is tied to a row

An SLO is tied to a service, pod, node, host, container, cloud resource or database in one of these ways, checked in this order:

  • Service fields. The SLO's own workload, namespace and cluster name a service.
  • Group by. The SLO groups by the field that names the row: workload for services, pod, node_name for nodes and hosts, container_name, server for databases. Each row then shows its own group's status, compliance and budget, measured over the last 30 days, and opening the SLO from the row opens that group.
  • Filter. The SLO's total-events query is filtered to that one row: an equality filter on a logs or traces field such as workload, pod, node_name, container or server, or the same label in every selector of a metrics (PromQL) query. Filtering namespace and cluster as well ties it to one row only. A filter with several values, a regular expression or a variable ties it to nothing.

Nodes and VM hosts are both named by node_name in traces, so an SLO filtered or grouped by node_name is listed on a node or a VM host of that name, whichever exists.

Getting Started

Open Service Levels from the sidebar to create and monitor SLOs.

On this page