For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuring Collectors

sfp supports multiple metrics collectors to send build, deploy, validate, and release metrics to your observability platform of choice.

Available Collectors

Collector
Description

sfp Server

Built-in Victoria Metrics with query CLI

Datadog

Native integration with Datadog

Splunk

Native integration with Splunk

New Relic

Native integration with New Relic

StatsD

Forward to any StatsD-compatible collector

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 destinations

Default Behavior

sfp Server (Default)

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

Was this helpful?