Manage Time Series Aggregations

Create a new time series aggregation

Create a new time series aggregation rule for your organization. If metadata.labels["dash0.com/origin"] is provided, it must be unique within the organization and dataset; a request with a duplicate origin returns 400. If no origin is provided, the server auto-generates one.

post/api/time-series-aggregations

Request

  • Base URL: https://api.eu-west-1.aws.dash0.com
  • URL: https://api.eu-west-1.aws.dash0.com/api/time-series-aggregations
  • Auth: none declared

Query parameters

datasetstring

Optional dataset to query across. Defaults to whatever is configured to be the default dataset for the organization.

Request body

kind'Dash0TimeSeriesAggregation' required

Example request

{
  "spec": {
    "match": {
      "otherFilters": [
        {
          "key": "service.name",
          "operator": "is",
          "value": "foo"
        }
      ]
    }
  }
}

Response

The created time series aggregation

kind'Dash0TimeSeriesAggregation' required

Example response

{
  "spec": {
    "match": {
      "otherFilters": [
        {
          "key": "service.name",
          "operator": "is",
          "value": "foo"
        }
      ]
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.