From 5c55428580f8bdf0007cfc9caff12ea87998668b Mon Sep 17 00:00:00 2001 From: Frederic Branczyk Date: Thu, 15 Jan 2026 10:51:41 +0100 Subject: [PATCH] snap: Add remote-store-grpc-headers config option Allow users to specify additional gRPC headers via snap configuration. Headers are specified as comma-separated key=value pairs. Co-Authored-By: Claude Opus 4.5 --- snap/README.md | 1 + snap/hooks/configure | 6 ++++++ snap/local/parca-agent-wrapper | 10 ++++++++++ 3 files changed, 17 insertions(+) diff --git a/snap/README.md b/snap/README.md index 2385d5709d..8a3f482a60 100644 --- a/snap/README.md +++ b/snap/README.md @@ -35,6 +35,7 @@ There are a small number of config options: | `http-address` | Any string | `:7071` | Address for HTTP server to bind to. | | `remote-store-address` | Any string | `localhost:7071` | Remote store (gRPC) address to send profiles and symbols to. | | `remote-store-insecure` | `true`, `false` | `false` | Send gRPC requests via plaintext instead of TLS. | +| `remote-store-grpc-headers` | Comma-separated key=value pairs | `` | Additional gRPC headers to send with each request. | | `config-path` | Any string | `` | Path to config file. | Config options can be set with `sudo snap set parca-agent