You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Remove janitor component
With the new version of parca, database files are structured differently and we can't apply
the janitor's naive logic for implementing retention for parca data anymore.
The component is dropped accordingly.
* Don't deploy profiling setup by default
When using the skaffold-based setup, you also get a full monitoring and continuous profiling setup for observing and analyzing the components' resource usage.
133
+
When using the skaffold-based setup, you also get a full monitoring setup for observing and analyzing the components' resource usage.
134
134
135
135
To access the monitoring dashboards and metrics in Grafana, simply forward its port and open http://localhost:3000/ in your browser:
136
136
@@ -142,10 +142,26 @@ The password for Grafana's `admin` user is written to `hack/config/monitoring/de
142
142
143
143
Be sure to check out the controller-runtime dashboard: http://localhost:3000/d/PuCBL3zVz/controller-runtime-controllers
144
144
145
+
## Continuous Profiling
146
+
147
+
To dig deeper into the components' resource usage, you can deploy the continuous profiling setup based on [Parca](https://parca.dev/):
148
+
149
+
```bash
150
+
make up SKAFFOLD_MODULE=profiling SKAFFOLD_PROFILE=profiling
151
+
```
152
+
145
153
To access the profiling data in Parca, simply forward its port and open http://localhost:7070/ in your browser:
146
154
147
155
```bash
148
156
kubectl -n parca port-forward svc/parca 7070 &
149
157
```
150
158
151
159
For accessing Parca through its `Ingress`, use the basic auth password for the `parca` user from `hack/config/profiling/parca_password.secret.txt`.
160
+
161
+
Note that the Parca deployment doesn't implement retention for profiling data.
162
+
I.e., the Parca data volume will grow infinitely as long as Parca is running.
163
+
To shut down Parca after analyzing the collected profiles and destroying the persistent volume use the following command:
164
+
165
+
```bash
166
+
make down SKAFFOLD_MODULE=profiling SKAFFOLD_PROFILE=profiling
0 commit comments