gProfiler
To start using Granulate gProfiler, create a free account, install the gProfiler on a host, and see how Granulate immediately shows method-level production profiling information
The gProfiler is an Open-Source project, viewable on the Github repository

Step 1: Create Your gProfiler Account

To create an account visit the gProfiler website and create a new account by entering the email address associated with the account and the desired password.

Step 2: Add a New Service

Profiling data from a group of machines is organized into a service. To get started, simply choose Get Started or Add New Service in the welcome screen.

Step 3: Install the gProfiler Agent

After choosing to add a new service, you will be greeted by the installation wizard screen, it includes a command line that you can copy and paste to deploy the agent on individual machines, and links to this documentation so you can deploy in additional environments.
The Docker deployment command line looks as follows - Simply run it on a single host to start profiling-
1
docker pull granulate/gprofiler:latest
2
docker run --name gprofiler --restart=always -d --network=host \
3
--pid=host --userns=host -v /var/run/docker.sock:/var/run/docker.sock \--privileged \
4
granulate/gprofiler:latest -cu \
5
--token "GAmp3WA/VgxNh3/9Beg3i6prkcpOe1lnss9ygohA9/Z/9I22csCHMYaMGlNrlAEaCVKsNqYytwsoBZk/KPL6Dg==" \
6
--service-name "Service name"
Copied!

Step 3: Inspect Your Profiling Data

Immediately after deploying the gProfiler, you should have data to inspect - When you return to the gProfiler website, you will arrive in the "Overview" view. You can select the service name you want to start inspecting and browse the flame graph.
Last modified 5mo ago