Metrics, Traces & Logs
hubble Studio provides Grafana to visualize and analyze the metrics, traces and logs of your applications.
To access Grafana, open your team and click on the "Grafana" tab. It shows the data of all projects of your team.
Overview
- Metrics are numerical data points collected at regular intervals, such as request counts, error rates and response times. Use them to spot anomalies, like a spike in
500responses or slow requests. - Traces show a single request as it flows through your application's services, split into individual operations (spans). Use them to find where time is spent.
- Logs are the webserver access logs, with a record of every request to your application, including its IP address, user agent and response status code.
Troubleshooting workflow
The three work together when you investigate an issue:
- Identify an anomaly with metrics. Open Drilldown > Metrics, look for unusual spikes or dips and select the time range on the graph.
- Investigate with traces. Open the traces of that time range and look for slow or failing spans in the waterfall view.
- Diagnose with logs. Jump from a span or the selected time range to the related logs to see the exact requests behind the issue.