Metrics
Validate an external impact-metrics source URL.
Changed onEnterprise feature
Tests an external impact-metrics source URL on the fly without persisting it. Returns the list of metric names found at the URL on success, or an error string explaining what went wrong. Always responds with 200; failures are reported in the body.
post/api/admin/impact-metrics/external-source/validate
Request
- Base URLhttps://app.unleash-instance.example.com
- URLhttps://app.unleash-instance.example.com/api/admin/impact-metrics/external-source/validate
- Auth
- API key in header Authorization
- or HTTP bearer
Request body
Example request
{
"url": "https://metrics.example.com"
}Response
validateExternalImpactMetricsSourceResultSchema
Example response
{
"metrics": [
"http_requests_total",
"process_cpu_seconds_total"
],
"error": "External source returned HTTP 401"
}Changes
- info
endpoint added
- info