Skip to main content

Add custom metrics data points in bulk

POST 

/api/v1/eng-intel/custom-metrics/:customMetricKey/entity/:tagOrId/bulk

Adds multiple custom metric data points for entity.

Request

Path Parameters

    customMetricKey stringrequired

    Key for the custom metric filter

    tagOrId stringrequired

    The tag (x-cortex-tag) or unique, auto-generated identifier for the entity.

Body

required

    series

    object[]

    required

    Possible values: non-empty and <= 100 characters

    List of data points

  • Array [

  • timestamp date-timerequired

    Timestamp for the data point. Note: It can't be earlier than 6 months

    value doublerequired

    Value for the data point

  • ]

Responses

Successfully added data points

Loading...