Create APM SLOs
APM SLOs provide a simplified, service-focused way to define reliability objectives for your applications. Instead of building custom queries, you choose whether to track Errors or Latency, and Coralogix applies standardized metrics and calculations behind the scenes.
SLO setup
Create a new SLO
To create a new Service Level Objective (SLO), go to APM, then SLO Center and select + Create SLO. Define the SLO details.
| Field | Description |
|---|---|
| Name | The unique name identifying your SLO. |
| Owner | Ownership defaults to the SLO creator. |
| Entity labels | (Optional) Metadata used for filtering SLOs. |
| Description | (Optional) Additional context or purpose of the SLO to clarify its scope and intent for other users. |
Select the SLO type
- Navigate to SLO type and select APM.
- Select Errors to track the percentage of requests completed successfully without errors or Latency to track request performance against a latency threshold.
Configure SLO
- Select a service to associate with the SLO.
- Apply Filters: use filters to narrow down the scope of the SLO before grouping (using label selections).
- Define timeframe and target: These parameters define the bounds of your error budget and ensure reliability goals are aligned with operational requirements.
- Time frame: a rolling window in which the SLO is evaluated against its target (for example, 7, 14, 21, 28 days).
- Target success rate: The percentage of good events required to meet the SLO (for example, 99.9% of requests should be successful).
- Select a service to associate with the SLO.
- Apply Filters: use filters to narrow down the scope of the SLO before grouping (using label selections).
- Define timeframe and target: These parameters define the bounds of your error budget and ensure reliability goals are aligned with operational requirements.
- Time frame: a rolling window in which the SLO is evaluated against its target (for example, 7, 14, 21, 28 days).
- Target success rate: The percentage of good events required to meet the SLO (for example, 99.9% of requests should be successful).
- Set up a time window to evaluate performance in fixed intervals of 1 or 5 minutes.
- Select the aggregation method for latency:
- Average: calculates average latency per time window, smoothing spikes to show overall performance.
- Percentile: evaluates tail latency to capture the slowest requests and their impact on user experience. Enter the desired percentile value (for example, P90, P95).
- Define Query threshold: use the dropdowns to select the operator (for example,
<,≥), set the threshold value (for example,30), and choose the unit (μs, ms, or s) required in each time window for the SLO evaluation.
Tip
- Filters can be adjusted through the builder.
- To preview the underlying PromQL query that Coralogix generates from your APM SLO configuration, select Show query (the
</>icon) in the top-right corner of the Configuration section. This applies to both Errors and Latency APM SLO types and updates as you change the configuration.
Preview and validate
The Preview panel on the right-hand side validates your SLO in real time, ranks the worst-performing permutations, and surfaces AI-generated suggestions for the target, metric fit, and query shape. For details, see Preview and validate SLOs.
Quick summary of what you see in the panel:
- Query validation: real-time checks on the SLO configuration with pass, warning, and fail statuses.
- SLO smart-tip: AI-suggested target, metric fit analysis, and query guidance based on your SLO's history.
- Status: the worst-performing permutations ranked by compliance, with per-permutation good/total counts and an overall state against your target.
Save or Save & Create Alert
- Select Create to create the SLO.
- Or select Save & create alert to immediately set up alerting based on the new SLO.
SLO calculation example
For the SLO calculation example, see the APM SLO documentation.
Manage SLOs
View and manage your SLOs to track compliance and ensure service performance aligns with your reliability targets.
