Skip to main content

Query System Point Metrics (v2.0)

POST 

/v2.0/api/tenants/:tenant_id/monitor/sys_point_metrics

Query the details of the system point metrics.

Request

Path Parameters

    tenant_id stringrequired

    ID of the tenant.

Body

Query request for getting sysmetrics

    end_time date

    The end time of the point metrics query. End times need to be specified in ISO8601 UTC format.

    filter Filter

    Filters according to the specifications.

    elements string[]

    Elements of the filter.

    path string[]

    Path of the filter.

    site object

    Site of the filter.

    type string

    Type of the filter.

    wn_path string[]

    Wn Path

    interval string

    Possible values: [10sec, 1min, 5min, 1hour, 1day, 1month]

    The interval time.

    metrics Metrics[]

    The details of the point metric. Metrics need to specified according to 2.0 specifications. Invalid metrics will be ignored and the result will not include them.

  • Array [
  • name stringrequired

    Name: Required(error = REQUIRED_PROPERTY: Schema check failed - {} is a required property) Pattern(error = INVALID_FILTER: Schema check failed - Invalid value for param {}, regexp = ^[A-Za-z]+$)

    statistics string[]required

    Statistics: Required(error = REQUIRED_PROPERTY: Schema check failed - {} is a required property)

    unit stringrequired

    Unit: Required(error = REQUIRED_PROPERTY: Schema check failed - {} is a required property) Pattern(error = INVALID_FILTER: Schema check failed - Invalid value for param {}, regexp = ^[A-Za-z]+$)

  • ]
  • name string

    The name of the point metric. Maz size = 128.

    start_time date

    The start time to get the point metrics. Start times need to be specified in ISO8601 UTC format.

    view View

    View

    individual string

    Possible values: [ELEMENT, INTERFACE, CELLULAR_MODULE, DIRECTION, SITE, APP, PATH, PATH_TYPE, WANINTERFACE, PRIORITY, TRAFFIC_TYPE, COMMON, CLIENT_MAC_ADDRESS, USER, USER_EMAIL, RESOLUTION_QUALITY, None]

    The individual view values.

    summary boolean

    The summary of the view.

Responses

Successful Operation

Schema
    interval string

    The time period of the query interval.

    metrics object

    The details of the point metric. Metrics need to specified according to 2.0 specifications. Invalid metrics will be ignored and the result will not include them.

    start_time date

    The start time to get the point metrics. Start times need to be specified in ISO8601 UTC format.

    view View

    The individual and summary views.

    individual string

    Possible values: [ELEMENT, INTERFACE, CELLULAR_MODULE, DIRECTION, SITE, APP, PATH, PATH_TYPE, WANINTERFACE, PRIORITY, TRAFFIC_TYPE, COMMON, CLIENT_MAC_ADDRESS, USER, USER_EMAIL, RESOLUTION_QUALITY, None]

    The individual view values.

    summary boolean

    The summary of the view.

Loading...