Lightstep Observability’s Service Health page provides a quick performance overview for operations on your services.
All your services are listed on the left. When you select a service, sparkline charts for the service’s operations show you the latency, error rate, and operation rate over a given time range (the default is an hour). Larger charts for the same SLIs are shown on the right.
An operation is a named span that represents a piece of the system’s workflow, generated by your instrumentation. Microsatellites collect this data in real-time from spans and send it to the SaaS platform.
You notice that the customer-facing
iOS service is suddenly experiencing an increase in its error rate on the
You want to find out why, but first, let’s understand what’s shown on this page.
The first thing you might notice is that not all your operations are shown for the service. Only the Key Operations (operations whose performance is strategic to the health of your system) are listed. By default, Lightstep Observability selects ingress operations (the first operations handling external requests from outside that service) as your Key Operations, as they are typically the “endpoints” for your service. If something is “wrong” with them, it’s likely to affect everything upstream (in this case, your customer).
You might have some ingress operations that simply provide “busy-work” internally and aren’t strategic to the system’s health. When that’s the case, you can edit the Key Operations to be those that you know are integral to system health.
Lightstep Observability measures and records the amount of change over time for you and surfaces that degree of change in a few ways.
First, the operations are ordered by the magnitude of change, from highest to lowest across the three measures (latency, error rate, and operation rate). Second, Lightstep Observability displays change bars (like thermometers) representing the degree of change for each of these measures. The more yellow in the bar, the more change that has happened.
More About How Lightstep Observability Measures Change
When determining what has changed in your services, Lightstep Observability compares the SLI of the baseline SLI timeseries to the comparison SLI timeseries. Those time periods are determined using the data currently visible in the charts.
You can change the amount of time displayed using the time period dropdown at the top right of the page.
The baseline and comparison time periods are determined as follows:
If there is one or more deployment markers visible:
- For latency and error rates, Lightstep Observability compares the performance after the selected version to performance in all other versions.
- For operation rate, it compares the rate before the deployment marker to after the deployment marker.
If there are no deployment markers visible:
Lightstep Observability compares the performance of the first half of the time period to the second half.
Only changes that are relative (i.e. a change of 10ms to 500ms is ranked higher than one of 1s to 2s) are considered. The yellow bars on the sparkline chart indicate the amount of change. Lightstep Observability measures two aspects of change: size and continuity. A full bar indicates that a large, sustained change has happened. Smaller bars indicate either a smaller change or one that did not last for the full time period.
The yellow bar means that an SLI had an objectively large change, regardless of service or operation. Lightstep’s algorithm runs on each SLI independently. For example, when the bar displays for an operation’s latency, that means latency has changed – not that its change was greater compared to the other SLIs.
What we know so far:
- There’s a latency spike in the
/api/update-inventoryoperation. This is an ingress operation on a service that is surfaced directly to the customer.
- The change bar tell us that the latency is an anomaly - it’s not something that repeatedly happened in the recent past.
- There wasn’t a deployment of the
iOSservice. If there was, Lightstep Observability would display deployment markers in the chart.
Let’s start the error investigation by comparing performance from the regression with a time range where we know things were ok. We still don’t know where the issue is coming from (it could be from this operation, but it might also be deep in the stack, propagating up to this operation).
What did we learn?
- Lightstep Observability shows you performance sparkline charts (latency, error rate, and operation rate) for the Key (ingress) Operations on a service.
- Lightstep Observability measures the amount of change for you. No need to guess whether a change is a problem.