URL parameters
Source for which to update a metric
ID of the metric you want to update
Headers
Bearer $TOKEN
Body parameters
Metric name
SQL expression to use for the metric
Aggregations to apply to the metric. Set to [] to change into a label.
Valid aggregations are avg, count, uniq, max, min, sum, and histogram
How to process historical data. new_data (default) applies the change going forward. historical_logs reprocesses retained logs.