Get metrics data points with timestamps

The query parameter supports PromQL-based queries. Metrics names should accept only underscore notation (system_memory_utilization); not dotted notation(system.memory.utilization). Please note the PromQL queries should be encoded. Refer MetricsQL guide for more details

Here are some PromQL query examples

  1. Metric name


2: Metric name with host and instance name


3: Host with multiple metric names(with regular expressions)


4: Ip address with multiple instances

system_cpu_utilization{ip="", instance=~"instance1|instance2|instance3"}

Path Parameters

  • tenantIdstringrequired

    Describes clientId of the tenant

Query Parameters

  • querystringrequired

    Describes the string defining all the patterns supported by OpsQL. The filter criteria of the query is create by the supported operators and attribute values See "metricsQL-overview" guide

  • startstring

    startTime - Timestamp in seconds

  • endstring


  • stepnumber

    time step in seconds; step value represents the frequency on which the series data going to be fetched. For example, if the user wants time series data with a frequency of 5 minutes, then the step value should be 300 (5 * 60 = 300 seconds).

    Default: 60


  • statusstring

  • dataobject

Loading Examples...