Skip to main content

Explorer Tab

The Explorer tab of the Performance Analyzer draws metrics on graphs. You can have several graphs. A graph holds up to two units; a metric whose unit does not fit the graph you are adding to goes to another graph. Use it to put two metrics side by side, for example the number of connections and the slowest query time, and see whether they move together.

The Explorer tab is on the Performance Analyzer page that covers all your data sources. It is not shown when you open the Performance Analyzer from inside one data source; you pick the data source in the tab itself.

Draw a graph​

  1. Open the Explorer tab.
  2. Open the Source list and pick a data source. You can type to search the list.
  3. In the Metrics panel on the left, click a metric to add it to the graph marked Adding here.
  4. Add more metrics to compare them. A metric whose unit does not fit that graph goes to another graph that fits, or to a new one. Click the X on a line's chip to remove it.
  5. Use 1h, 24h, 7d or 30d to change the time range. The default is 24h.

Until you pick a source, the tab says Pick a source to see its metrics. After you pick one and before you add a metric, it says Add a metric to draw it.

Picking a different source does not clear the lines you added. The Metrics panel lists the new source's metrics, and the lines you added stay, so one graph can hold lines of several sources. On a graph with lines from more than one source, each line's chip starts with its source name; on a one-source graph the chip shows the metric name only.

Work with several graphs​

The Graphs bar stays at the top while you scroll. It has one numbered chip for each graph and a + Add graph button.

  • Click a chip to scroll to that graph and make it the one you add to.
  • Click + Add graph to add an empty graph. It becomes the one you add to, and the page scrolls to it.
  • A new graph goes on top as Graph 1, and the other graphs move down one number.
  • The graph you add to is marked Adding here. The next metric you pick goes to it. If the graph already has two units and the metric has a third, the metric goes to another graph.

The tab has a fixed height. The metric list and the graphs scroll separately, so the list stays in view while you scroll the graphs.

The Metrics panel​

The panel lists the metrics of the source you picked, grouped under the headings latency, traffic, errors, saturation, size and cost. A metric with no such heading is listed under other. Each metric shows the icon of its data source. Hover a metric to see its unit. A + next to a metric means you can add it.

The list is narrow so the graphs get the room. Click the arrow at the top of the list to fold it into a thin rail, and click it again to open the list.

Use Search metrics to narrow the list. The search matches the metric name and the name of the metric group it belongs to.

A metric cannot be added when:

What the panel shows next to itWhy
Not collectedIts metric group is not being collected for this source, so there is nothing to draw
✓ 2The metric is already on graph 2. The number is that graph's number in the Graphs bar
At most 8 linesThe tab has room for 8 across all its graphs. A plain line takes one place; a split line takes two, however many key lines it draws. With a split, this reads At most 8 series (see Split a metric by a key)

If the list cannot be loaded, the panel says Could not load this source's metrics. and offers Retry. If the source has no metrics, it says This source has no metrics.

Reading the graph​

Each graph has a header, for example Graph 1 web-db · 3 lines · ms (left) and count (right). It names the source (when every line comes from one), the number of lines and the unit of each axis. Each line you add gets a chip above its graph with a letter, A to H, and the metric name (on a graph with lines from more than one source, the name starts with the source). The line keeps its letter and its colour while you add or remove other lines.

  • Two axes. A graph holds up to two units. The unit of the first metric you add is on the left axis. A metric with the other unit is drawn against the right axis, in its own unit. A metric with a third unit goes to another graph that fits, or to a new one. Lines with the same unit share an axis. When every line on the graph has the same unit, a line whose highest value is more than 50 times smaller than the largest line's moves to the right axis so it does not look flat. A line with no value above zero stays on the left. You can also choose the axis of each line yourself (see Graph settings).
  • Min-max band. Each line has a lighter band around it. The line is the value for each time step, and the band spans the lowest and highest values collected in that step. A line that adds up its collections (a sum) has no band.
  • The last point. The most recent time step may still be filling in. It is drawn as a hollow point, joined by a dashed line.
  • Gaps. When there is no value for a time step, the line breaks there. It is not joined across the gap.
  • Tooltip. Point at the graph to read the values.

