Neon · Schema
ConsumptionMetric
A consumption metric data point
DatabasesServerlessPostgresInfrastructureAuthenticationEdge
Properties
| Name | Type | Description |
|---|---|---|
| timeframe_start | string | Start of the measurement timeframe |
| timeframe_end | string | End of the measurement timeframe |
| active_time_seconds | integer | Number of seconds the compute endpoints have been active |
| compute_time_seconds | integer | Number of CPU seconds used by compute endpoints |
| written_data_bytes | integer | Total bytes of data written |
| data_storage_bytes_hour | integer | Storage consumption in byte-hours |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/ConsumptionMetric",
"title": "ConsumptionMetric",
"type": "object",
"description": "A consumption metric data point",
"properties": {
"timeframe_start": {
"type": "string",
"format": "date-time",
"description": "Start of the measurement timeframe"
},
"timeframe_end": {
"type": "string",
"format": "date-time",
"description": "End of the measurement timeframe"
},
"active_time_seconds": {
"type": "integer",
"description": "Number of seconds the compute endpoints have been active"
},
"compute_time_seconds": {
"type": "integer",
"description": "Number of CPU seconds used by compute endpoints"
},
"written_data_bytes": {
"type": "integer",
"format": "int64",
"description": "Total bytes of data written"
},
"data_storage_bytes_hour": {
"type": "integer",
"format": "int64",
"description": "Storage consumption in byte-hours"
}
}
}