Update a tag configuration
PATCH {{baseUrl}}/api/v2/metrics/:metric_name/tags
Update the tag configuration of a metric or percentile aggregations of a distribution metric or custom aggregations
of a count, rate, or gauge metric.
Can only be used with application keys from users with the Manage Tags for Metrics
permission.
Request Body
{"data"=>{"id"=>"<string>", "type"=>"manage_tags", "attributes"=>{"aggregations"=>[{"time"=>"avg", "space"=>"max"}, {"time"=>"count", "space"=>"sum"}], "include_percentiles"=>"<boolean>"}}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: OK
{"data":{"attributes":{"aggregations":[{"time":"avg","space":"avg"},{"time":"count","space":"min"}],"created_at":"\u003cdateTime\u003e","include_percentiles":"\u003cboolean\u003e","metric_type":"gauge","modified_at":"\u003cdateTime\u003e","tags":["\u003cstring\u003e","\u003cstring\u003e"]},"id":"\u003cstring\u003e","type":"manage_tags"}}