The graph updates by itself once a minute while the tab is open, for the 1h and 24h ranges. The 7d and 30d ranges do not refresh by themselves. When you add a metric or change the range, the old graph stays on screen and Updating the graph… shows until the new one arrives.

Change how a line is calculated​

Each line chip has an Aggregation menu. It sets how the values collected in one time step are combined into the one value drawn for that step.

ChoiceWhat the line shows
DefaultThe way the metric is normally combined
avgThe average of the step
sumThe total of the step
minThe lowest value in the step
maxThe highest value in the step
p50, p90, p99The value that 50%, 90% or 99% of the step's values stay at or under

Some choices are greyed, with the reason shown next to them:

  • sum is greyed when adding the values means nothing, for example a percentage, a ratio, a level such as the number of open connections, or a time value that is not an amount of work done. The message reads, for example, A % value does not add up. For a level it reads A level does not add up over time.
  • p50, p90 and p99 are greyed on a derived metric. The message reads Percentiles need a raw metric, not a derived one.

A line set to sum has no min-max band.

Graph settings​

Click Graph settings above the graph to open the settings of that graph.

  • Type. Choose Line or Area. Stacked, Bar and Table are shown greyed, with the message This chart draws lines and areas only.
  • Left axis, Log scale. Switch on Log scale to draw the left axis on a log scale, which helps when values differ by orders of magnitude. It is greyed when a value on the left axis (its band included) is zero or negative (A log axis needs every value above zero), or when no line is on the left axis (A log axis needs a line on the left axis). If log scale was already on, the switch stays on so you can turn it off, and the axis is drawn linear. The right axis is always linear.
  • Lines. When all lines have the same unit, pick Auto axis, Left axis or Right axis for each line. Auto follows the 50 times rule above. Once you place a line yourself, the other Auto lines stay on the left. When the graph holds two units, the two axes are already in use and the menus are greyed.

The type, the log scale, and each line's aggregation and axis are kept in the page link, so a shared link shows the same graph.

Split a metric by a key​

To see which key drives a metric, split it. A metric that has keys, such as DATABASE, shows a Split ▸ button on its row. Open it and choose a key. A derived metric, or one that is not collected, has no Split ▸.

  • The graph. A split line draws up to the top 5 keys, each on its own line, and a grey others line for all the other keys (summed for counts and amounts, averaged otherwise). When a graph has less room (other lines on it, or a second split line), it draws fewer keys. With two split lines on one graph, each key is named with its line letter, for example A · ….
  • The chip. A split line's chip reads split by DATABASE, top 5. It always says top 5. When the graph has less room and draws fewer keys, the note under the table says how many are shown, for example Showing the top 3 keys; the rest add up in others.
  • 8 series. A split counts as two of the 8 series, because it draws at least one key and others. When there is no room for that, Split ▸ is greyed out and the top of the Metrics panel says A split counts as two of the 8 series.
  • The ranked table. Under the graph, a table lists the keys with Avg <metric> per collection, the average over the time range, in the order the server ranks them.
  • Show one key. Click a row to show that key alone. Back returns to the key you showed before, and finally to all keys.
  • Keep a key as a line. The ⋮ on a row adds that key as its own line, with a chip that reads DATABASE: web-1. A greyed ⋮ is a key that is already a line, has no name, or has no room for another line.

By concept​

A concept, such as Storage used, means the same thing on every type of data source. Use it to compare your sources on one line, for example to see which database is fullest, without adding each source by hand.

