parca-agent icon indicating copy to clipboard operation
parca-agent copied to clipboard

write client/debuginfo client: Check whether target server reachable or not

Open kakkoyun opened this issue 2 years ago • 2 comments

If the server is not reachable, stop debug information extraction and attempt to write profiles to the server. Only collect profiles so that they can be downloaded from agent UI.

  • Heartbeat calls to server gRPC health endpoints
  • Back-off retries

kakkoyun avatar Jun 08 '22 08:06 kakkoyun

Love that we are thinking about this!! Should we maybe continue extracting the debug files for a little while and then attempt to upload them later on if the server becomes reachable?

javierhonduco avatar Jun 08 '22 15:06 javierhonduco

We can keep them locally, and if they exist, we make sure we don't try extracting again for that specific binary. However, this still means we need to read the build ID constantly. We should measure the overhead of this.

kakkoyun avatar Jun 09 '22 06:06 kakkoyun