 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 