Open edmeister opened 1 year ago
Could you also share the flags that you started the parca server with?
/parca
--config-path=/var/parca/parca.yaml
--log-level=info
--cors-allowed-origins=*
--storage-active-memory=536870912
Try adding --enable-persistence
Ok, that seems to be expecting a writable volume inside the container. Mounting a PV is not yet supported by the Helm chart, and is something I would like to avoid (hence the GCS config).
level=error name=parca ts=2023-05-02T07:54:49.967128149Z caller=parca.go:236 msg="failed to open badger database for metastore" err="Error Creating Dir: \"data/metastore\" error: mkdir data: permission denied"
level=error name=parca ts=2023-05-02T07:54:49.967150909Z caller=main.go:66 msg="Program exited with error" err="Error Creating Dir: \"data/metastore\" error: mkdir data: permission denied"
I've set --storage-path
to /tmp
, so it will startup correctly, and now it seems to be creating timeline starting from the moment where I enabled the persistence flag, but the icycle graph returns an error.
The grpc call returns RpcError: read stacktrace metadata: read stacktraces: Key not found
.
Seems like something that I've run into in the past: https://github.com/polarsignals/frostdb/issues/378. Does the error disappear after a while of running it?
hmm yeah this is a difficult one, we should probably store stacktraces in the columnstore directly, and not fail on reading from the metastore, then like you said Alfonso, it should recover over time
Ok, I had reverted to a setup with ephemeral storage, since our devs got hooked to the tool in no-time, but I'll spin up a second instance and let you know if it recovers by itself if persistence is enabled.
Awesome product! We're very interested in beta-access to Polarsignals.
I'm setting up Parca for a POC, using the official Helm chart. I have configured a Google Storage Bucket for persistence, and I can tell the bucket is actually being used. So far, so good.
However, when the pod is restarted because of a change in configuration, I notice the data from before the restart is no longer retrieved from the UI when running search, although it still appears to be in the bucket.
The relevant part of my Helm values file looks like this: (the variables are terraform templating)
This is rendered in
/var/parca/parca.yaml
as this:Is something wrong or missing in my config or is this a known issue? Thanks for helping out!