Configuring Collectors
sfp supports multiple metrics collectors to send build, deploy, validate, and release metrics to your observability platform of choice.
Available Collectors
Multiple Collectors
sfp can send metrics to multiple collectors simultaneously. Simply configure the environment variables for each collector you want to use:
# Send metrics to both sfp server and Datadog
export SFP_SERVER_URL=http://your-sfp-server:3029
export SFPOWERSCRIPTS_DATADOG=true
export SFPOWERSCRIPTS_DATADOG_API_KEY=your-api-key
sfp build # Metrics sent to both destinationsDefault Behavior
sfp Server (Default for sfp-pro)
When SFP_SERVER_URL is configured, all sfp commands automatically emit metrics to the sfp server. No additional configuration is required - simply set the server URL and authenticate:
Once configured, any command (build, deploy, release, validate, etc.) will automatically send metrics to the server.
External Collectors (Datadog, Splunk, New Relic, StatsD)
Use external collectors when you need to:
Integrate with an existing observability platform
Correlate sfp metrics with other system metrics
Use advanced alerting and dashboard features
Meet compliance requirements for specific platforms
Last updated