grafana / grafana/pyroscope

Explain what table headers mean

Open
#1,240 0 comments 0 reactions 0 assignees View on GitHub
frontend
Dominant language
Go
Stars
11.7k
Forks
802
Avg merge
1d 19h
Merged PRs (30d)
80

Description

A common question 'is what do "Self/Total" mean?'
![image](https://user-images.githubusercontent.com/6951209/178295703-9516640a-f233-47b4-80a7-712008eec9d7.png)

@petethepig's explained in [Slack](https://pyroscope.slack.com/archives/C01FJRYENPQ/p1654057914911199?thread_ts=1654052490.571829&cid=C01FJRYENPQ):
> **self** means the amount of time spent within a function, excluding delegations to other functions, and **total** means the amount of time spent within a function including all of the delegations. For example, for a function foo that does work for 2 seconds, then calls function bar that takes 8 seconds, self will be 2 seconds and total will be 10 seconds.

To make things clearer, we could add a tooltip similar to https://github.com/pyroscope-io/pyroscope/pull/1210
![image](https://user-images.githubusercontent.com/6951209/178296469-4c669e44-b78e-4c2e-a085-f24fbf99b08b.png)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.