drop_metric | metric_name_to_be_dropped text | void | |
delete_series_from_metric | metric_name text, series_ids | boolean | deletes the series from the metric. |
get_default_metric_retention_period | | interval | Returns the current default retention period for metrics. |
get_metric_metadata | metric_family_nametext | TABLE(metric_family text, type text, unit text, help text) | |
get_metric_retention_period | metric_name text | interval | Returns the retention period configured for a specific metric. |
get_multiple_metric_metadata | metric_families text[] | TABLE(metric_family text, type text, unit text, help text) | |
is_normal_nan | value double precision | boolean | is_normal_nan returns true if the value is a NaN. |
is_stale_marker | value double precision | boolean | is_stale_marker returns true if the value is a Prometheus stale marker. |
register_metric_view | schema_name text, view_name text, if_not_exists boolean | boolean | Register metric view with Promscale. This enables you to query the data with PromQL and set data retention policies through Promscale. Schema name and view name should be set to the desired schema and view you want to use. Note: underlying view needs to be based on an existing metric in Promscale (should use its table in the FROM clause). |
reset_metric_chunk_interval | metric_name text | boolean | reset_metric_chunk_interval resets the chunk interval for a specific metric to using the default. |
reset_metric_compression_setting | metric_name text | boolean | reset_metric_compression_setting resets the compression setting for a specific metric to using the default. |
reset_metric_retention_period | metric_name text | boolean | reset_metric_retention_period resets the retention period for a specific metric to using the default. |
set_compression_on_metric_table | metric_table_name text, compression_setting boolean | void | set_compression_on_metric_table set a compression for a specific metric table. |
set_default_chunk_interval | chunk_interval interval | boolean | set_default_chunk_interval set the chunk interval for any metrics (existing and new) without an explicit override. |
set_default_compression_setting | compression_setting boolean | boolean | set_default_compression_setting set the compression setting for any existing and new metrics without an explicit override. |
set_default_retention_period | retention_period interval | boolean | set_default_retention_period set the retention period for any metrics (existing and new) without an explicit override. |
set_metric_chunk_interval | metric_name text, chunk_interval interval | boolean | set_metric_chunk_interval set a chunk interval for a specific metric (this overrides the default). |
set_metric_compression_setting | metric_name text, new_compression_setting boolean | boolean | set_metric_compression_setting set a compression setting for a specific metric and this overrides the default. |
set_metric_retention_period | metric_name text, new_retention_period interval | boolean | set_metric_retention_period set a retention period for a specific metric (this overrides the default). |
unregister_metric_view | schema_name text, view_name text, if_not_exists boolean | boolean | Unregister metric view with Promscale. Schema name and view name should be set to the metric view already registered in Promscale. |