mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
Added statsd integration into the API
- new client for statsd, follows conventions used elsewhere for configuration - client wraps underlying library so we can use a config property to send/not send statsd Added statsd metrics for: - count of API successful calls SMS/Email - count of successful task execution for SMS/Email - count of errors from Client libraries - timing of API calls to third party clients - timing of how long messages live on the SQS queue
This commit is contained in:
@@ -22,3 +22,7 @@ export MMG_API_KEY='mmg-secret-key'
|
||||
export MMG_FROM_NUMBER='test'
|
||||
export LOADTESTING_API_KEY="loadtesting"
|
||||
export LOADTESTING_NUMBER="loadtesting"
|
||||
export STATSD_ENABLED=True
|
||||
export STATSD_HOST="somehost"
|
||||
export STATSD_PORT=1000
|
||||
export STATSD_PREFIX="stats-prefix"
|
||||
Reference in New Issue
Block a user