This directory contains files used to build the Parca Agent snap.
The snap provides a base parca-agent app, which can be executed as per the upstream
documentation.
You can start Parca Agent manually like so:
# Install from the 'edge' channel
$ sudo snap install parca-agent --channel edge
# Start the agent with simple defaults for testing
parca-agent --node="foobar" --remote-store-address="localhost:7070" --remote-store-insecureAdditionally, the snap provides a service for Parca Agent with a limited set of configuration options. You can start the service like so:
$ snap start parca-agentThere are a small number of config options:
| Name | Valid Options | Default | Description |
|---|---|---|---|
node |
Any string | $(hostname) |
Name node the process is running on. |
log-level |
error, warn, info, debug |
info |
Log level for Parca Agent. |
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 <option>=<value>