Custom Metric Impact Registration
Use this endpoint with the POST method to register Custom Metric Impact values.
Last updated
Was this helpful?
Use this endpoint with the POST method to register Custom Metric Impact values.
Last updated
Was this helpful?
You can submit custom metric impact values to Sleuth. Sleuth will perform its anomaly detection on these values and they will inform the health of your deploys. Values can represent any metric that matters to you and must be represented via a float.
The endpoint path takes 1 ID which uniquely identifies the Impact Source to register a value against:
IMPACT_ID
: must be an integer
, you can find the full path (including the ID) in your Sleuth org by navigating to your , clicking the gearwheel icon in the top-right corner, and selecting "Show register details"
api_key
*
string
Can be found in the Organization Settings
-> Details
-> Api Key
field in your Sleuth org.
value
*
float
The metric value to be registered.
Make sure you replace the values surrounded by<
and >
with your own values.
The date and time at which the metric value should be registered. If left blank, it defaults to the current time. Must be in format.