Editing Time-Series Plots

The time-series data retrieved by the tsquery are displayed on different charts. By default, each time series is displayed on its own chart, using a Line style chart, a default size, and a default minimum and maximum for the Y-axis.

To change the chart-type, click one of the possible chart-types on the left: Line, Stack Area, Bar, and Scatter.

Grouping (Faceting) Time Series

Every time series returned by the query has a set of attributes associated with it. In this case, each time series will have a hostname, role type, metric, and entity name attribute. The charting function can group (or facet) the time series into different numbers of charts by considering these attributes. By default, all time series are plotted on their own chart (with facets set to All Separate) as shown in Searching for Time-Series Data. If serviceName is selected for the Faceting option for the query, the time series is grouped on four charts, one chart each for each service name. The charts for service types with multiple roles will show multiple lines (for example, HBase, HDFS) while services that have only one role (for example, ZooKeeper) will show just a single line.

Changing Dimensions and Axes

You can change the size of your charts by moving the DIMENSION slider. It moves in 50-pixel increments. If you have multiple charts, depending on the dimensions you specify and the size of your browser window, your charts may appear in rows of multiple charts.

The following chart shows the same query as the previous chart, but with All Combined selected (which shows all time series in a single chart) and with the DIMENSION slider used to expand the chart.

You can change the Y-axis range using the Y RANGE minimum and maximum fields.

The X-axis is based on clock time, and by default shows the last half hour of data. You can change the time range for your plot using the time range sets shown at the upper right of the window (right below the Time Range Selector) or by expanding or shrinking the Time Range Selector.