In the left panel, switch from By source to By concept. The Source list is hidden there. Use Search concepts to narrow the list. Each row shows the concept name, its unit and how many sources have it. Click a concept to add it.

  • The graph. The concept is drawn as one line over your sources (up to 25 on the whole graph, see Limits). Those sources are ranked by Max, the highest value in the time range, and the top 5 of them each get a line, and a grey others line covers the rest. When a graph has less room (other lines on it, or a split or concept line), it draws fewer sources.
  • The chip. It reads All sources · Storage used · top 5 of 12: how many sources are ranked (up to 5) and, when more than 5 have the concept, how many have it. With fewer than 5 sources it reads, for example, … · top 3. The chip counts ranked sources, not lines. When the graph has less room it draws fewer lines than the chip says, and the note under the table says how many are shown, for example Showing the top 3 sources; the rest add up in others. With one source shown it reads … · source: web-1.
  • 8 series. A concept line counts as two of the 8 series, like a split line.
  • The ranked table. Under the graph, a table lists the top 5 sources (the same ones the chip counts), ranked by Max.
  • Show one source. Click a row to show that source alone. Back returns to all sources.
  • Skipped sources. A source that cannot be drawn is left out, and the line still draws. This covers a group that is not collected, a source with no data in the time range, a query that failed, a different time rule (totals and averages are not ranked together), and a unit that cannot be converted. Sources past the 25-source limit are skipped too, as their own group. A note under the table shows a count for each reason, for example 2 sources skipped: 1 not collected, 1 no data in this window. If all the skipped sources share one reason, it reads N sources skipped (reason). Click Show to list the names, grouped by reason. Click Hide to close the list. If no source has data in the time range, the note says so and nothing is drawn.
  • Keep a source as a line. The ⋮ on a row, Add as line, adds that one source as its own plain line, with a chip for the source.

Add all graphs shows once the tab has any line. It is greyed out, with the note Nothing to add, when every graph has a concept line. Otherwise the dialog lists only the graphs without a concept line and says how many graphs were left out, because concept lines can't be pinned yet.

When something goes wrong​

What you seeWhat it means
Could not load the graph. with RetryThe request failed. When the graph has more than one line, the message adds: if it keeps failing, remove the metric you added last
A line such as B: timed out under the chipsThat one line could not be answered, and the message gives the reason. The other lines still draw
Could not load the sources. with RetryThe list of data sources could not be loaded

Limits​

  • The tab has room for 8 in total, across all its graphs. A plain line takes one place; a split line or a concept line takes two, however many key lines it draws. Each graph holds at most two units, and a metric with a third unit goes to another graph that fits, or to a new one.
  • One graph reads at most 25 sources, shared by all its concept lines: the first 25 by name whose time rule matches and whose unit can be converted. A source with a different time rule or a unit that cannot be converted does not take a place. A source that is not collected, has no data in the time range, or whose query failed, does take one, because that is only found after the query runs. The top 5 by Max are then chosen from those 25. Sources 6 to 25 add up in the others line and are not listed as skipped. Only two kinds of source are listed as skipped, each as its own group: sources past 25, and sources that cannot be drawn.
  • The time range is one of the four buttons; there is no custom range, and the page's own time range picker is hidden on this tab.
  • Only metric groups that are being collected can be drawn. To collect a group, turn it on for the data source in its settings.

Add all graphs to a dashboard​

To keep the graphs on screen, put them on a dashboard in one go:

  1. Draw your graphs. The Add all graphs button shows next to Copy link once you have added any line. It is greyed out while every graph has a concept line.
  2. Click Add all graphs. The Add to dashboard dialog opens with a Graphs (n of N) list. Every graph in the list is ticked. A graph with a concept line is not in the list. Untick any you do not want.
  3. In Dashboard, pick an existing dashboard, or pick + Create new dashboard from these graphs.
  4. Click Add N cards.

Each graph becomes one card. The card draws the graph's lines, with the same metrics. It starts with the graph's time range preset, but follows the dashboard's date range when you pick one on the dashboard.

  • The button is shown only if you have the right to edit dashboards.
  • The graphs are added one by one. If some fail, the dialog stays open and an alert names them, for example Added 1 of 2. Not added: …. Click Add N cards again to retry. The retry sends only the graphs not yet added. If at least one graph was added, or the dashboard was just created from these graphs, the retry goes to that same dashboard, so you cannot pick another one.
  • The dialog cannot be closed while the graphs are being added.
  • If you close the dialog after some graphs failed and run Add all graphs again, the graphs that were already added are added again, so you get duplicate cards.