Setup
1
Create a read-only Argo CD token
Create or choose a service account in Argo CD with read access to applications. Generate a token for that account and keep it somewhere secure. Weave only needs read access for API polling.
2
Connect Argo CD in Weave
In Weave, go to the Data page and click the Argo CD tile. Choose one of the setup options:
- API polling — Weave periodically reads application status from the Argo CD REST API. This supports application discovery and historical syncs. Your Argo CD API must be reachable by Weave.
- Push-based webhook — Argo CD Notifications sends deployment events to Weave. This does not require inbound access to your Argo CD instance.
3
Configure applications
Weave discovers Argo CD applications and predicts which ones represent production deployments. Review the list, enable the applications you want to track, and adjust production deployment settings as needed.
4
Verify data
API polling starts after setup and runs automatically. Webhook events appear as Argo CD Notifications deliver them.
What’s tracked
- Application sync executions
- Sync phase and result
- Deployment timing
- Git revision and repository URL
- Trigger type when it is available from Argo CD operation state
- Production deployment classification through Weave pipeline configuration
DORA metrics enabled
Argo CD enables these deployment metrics:- Deployment frequency — How often you deploy to production
- Deploy success rate — Percentage of successful deployments
- MTTR — Mean time to recovery from failed deployments
- Deploy lead time — Time from PR merge to production
How it works
API polling
Weave polls the Argo CD API to discover applications and read sync state. Use this option when Weave can reach your Argo CD instance over HTTPS and you want automatic discovery. The token should allow reading applications. Weave does not require permission to modify applications, sync applications, or read Kubernetes secrets.Webhook setup
Webhook setup uses Argo CD Notifications. In Weave, connect Argo CD with the webhook option or generate a webhook secret from an existing Argo CD instance. Then configure Argo CD Notifications to send a POST request to:app.
Example Argo CD Notifications service:
Data synced
Weave tracks deployment metadata:- Application names
- Sync status and timestamps
- Git repository URLs
- Git revisions
- Kubernetes secrets
- Application manifests
- Container images or artifacts
- Cluster credentials
Troubleshooting
Connection failing
Connection failing
Confirm that the Argo CD URL is reachable from Weave, the token is valid, and the token has read access to applications.
Applications not appearing
Applications not appearing
Check that the service account can list applications and that the applications are visible in the connected Argo CD instance.
Webhooks not working
Webhooks not working
Verify the webhook secret, the
Authorization header, and the Argo CD Notifications trigger/template. The repository URL and revision must be included so Weave can link deployments to pull requests.Deployments not detected
Deployments not detected
Open the Argo CD configuration page in Weave and confirm the relevant applications are enabled and marked as production deployments.
