SignalFx provides an easy-to-use mechanism for filtering and displaying the data that you have, so as to easily surface patterns within particular segments of the population that you’re looking at. At the end of this tutorial, you will understand how to use source filters and list charts.
This tutorial is based on sample data that is being sent into trials created after May 28, 2015. If your trial or organization was created before that, then this does not apply.
This document assumes you know how to create a chart in SignalFx, apply one or more analytics functions, and save a chart to a dashboard. You can learn how to do that by reviewing Welcome to SignalFx - Part 1, Chart 1.
Create a chart and choose your metric
To get started, create a new chart and choose the transaction count metric, demo.trans.count, from among the three metrics we are sending to your organization:
Apply a filter
Next, click on the funnel icon in the New filter field. This will show you the metadata that you can use to filter your metrics, to include or exclude particular groups of metrics. For example, we noticed from Chart 2 in Welcome to SignalFx - Part 2 that samslack.com had lower latencies than the others, and so we aren’t interested in them for now - they seem to be doing fine.
To exclude samslack.com, start by typing an exclamation point ‘!’ in the New filter field. This will bring up the same list of metadata that you can filter on.
samslack.com is a customer, so select ‘demo_customer’ from the dropdown menu. You should then see the list of customers that you can include or exclude. Select ‘samslack.com’.
When the chart redraws, you will see that the filter has been applied, and now samslack.com’s metrics are not included in the plots.
Aggregate by server
The next step is for us to group the time series we’re seeing using metadata that should give us more insight. In this example, we’ll aggregate by server so that we can see the the number of transactions per server (minus the ones that we’ve excluded previously).
To do this, click into the enter analytics function field and enter sum:aggregation, then group by ‘demo_host’.
Display graph as list
Now that you have the subset of your metrics displaying properly, it’s time to choose a visualization that gives you more insight into what is going on. Go to the chart display selector and choose List from the dropdown.
The result should now be a list of the metrics that you saw previously, but using text and numerical values rather than a line graph.
Annotate your chart
You should notice that the labels in this list are long. To make it more readable, click on the pencil icon next to the plot label A and choose an appropriate label.
Finally, add a chart name and description by clicking into the Chart Name field and changing it to something concise and descriptive, like ‘Transactions by server’, then clicking into the Chart description field to provide more information.
Save your chart
To save, click on the Save and Close button in the upper right hand corner.
And that's it!