Skip to main content

MetricDiscoveryResponse

service_namestring

Service name

time_range object
startstring<date-time>

Start of time range

endstring<date-time>

End of time range

metrics object[]

Available metrics

  • Array [
  • namestring

    Metric name

    typestring

    Metric type (gauge, sum, histogram, summary)

    descriptionstring

    Metric description

    unitstring

    Metric unit

    attribute_keysstring[]

    Available metric attribute keys

    resource_attribute_keysstring[]

    Available resource attribute keys

  • ]
  • total_countinteger

    Total number of distinct metrics

    MetricDiscoveryResponse
    {
    "service_name": "string",
    "time_range": {
    "start": "2024-07-29T15:51:28.071Z",
    "end": "2024-07-29T15:51:28.071Z"
    },
    "metrics": [
    {
    "name": "string",
    "type": "string",
    "description": "string",
    "unit": "string",
    "attribute_keys": [
    "string"
    ],
    "resource_attribute_keys": [
    "string"
    ]
    }
    ],
    "total_count": 0
    }
    Was this page helpful?