data_warehouse

Get managed warehouse monitoring time series

Get one allow-listed monitoring metric for the current organization and trailing time window.

get/api/projects/{project_id}/data_warehouse/managed-warehouse-monitoring-timeseries/

Request

  • Base URL: https://us.posthog.com
  • URL: https://us.posthog.com/api/projects/{project_id}/data_warehouse/managed-warehouse-monitoring-timeseries/
  • Auth: HTTP bearer

Path parameters

project_idstring required

Project ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/.

Query parameters

metric'query_rate' | 'error_ratio' | 'duration_p50' | 'duration_p95' | 'sessions_active' | 'acquire_p95' | 'acquire_by_source' | 'storage_bytes' | 'worker_crash_rate' required

Allow-listed managed warehouse metric to retrieve.

  • query_rate - query_rate
  • error_ratio - error_ratio
  • duration_p50 - duration_p50
  • duration_p95 - duration_p95
  • sessions_active - sessions_active
  • acquire_p95 - acquire_p95
  • acquire_by_source - acquire_by_source
  • storage_bytes - storage_bytes
  • worker_crash_rate - worker_crash_rate
window'1h' | '6h' | '24h' | '7d' | '30d'

Trailing time window to retrieve. Defaults to 24h.

  • 1h - 1h
  • 6h - 6h
  • 24h - 24h
  • 7d - 7d
  • 30d - 30d

Response

One organization-scoped monitoring metric over time.

schema_versioninteger required

Version of the managed warehouse monitoring response schema.

org_idstring required

Organization whose managed warehouse is represented.

metricstring required

Allow-listed metric returned by this response.

unitstring required

Unit for every value in the response.

startstring date-time required

Inclusive UTC start of the returned time window.

endstring date-time required

Inclusive UTC end of the returned time window.

step_secondsinteger required

Number of seconds between requested samples.

Changes

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