Class MetricSamplesTable


  • public class MetricSamplesTable
    extends Table
    Defines the metadata associated with our static metric_samples table.

    This table contains the available metric samples for each metric named in the **metrics** table. More specifically, the table contains the following columns:

    **namespace** - A VARCHAR containing the namespace. **metric_name** - A VARCHAR containing the metric name. **dimensions** - A LIST of STRUCTS comprised of dim_name (VARCHAR) and dim_value (VARCHAR). **dim_name** - A VARCHAR convenience field used to easily filter on a single dimension name. **dim_value** - A VARCHAR convenience field used to easily filter on a single dimension value. **period** - An INT field representing the 'period' of the metric in seconds. (e.g. 60 second metric) **timestamp** - A BIGINT field representing the epoch time (in seconds) the metric sample is for. **value** - A FLOAT8 field containing the value of the sample. **statistic** - A VARCHAR containing the statistic type of the sample. (e.g. AVERAGE, p90, etc..)

    • Constructor Detail

      • MetricSamplesTable

        public MetricSamplesTable()