[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance
Get Metrics Model Metadata
DescriptionRetrieves high level details of all existing catalog metrics model like domain, sub-domain and metric type.
Request
Operation doesn't accept any path, query or header parameters.
URL
https://{api_host}tcsa.host.com/v1/catalog/metric-types
Authentication
This operation uses the following authentication methods.
Response
Response
Response BodyResponse Body
200 OK
Returns
array
of
MetricMetadataModel
of type application/json
[
{
"domain": "Traffic",
"metricType": "IP-SLA",
"sub_domains": [
"IP-SLA"
]
},
{
"domain": "5G",
"metricType": "RRU",
"sub_domains": [
"3GPP",
"vRAN"
]
},
{
"domain": "5G",
"metricType": "ANR",
"sub_domains": [
"3GPP",
"vRAN"
]
},
{
"domain": "5G",
"metricType": "MAC",
"sub_domains": [
"3GPP",
"vRAN"
]
},
{
"domain": "SDN",
"metricType": "Cisco-ACI-Event",
"sub_domains": [
"Cisco-ACI_EVENT-1"
]
},
{
"domain": "5G",
"metricType": "DRB",
"sub_domains": [
"3GPP",
"vRAN"
]
},
{
"domain": "Compute",
"metricType": "VirtualMachine",
"sub_domains": [
"VirtualMachine"
]
},
{
"domain": "tcopsgeneric",
"metricType": "Generic",
"sub_domains": [
"tcopsgeneric"
]
}
]
string
metricType
Required
Metric type like memory, processor etc
string
domain
Optional
Domain for the metrics types, example 5G
array of
string
sub_domains
Optional
Sub-domain for the metrics types, example RAN
Errors
ErrorDetails
400
Invalid Request sent by the user
ErrorDetails
401
User authentication failed
ErrorDetails
403
Access to the requested resource/operation is forbidden
ErrorDetails
404
Cannot find requested resource
ErrorDetails
500
Internal server error
Code Samples
cURL Command
curl https://{api_host}tcsa.host.com/v1/catalog/metric-types
[{"label":"Latest (2.0.1)","version":"latest"}]
telco-cloud-service-assurance