Relationship Metrics
This API is used to show the traffic map between the nodes for given link or cable .This api fetches the metrics CurrentUtilization,InputPacketErrorPct for both the ends for given link,cable.Input for this API is id which is combination of A-End <--> Z-End, where A-End,Z-End are entity names on which metrics are getting collected.
Show optional properties
{
"relations": [
{
"id": "LINK-AggregatePort-10.107.119.10/5001-LACP<->IF-10.107.117.2/2"
}
],
"metric_name": "CurrentUtilization"
}
{
"metric_name": "string",
"relations": [
{
"id": "string"
}
]
}
Catalog metric-name to be retrived
Link id to which metrics to be fetched
Ok
"RelationshipMetricResponse Object"
User authentication failed
Access to the requested resource/operation is forbidden
Cannot find requested resource
Internal server error
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"metric_name:"string","relations":["object"]}' https://{api_host}/tcsa/api/metrics-management/v1/relationship-metrics