Skip to content

Instantly share code, notes, and snippets.

@hexfusion
Created October 29, 2025 10:16
Show Gist options
  • Select an option

  • Save hexfusion/367fb2b0020da2ef2cb7fc826b47b57b to your computer and use it in GitHub Desktop.

Select an option

Save hexfusion/367fb2b0020da2ef2cb7fc826b47b57b to your computer and use it in GitHub Desktop.
parca compose application flightctl-agent
applications:
- appType: compose
inline:
- content: |
version: '3'
services:
parca-scraper:
image: ghcr.io/parca-dev/parca:v0.24.2
command:
- /bin/sh
- -c
- |
cat > /tmp/parca.yaml <<'EOF'
object_storage:
bucket:
type: "FILESYSTEM"
config:
directory: "/tmp/parca-data"
scrape_configs:
- job_name: "flightctl-agent"
scrape_interval: "30s"
static_configs:
- targets:
- "localhost:7071"
EOF
exec /parca --mode=scraper-only --log-level=debug --store-address=192.168.1.179:32128 --insecure --config-path=/tmp/parca.yaml
network_mode: host
restart: unless-stopped
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment