Skip to main content

Add custom metrics data point

POST 

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

Adds a single custom metric data point 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

    timestamp date-time

    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 point

Loading...