statsD is a network daemon that runs on the Node.js platform and listens for statistics, like counters and timers, sent over UDP or TCP and sends aggregates to one or more pluggable backend services (e.g., Graphite). https://github.com/statsd/statsd
sfp supports emitting events to a statsD collector. You can activate the same by enabling the following environment variables
SFPOWERSCRIPTS_STATSD
boolean
Activate sending metrics to a StatsD collector (such as a Datadog Agent) by setting this key to true
SFPOWERSCRIPTS_STATSD_PORT
string
The port to send stats to, if not set, it is automatically set to 8125
SFPOWERSCRIPTS_STATSD_HOST
string
The host to send stats to, if not set, it is send to 127.0.0.1
SFPOWERSCRIPTS_STATSD_PROTOCOL
string
:Use tcp
option for TCP protocol, or uds
for the Unix Domain Socket protocol or stream
for the raw stream. Defaults to udp
otherwise.
sfp is built with a metrics emitter that can emit metrics to Datadog natively. In order to forward metrics, sfp requires three environment variables to be set
SFPOWERSCRIPTS_DATADOG
boolean
Activate sending metrics to datadog by setting this key to true
SFPOWERSCRIPTS_DATADOG_HOST
string
Defaults to datadoghq.com. If you are on alternate site, please provide the site name from
SFPOWERSCRIPTS_SPLUNK_API_KEY
secret
Provide a DataDog as a secret
sfp is built with a metrics emitter that can emit metrics to NewRelic. In order to forward metrics, sfp requires two environment variables to be set
SFPOWERSCRIPTS_NEWRELIC
boolean
Activate sending metrics to datadog by setting this key to true
SFPOWERSCRIPTS_NEWRELIC_API_KEY
secret
Provide the key from the new "Ingest - Licence"
sfp is built with a metrics emitter that can emit metrics to Splunk. In order to forward metrics, sfp requires three environment variables to be set
Once few metrics are flown in, you can design the dashboard accordingly
SFPOWERSCRIPTS_SPLUNK
boolean
Activate sending metrics to splunk by setting this key to true
SFPOWERSCRIPTS_SPLUNK_HOST
string
Provide the full Splunk Event Collector Url from your splunk instance
SFPOWERSCRIPTS_SPLUNK_API_KEY
secret
Provide a HEC-Token from your splunk instance.