Skip to main content
Sumo Logic

Metric Query Error Messages

Sumo issues errors when metric queries run too long or match too many time series.

This page describes error messages that are presented for long-running metric queries and metric queries that return too many results.

Too many time series

When a metric query returns more than 300 time series, Sumo limits the number of time series in the visualization and any aggregate calculations, and presents a message like this:

Too many time-series matched '(query-selectors)'. Displaying n of m+ matching series. Add more filters to select fewer time series or apply an aggregation function

Where: 

  • query-selectors are the selectors you used in your query.
  • n is the number of time series displayed in the visualization.
  • m is the number of time series that matched your query.

The solution is to add additional selectors to your query to reduce the number of time series returned, for example by adding additional tag=value pairs to the query.  For more information, see Filter Time Series

Long-running metric query

When a metric query runs for 30 seconds, it will time out, and Sumo will present a message like this:

The metrics query timed out. Please consider making the query more selective.

The error might results from the query matching too many time series, but it could also be caused by other conditions, for instance a backend failure or problem.