You create dashboards as a collection of Streams on a single page, making it easy to monitor connected parts of a system. This can be especially useful in targeting connected issues and observing the relationship between certain operations.
For example, say you've decided to monitor API requests incoming from a Web server. You might create a dashboard that shows the Web server's performance, request performance, handler traffic, SQL queries, and page activity.
You can see in this dashboard that while traffic and latency across both the Web server and the outgoing page request operation remain rather constant, there is a noticeable dip in request handler traffic, SQL queries, and page activity at 12:30. One explanation for that dip could be that the request handler crashed at 12:30, preventing SQL queries to the database and resulting in the page being unusable. From there, you might look at exemplar traces both before and after the crash to observe service behavior. While the charts wouldn't have traces for the request handler, SQL queries, or page activity during the crash (operations were halted), the Public Page Requests Stream may have example traces from that time period.
Another important use case for dashboards is monitoring systems during a deploy or rollout. If you've created a dashboard of Streams for services, operations, and release tags before a deploy to be used as a baseline, it will be easy to see variations and anomalies during and after a deploy.
Here are some other great use cases for a dashboard:
- Viewing all operations on the path of authorizing a customer
- Tracking the latency of various database interactions
- Comparing operations per second for several related operations running on the same service
Use our Grafana plugin to view LightStep dashboards in Grafana. Once in Grafana, clicking on a LightStep dashboard takes you back to LightStep where you can view sample traces.
All existing dashboards are listed. Click one to open it.
Use the time period dropdown to change the time series graphs for all Streams on the dashboard. Enter a custom time, select a pre-configured time, or click Pick Time Range to choose a time period from a calendar.
To view a Stream more closely, click the Stream's title.
By default, LightStep lists dashboards alphabetically. If you have many dashboards, you can "favorite" some so they always appear at the top of the list. With the dashboard open, at the top of the page, click the star icon.
The favorite dashboard appears at the top of the list on the Dashboard dropdown.
You create a dashboard from Streams. You can use existing Streams or create a new one as you create a dashboard.
To create a dashboard:
- From the navigation bar, click Dashboards.
All existing dashboards are listed.
- Click New.
A dashboard workspace opens, listing all available Streams on the right.
It's given a default name, but you can click into the name to change it.
- Click a Stream to add it to the dashboard. You can use the search bar at the top to search for a specific Stream. You can also create a new Stream to add to the dashboard.
Is your Stream blank?
LightStep starts collecting data for a Stream immediately after you create it, so it may take some time for the data to populate.
- Rename or remove a Stream using the gear icon at the top right of the Stream.
Renaming a Stream from here renames it everywhere in LightStep.
Continue adding Streams as needed.
You can rearrange Streams by dragging and dropping them.
When you're done creating the dashboard, click Done Editing.
The workspace closes and the dashboard displays.
You can add, remove, and rearrange Streams in a dashboard.
To edit a dashboard:
- From the navigation bar, click Dashboards and choose the dashboard to edit.
- At the top right, click Edit Dashboard.
The dashboard opens in the workspace.
- Add Streams by selecting them from the right.
- Rearrange Streams by dragging and dropping them.
- Remove or rename Streams using the gear icon in the Stream's upper right corner.
- Rename the dashboard by editing the name directly.
When finished, click Done Editing to save your changes.
You can copy a dashboard to start another.
To clone a dashboard:
- Open a dashboard and use the gear icon at the top right to select Clone Dashboard.
- Enter a new name for the dashboard, select the project to include the dashboard in, and click Clone.
If you select a project that the Streams are not currently included in, they will be created for that project.
- Edit the dashboard as needed and save.
Deleting a dashboard only deletes the dashboard. The Streams are still available.
To delete a dashboard, open the dashboard and use the gear icon at the top right to select Delete Dashboard.