Create Custom Metric

Creates a custom metric.

Create new custom metric.

Path Parameters

  • tenantIdstringrequired

    Describes clientId or mspId of the tenant

Request Body

application/json

  • idnumber

  • metricNamestringrequired

  • displayUnitstringrequired

  • displayNamestringrequired

  • descriptionstringrequired

  • unitstringrequired

  • unitLabelstringrequired

  • availabilityMetricboolean

  • thresholdTypestring

    Enum:
    STATIC
  • groupNamestringrequired

  • typestringrequired

    Enum:
    GuageCounter DeltaCounter RateDerive DeltaDerive RateRateDeltaCounter
  • factornumber

  • displayByComponentboolean

  • displayOrdernumber

  • topMetricboolean

  • timeSeriesboolean

  • tenantIdnumber

  • versionnumber

  • instanceOfVistaraMetricDefboolean

  • classCodestring

  • statusstring

    Enum:
    active
Loading Examples...

Responses

200OK

400Bad Request

Loading Examples...