Documentation ¶
Index ¶
- Constants
- Variables
- func NiceAndStep(start, stop, count float64) (float64, float64, float64)
- type ColumnCardinality
- func (q *ColumnCardinality) Deps() []*runtimev1.ResourceName
- func (q *ColumnCardinality) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *ColumnCardinality) Key() string
- func (q *ColumnCardinality) MarshalResult() *runtime.QueryResult
- func (q *ColumnCardinality) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnCardinality) UnmarshalResult(v any) error
- type ColumnDescriptiveStatistics
- func (q *ColumnDescriptiveStatistics) Deps() []*runtimev1.ResourceName
- func (q *ColumnDescriptiveStatistics) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *ColumnDescriptiveStatistics) Key() string
- func (q *ColumnDescriptiveStatistics) MarshalResult() *runtime.QueryResult
- func (q *ColumnDescriptiveStatistics) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnDescriptiveStatistics) UnmarshalResult(v any) error
- type ColumnNullCount
- func (q *ColumnNullCount) Deps() []*runtimev1.ResourceName
- func (q *ColumnNullCount) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *ColumnNullCount) Key() string
- func (q *ColumnNullCount) MarshalResult() *runtime.QueryResult
- func (q *ColumnNullCount) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnNullCount) UnmarshalResult(v any) error
- type ColumnNumericHistogram
- func (q *ColumnNumericHistogram) Deps() []*runtimev1.ResourceName
- func (q *ColumnNumericHistogram) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *ColumnNumericHistogram) Key() string
- func (q *ColumnNumericHistogram) MarshalResult() *runtime.QueryResult
- func (q *ColumnNumericHistogram) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnNumericHistogram) UnmarshalResult(v any) error
- type ColumnRugHistogram
- func (q *ColumnRugHistogram) Deps() []*runtimev1.ResourceName
- func (q *ColumnRugHistogram) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *ColumnRugHistogram) Key() string
- func (q *ColumnRugHistogram) MarshalResult() *runtime.QueryResult
- func (q *ColumnRugHistogram) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnRugHistogram) UnmarshalResult(v any) error
- type ColumnTimeGrain
- func (q *ColumnTimeGrain) Deps() []*runtimev1.ResourceName
- func (q *ColumnTimeGrain) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *ColumnTimeGrain) Key() string
- func (q *ColumnTimeGrain) MarshalResult() *runtime.QueryResult
- func (q *ColumnTimeGrain) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnTimeGrain) UnmarshalResult(v any) error
- type ColumnTimeRange
- func (q *ColumnTimeRange) Deps() []*runtimev1.ResourceName
- func (q *ColumnTimeRange) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *ColumnTimeRange) Key() string
- func (q *ColumnTimeRange) MarshalResult() *runtime.QueryResult
- func (q *ColumnTimeRange) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnTimeRange) UnmarshalResult(v any) error
- type ColumnTimeseries
- func (q *ColumnTimeseries) CreateTimestampRollupReduction(ctx context.Context, rt *runtime.Runtime, olap drivers.OLAPStore, ...) ([]*runtimev1.TimeSeriesValue, error)
- func (q *ColumnTimeseries) Deps() []*runtimev1.ResourceName
- func (q *ColumnTimeseries) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *ColumnTimeseries) Key() string
- func (q *ColumnTimeseries) MarshalResult() *runtime.QueryResult
- func (q *ColumnTimeseries) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnTimeseries) ResolveNormaliseTimeRange(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) (*runtimev1.TimeSeriesTimeRange, error)
- func (q *ColumnTimeseries) UnmarshalResult(v any) error
- type ColumnTimeseriesResult
- type ColumnTopK
- func (q *ColumnTopK) Deps() []*runtimev1.ResourceName
- func (q *ColumnTopK) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *ColumnTopK) Key() string
- func (q *ColumnTopK) MarshalResult() *runtime.QueryResult
- func (q *ColumnTopK) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *ColumnTopK) UnmarshalResult(v any) error
- type MetricsViewAggregation
- func (q *MetricsViewAggregation) Deps() []*runtimev1.ResourceName
- func (q *MetricsViewAggregation) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *MetricsViewAggregation) Key() string
- func (q *MetricsViewAggregation) MarshalResult() *runtime.QueryResult
- func (q *MetricsViewAggregation) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *MetricsViewAggregation) UnmarshalResult(v any) error
- type MetricsViewComparisonToplist
- func (q *MetricsViewComparisonToplist) Deps() []*runtimev1.ResourceName
- func (q *MetricsViewComparisonToplist) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *MetricsViewComparisonToplist) Key() string
- func (q *MetricsViewComparisonToplist) MarshalResult() *runtime.QueryResult
- func (q *MetricsViewComparisonToplist) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *MetricsViewComparisonToplist) UnmarshalResult(v any) error
- type MetricsViewRows
- func (q *MetricsViewRows) Deps() []*runtimev1.ResourceName
- func (q *MetricsViewRows) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *MetricsViewRows) Key() string
- func (q *MetricsViewRows) MarshalResult() *runtime.QueryResult
- func (q *MetricsViewRows) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *MetricsViewRows) UnmarshalResult(v any) error
- type MetricsViewTimeRange
- func (q *MetricsViewTimeRange) Deps() []*runtimev1.ResourceName
- func (q *MetricsViewTimeRange) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *MetricsViewTimeRange) Key() string
- func (q *MetricsViewTimeRange) MarshalResult() *runtime.QueryResult
- func (q *MetricsViewTimeRange) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *MetricsViewTimeRange) UnmarshalResult(v any) error
- type MetricsViewTimeSeries
- func (q *MetricsViewTimeSeries) Deps() []*runtimev1.ResourceName
- func (q *MetricsViewTimeSeries) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *MetricsViewTimeSeries) Key() string
- func (q *MetricsViewTimeSeries) MarshalResult() *runtime.QueryResult
- func (q *MetricsViewTimeSeries) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *MetricsViewTimeSeries) UnmarshalResult(v any) error
- type MetricsViewToplist
- func (q *MetricsViewToplist) Deps() []*runtimev1.ResourceName
- func (q *MetricsViewToplist) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *MetricsViewToplist) Key() string
- func (q *MetricsViewToplist) MarshalResult() *runtime.QueryResult
- func (q *MetricsViewToplist) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *MetricsViewToplist) UnmarshalResult(v any) error
- type MetricsViewTotals
- func (q *MetricsViewTotals) Deps() []*runtimev1.ResourceName
- func (q *MetricsViewTotals) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *MetricsViewTotals) Key() string
- func (q *MetricsViewTotals) MarshalResult() *runtime.QueryResult
- func (q *MetricsViewTotals) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *MetricsViewTotals) UnmarshalResult(v any) error
- type RollupInterval
- func (q *RollupInterval) Deps() []*runtimev1.ResourceName
- func (q *RollupInterval) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *RollupInterval) Key() string
- func (q *RollupInterval) MarshalResult() *runtime.QueryResult
- func (q *RollupInterval) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *RollupInterval) UnmarshalResult(v any) error
- type TableCardinality
- func (q *TableCardinality) Deps() []*runtimev1.ResourceName
- func (q *TableCardinality) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *TableCardinality) Key() string
- func (q *TableCardinality) MarshalResult() *runtime.QueryResult
- func (q *TableCardinality) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *TableCardinality) UnmarshalResult(v any) error
- type TableColumns
- func (q *TableColumns) Deps() []*runtimev1.ResourceName
- func (q *TableColumns) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *TableColumns) Key() string
- func (q *TableColumns) MarshalResult() *runtime.QueryResult
- func (q *TableColumns) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *TableColumns) UnmarshalResult(v any) error
- type TableHead
- func (q *TableHead) Deps() []*runtimev1.ResourceName
- func (q *TableHead) Export(ctx context.Context, rt *runtime.Runtime, instanceID string, w io.Writer, ...) error
- func (q *TableHead) Key() string
- func (q *TableHead) MarshalResult() *runtime.QueryResult
- func (q *TableHead) Resolve(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) error
- func (q *TableHead) UnmarshalResult(v any) error
Constants ¶
View Source
const IsoFormat string = "2006-01-02T15:04:05.000Z"
Variables ¶
View Source
var ErrExportNotSupported = fmt.Errorf("exporting is not supported")
Functions ¶
func NiceAndStep ¶ added in v0.22.0
Returns a new interval with nicer looking bounds covering the given interval and the step relative to the number of ticks (`count` parameter). The new bounds are guaranteed to align with the human-friendly gap between ticks. The gap is a rounded value that is a power of 10 multiplied by 1, 2 or 5. This approach is inspired by d3.js, see d3.nice() function.
Types ¶
type ColumnCardinality ¶ added in v0.17.0
func (*ColumnCardinality) Deps ¶ added in v0.17.0
func (q *ColumnCardinality) Deps() []*runtimev1.ResourceName
func (*ColumnCardinality) Key ¶ added in v0.17.0
func (q *ColumnCardinality) Key() string
func (*ColumnCardinality) MarshalResult ¶ added in v0.17.0
func (q *ColumnCardinality) MarshalResult() *runtime.QueryResult
func (*ColumnCardinality) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnCardinality) UnmarshalResult(v any) error
type ColumnDescriptiveStatistics ¶ added in v0.17.0
type ColumnDescriptiveStatistics struct { TableName string ColumnName string Result *runtimev1.NumericStatistics }
func (*ColumnDescriptiveStatistics) Deps ¶ added in v0.17.0
func (q *ColumnDescriptiveStatistics) Deps() []*runtimev1.ResourceName
func (*ColumnDescriptiveStatistics) Key ¶ added in v0.17.0
func (q *ColumnDescriptiveStatistics) Key() string
func (*ColumnDescriptiveStatistics) MarshalResult ¶ added in v0.17.0
func (q *ColumnDescriptiveStatistics) MarshalResult() *runtime.QueryResult
func (*ColumnDescriptiveStatistics) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnDescriptiveStatistics) UnmarshalResult(v any) error
type ColumnNullCount ¶ added in v0.17.0
func (*ColumnNullCount) Deps ¶ added in v0.17.0
func (q *ColumnNullCount) Deps() []*runtimev1.ResourceName
func (*ColumnNullCount) Key ¶ added in v0.17.0
func (q *ColumnNullCount) Key() string
func (*ColumnNullCount) MarshalResult ¶ added in v0.17.0
func (q *ColumnNullCount) MarshalResult() *runtime.QueryResult
func (*ColumnNullCount) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnNullCount) UnmarshalResult(v any) error
type ColumnNumericHistogram ¶ added in v0.17.0
type ColumnNumericHistogram struct { TableName string ColumnName string Method runtimev1.HistogramMethod Threshold int Result []*runtimev1.NumericHistogramBins_Bin }
func (*ColumnNumericHistogram) Deps ¶ added in v0.17.0
func (q *ColumnNumericHistogram) Deps() []*runtimev1.ResourceName
func (*ColumnNumericHistogram) Key ¶ added in v0.17.0
func (q *ColumnNumericHistogram) Key() string
func (*ColumnNumericHistogram) MarshalResult ¶ added in v0.17.0
func (q *ColumnNumericHistogram) MarshalResult() *runtime.QueryResult
func (*ColumnNumericHistogram) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnNumericHistogram) UnmarshalResult(v any) error
type ColumnRugHistogram ¶ added in v0.17.0
type ColumnRugHistogram struct { TableName string ColumnName string Result []*runtimev1.NumericOutliers_Outlier }
func (*ColumnRugHistogram) Deps ¶ added in v0.17.0
func (q *ColumnRugHistogram) Deps() []*runtimev1.ResourceName
func (*ColumnRugHistogram) Key ¶ added in v0.17.0
func (q *ColumnRugHistogram) Key() string
func (*ColumnRugHistogram) MarshalResult ¶ added in v0.17.0
func (q *ColumnRugHistogram) MarshalResult() *runtime.QueryResult
func (*ColumnRugHistogram) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnRugHistogram) UnmarshalResult(v any) error
type ColumnTimeGrain ¶ added in v0.17.0
func (*ColumnTimeGrain) Deps ¶ added in v0.17.0
func (q *ColumnTimeGrain) Deps() []*runtimev1.ResourceName
func (*ColumnTimeGrain) Key ¶ added in v0.17.0
func (q *ColumnTimeGrain) Key() string
func (*ColumnTimeGrain) MarshalResult ¶ added in v0.17.0
func (q *ColumnTimeGrain) MarshalResult() *runtime.QueryResult
func (*ColumnTimeGrain) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnTimeGrain) UnmarshalResult(v any) error
type ColumnTimeRange ¶ added in v0.17.0
type ColumnTimeRange struct { TableName string ColumnName string Result *runtimev1.TimeRangeSummary }
func (*ColumnTimeRange) Deps ¶ added in v0.17.0
func (q *ColumnTimeRange) Deps() []*runtimev1.ResourceName
func (*ColumnTimeRange) Key ¶ added in v0.17.0
func (q *ColumnTimeRange) Key() string
func (*ColumnTimeRange) MarshalResult ¶ added in v0.17.0
func (q *ColumnTimeRange) MarshalResult() *runtime.QueryResult
func (*ColumnTimeRange) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnTimeRange) UnmarshalResult(v any) error
type ColumnTimeseries ¶ added in v0.17.0
type ColumnTimeseries struct { TableName string `json:"table_name"` Measures []*runtimev1.ColumnTimeSeriesRequest_BasicMeasure `json:"measures"` TimestampColumnName string `json:"timestamp_column_name"` TimeRange *runtimev1.TimeSeriesTimeRange `json:"time_range"` Pixels int32 `json:"pixels"` SampleSize int32 `json:"sample_size"` TimeZone string `json:"time_zone,omitempty"` Result *ColumnTimeseriesResult `json:"-"` FirstDayOfWeek uint32 FirstMonthOfYear uint32 // MetricsView-related fields. These can be removed when MetricsViewTimeSeries is refactored to a standalone implementation. MetricsView *runtimev1.MetricsViewSpec `json:"-"` MetricsViewFilter *runtimev1.MetricsViewFilter `json:"filters"` MetricsViewPolicy *runtime.ResolvedMetricsViewSecurity `json:"security"` }
func (*ColumnTimeseries) CreateTimestampRollupReduction ¶ added in v0.36.0
func (q *ColumnTimeseries) CreateTimestampRollupReduction( ctx context.Context, rt *runtime.Runtime, olap drivers.OLAPStore, instanceID string, priority int, tableName string, timestampColumnName string, valueColumn string, ) ([]*runtimev1.TimeSeriesValue, error)
*
- Contains an as-of-this-commit unpublished algorithm for an M4-like line density reduction.
- This will take in an n-length time series and produce a pixels * 4 reduction of the time series
- that preserves the shape and trends. *
- This algorithm expects the source table to have a timestamp column and some kind of value column,
- meaning it expects the data to essentially already be aggregated. *
- It's important to note that this implemention is NOT the original M4 aggregation method, but a method
- that has the same basic understanding but is much faster. *
- Nonetheless, we mostly use this to reduce a many-thousands-point-long time series to about 120 * 4 pixels.
- Importantly, this function runs very fast. For more information about the original M4 method,
- see http://www.vldb.org/pvldb/vol7/p797-jugel.pdf
func (*ColumnTimeseries) Deps ¶ added in v0.17.0
func (q *ColumnTimeseries) Deps() []*runtimev1.ResourceName
func (*ColumnTimeseries) Key ¶ added in v0.17.0
func (q *ColumnTimeseries) Key() string
func (*ColumnTimeseries) MarshalResult ¶ added in v0.17.0
func (q *ColumnTimeseries) MarshalResult() *runtime.QueryResult
func (*ColumnTimeseries) ResolveNormaliseTimeRange ¶ added in v0.36.0
func (q *ColumnTimeseries) ResolveNormaliseTimeRange(ctx context.Context, rt *runtime.Runtime, instanceID string, priority int) (*runtimev1.TimeSeriesTimeRange, error)
func (*ColumnTimeseries) UnmarshalResult ¶ added in v0.17.0
func (q *ColumnTimeseries) UnmarshalResult(v any) error
type ColumnTimeseriesResult ¶ added in v0.21.0
type ColumnTimeseriesResult struct { Meta []*runtimev1.MetricsViewColumn Results []*runtimev1.TimeSeriesValue Spark []*runtimev1.TimeSeriesValue TimeRange *runtimev1.TimeSeriesTimeRange SampleSize int32 }
type ColumnTopK ¶
type ColumnTopK struct { TableName string ColumnName string Agg string K int Result *runtimev1.TopK }
func (*ColumnTopK) Deps ¶
func (q *ColumnTopK) Deps() []*runtimev1.ResourceName
func (*ColumnTopK) Key ¶
func (q *ColumnTopK) Key() string
func (*ColumnTopK) MarshalResult ¶
func (q *ColumnTopK) MarshalResult() *runtime.QueryResult
func (*ColumnTopK) UnmarshalResult ¶
func (q *ColumnTopK) UnmarshalResult(v any) error
type MetricsViewAggregation ¶ added in v0.33.2
type MetricsViewAggregation struct { MetricsViewName string `json:"metrics_view,omitempty"` Dimensions []*runtimev1.MetricsViewAggregationDimension `json:"dimensions,omitempty"` Measures []*runtimev1.MetricsViewAggregationMeasure `json:"measures,omitempty"` Sort []*runtimev1.MetricsViewAggregationSort `json:"sort,omitempty"` TimeStart *timestamppb.Timestamp `json:"time_start,omitempty"` TimeEnd *timestamppb.Timestamp `json:"time_end,omitempty"` Filter *runtimev1.MetricsViewFilter `json:"filter,omitempty"` Priority int32 `json:"priority,omitempty"` Limit *int64 `json:"limit,omitempty"` Offset int64 `json:"offset,omitempty"` MetricsView *runtimev1.MetricsViewSpec `json:"-"` ResolvedMVSecurity *runtime.ResolvedMetricsViewSecurity `json:"security"` Result *runtimev1.MetricsViewAggregationResponse `json:"-"` }
func (*MetricsViewAggregation) Deps ¶ added in v0.33.2
func (q *MetricsViewAggregation) Deps() []*runtimev1.ResourceName
func (*MetricsViewAggregation) Key ¶ added in v0.33.2
func (q *MetricsViewAggregation) Key() string
func (*MetricsViewAggregation) MarshalResult ¶ added in v0.33.2
func (q *MetricsViewAggregation) MarshalResult() *runtime.QueryResult
func (*MetricsViewAggregation) UnmarshalResult ¶ added in v0.33.2
func (q *MetricsViewAggregation) UnmarshalResult(v any) error
type MetricsViewComparisonToplist ¶ added in v0.25.2
type MetricsViewComparisonToplist struct { MetricsViewName string `json:"metrics_view_name,omitempty"` DimensionName string `json:"dimension_name,omitempty"` MeasureNames []string `json:"measure_names,omitempty"` InlineMeasures []*runtimev1.InlineMeasure `json:"inline_measures,omitempty"` BaseTimeRange *runtimev1.TimeRange `json:"base_time_range,omitempty"` ComparisonTimeRange *runtimev1.TimeRange `json:"comparison_time_range,omitempty"` Limit int64 `json:"limit,omitempty"` Offset int64 `json:"offset,omitempty"` Sort []*runtimev1.MetricsViewComparisonSort `json:"sort,omitempty"` Filter *runtimev1.MetricsViewFilter `json:"filter,omitempty"` MetricsView *runtimev1.MetricsViewSpec `json:"-"` ResolvedMVSecurity *runtime.ResolvedMetricsViewSecurity `json:"security"` Exact bool `json:"exact"` Result *runtimev1.MetricsViewComparisonToplistResponse `json:"-"` }
func (*MetricsViewComparisonToplist) Deps ¶ added in v0.25.2
func (q *MetricsViewComparisonToplist) Deps() []*runtimev1.ResourceName
func (*MetricsViewComparisonToplist) Key ¶ added in v0.25.2
func (q *MetricsViewComparisonToplist) Key() string
func (*MetricsViewComparisonToplist) MarshalResult ¶ added in v0.25.2
func (q *MetricsViewComparisonToplist) MarshalResult() *runtime.QueryResult
func (*MetricsViewComparisonToplist) UnmarshalResult ¶ added in v0.25.2
func (q *MetricsViewComparisonToplist) UnmarshalResult(v any) error
type MetricsViewRows ¶ added in v0.24.4
type MetricsViewRows struct { MetricsViewName string `json:"metrics_view_name,omitempty"` TimeStart *timestamppb.Timestamp `json:"time_start,omitempty"` TimeEnd *timestamppb.Timestamp `json:"time_end,omitempty"` TimeGranularity runtimev1.TimeGrain `json:"time_granularity,omitempty"` Filter *runtimev1.MetricsViewFilter `json:"filter,omitempty"` Sort []*runtimev1.MetricsViewSort `json:"sort,omitempty"` Limit *int64 `json:"limit,omitempty"` Offset int64 `json:"offset,omitempty"` TimeZone string `json:"time_zone,omitempty"` MetricsView *runtimev1.MetricsViewSpec `json:"-"` ResolvedMVSecurity *runtime.ResolvedMetricsViewSecurity `json:"security"` Result *runtimev1.MetricsViewRowsResponse `json:"-"` }
func (*MetricsViewRows) Deps ¶ added in v0.24.4
func (q *MetricsViewRows) Deps() []*runtimev1.ResourceName
func (*MetricsViewRows) Key ¶ added in v0.24.4
func (q *MetricsViewRows) Key() string
func (*MetricsViewRows) MarshalResult ¶ added in v0.24.4
func (q *MetricsViewRows) MarshalResult() *runtime.QueryResult
func (*MetricsViewRows) UnmarshalResult ¶ added in v0.24.4
func (q *MetricsViewRows) UnmarshalResult(v any) error
type MetricsViewTimeRange ¶ added in v0.32.0
type MetricsViewTimeRange struct { MetricsViewName string `json:"name"` MetricsView *runtimev1.MetricsViewSpec `json:"-"` ResolvedMVSecurity *runtime.ResolvedMetricsViewSecurity `json:"security"` Result *runtimev1.MetricsViewTimeRangeResponse `json:"_"` }
func (*MetricsViewTimeRange) Deps ¶ added in v0.32.0
func (q *MetricsViewTimeRange) Deps() []*runtimev1.ResourceName
func (*MetricsViewTimeRange) Key ¶ added in v0.32.0
func (q *MetricsViewTimeRange) Key() string
func (*MetricsViewTimeRange) MarshalResult ¶ added in v0.32.0
func (q *MetricsViewTimeRange) MarshalResult() *runtime.QueryResult
func (*MetricsViewTimeRange) UnmarshalResult ¶ added in v0.32.0
func (q *MetricsViewTimeRange) UnmarshalResult(v any) error
type MetricsViewTimeSeries ¶ added in v0.17.0
type MetricsViewTimeSeries struct { MetricsViewName string `json:"metrics_view_name,omitempty"` MeasureNames []string `json:"measure_names,omitempty"` InlineMeasures []*runtimev1.InlineMeasure `json:"inline_measures,omitempty"` TimeStart *timestamppb.Timestamp `json:"time_start,omitempty"` TimeEnd *timestamppb.Timestamp `json:"time_end,omitempty"` Limit int64 `json:"limit,omitempty"` Offset int64 `json:"offset,omitempty"` Sort []*runtimev1.MetricsViewSort `json:"sort,omitempty"` Filter *runtimev1.MetricsViewFilter `json:"filter,omitempty"` TimeGranularity runtimev1.TimeGrain `json:"time_granularity,omitempty"` TimeZone string `json:"time_zone,omitempty"` MetricsView *runtimev1.MetricsViewSpec `json:"-"` ResolvedMVSecurity *runtime.ResolvedMetricsViewSecurity `json:"security"` Result *runtimev1.MetricsViewTimeSeriesResponse `json:"-"` }
func (*MetricsViewTimeSeries) Deps ¶ added in v0.17.0
func (q *MetricsViewTimeSeries) Deps() []*runtimev1.ResourceName
func (*MetricsViewTimeSeries) Key ¶ added in v0.17.0
func (q *MetricsViewTimeSeries) Key() string
func (*MetricsViewTimeSeries) MarshalResult ¶ added in v0.17.0
func (q *MetricsViewTimeSeries) MarshalResult() *runtime.QueryResult
func (*MetricsViewTimeSeries) UnmarshalResult ¶ added in v0.17.0
func (q *MetricsViewTimeSeries) UnmarshalResult(v any) error
type MetricsViewToplist ¶ added in v0.17.0
type MetricsViewToplist struct { MetricsViewName string `json:"metrics_view_name,omitempty"` DimensionName string `json:"dimension_name,omitempty"` MeasureNames []string `json:"measure_names,omitempty"` InlineMeasures []*runtimev1.InlineMeasure `json:"inline_measures,omitempty"` TimeStart *timestamppb.Timestamp `json:"time_start,omitempty"` TimeEnd *timestamppb.Timestamp `json:"time_end,omitempty"` Limit *int64 `json:"limit,omitempty"` Offset int64 `json:"offset,omitempty"` Sort []*runtimev1.MetricsViewSort `json:"sort,omitempty"` Filter *runtimev1.MetricsViewFilter `json:"filter,omitempty"` MetricsView *runtimev1.MetricsViewSpec `json:"-"` ResolvedMVSecurity *runtime.ResolvedMetricsViewSecurity `json:"security"` Result *runtimev1.MetricsViewToplistResponse `json:"-"` }
func (*MetricsViewToplist) Deps ¶ added in v0.17.0
func (q *MetricsViewToplist) Deps() []*runtimev1.ResourceName
func (*MetricsViewToplist) Key ¶ added in v0.17.0
func (q *MetricsViewToplist) Key() string
func (*MetricsViewToplist) MarshalResult ¶ added in v0.17.0
func (q *MetricsViewToplist) MarshalResult() *runtime.QueryResult
func (*MetricsViewToplist) UnmarshalResult ¶ added in v0.17.0
func (q *MetricsViewToplist) UnmarshalResult(v any) error
type MetricsViewTotals ¶ added in v0.17.0
type MetricsViewTotals struct { MetricsViewName string `json:"metrics_view_name,omitempty"` MeasureNames []string `json:"measure_names,omitempty"` InlineMeasures []*runtimev1.InlineMeasure `json:"inline_measures,omitempty"` TimeStart *timestamppb.Timestamp `json:"time_start,omitempty"` TimeEnd *timestamppb.Timestamp `json:"time_end,omitempty"` Filter *runtimev1.MetricsViewFilter `json:"filter,omitempty"` MetricsView *runtimev1.MetricsViewSpec `json:"-"` ResolvedMVSecurity *runtime.ResolvedMetricsViewSecurity `json:"security"` Result *runtimev1.MetricsViewTotalsResponse `json:"-"` }
func (*MetricsViewTotals) Deps ¶ added in v0.17.0
func (q *MetricsViewTotals) Deps() []*runtimev1.ResourceName
func (*MetricsViewTotals) Key ¶ added in v0.17.0
func (q *MetricsViewTotals) Key() string
func (*MetricsViewTotals) MarshalResult ¶ added in v0.17.0
func (q *MetricsViewTotals) MarshalResult() *runtime.QueryResult
func (*MetricsViewTotals) UnmarshalResult ¶ added in v0.17.0
func (q *MetricsViewTotals) UnmarshalResult(v any) error
type RollupInterval ¶ added in v0.17.0
type RollupInterval struct { TableName string ColumnName string Result *runtimev1.ColumnRollupIntervalResponse }
func (*RollupInterval) Deps ¶ added in v0.17.0
func (q *RollupInterval) Deps() []*runtimev1.ResourceName
func (*RollupInterval) Key ¶ added in v0.17.0
func (q *RollupInterval) Key() string
func (*RollupInterval) MarshalResult ¶ added in v0.17.0
func (q *RollupInterval) MarshalResult() *runtime.QueryResult
func (*RollupInterval) UnmarshalResult ¶ added in v0.17.0
func (q *RollupInterval) UnmarshalResult(v any) error
type TableCardinality ¶ added in v0.17.0
func (*TableCardinality) Deps ¶ added in v0.17.0
func (q *TableCardinality) Deps() []*runtimev1.ResourceName
func (*TableCardinality) Key ¶ added in v0.17.0
func (q *TableCardinality) Key() string
func (*TableCardinality) MarshalResult ¶ added in v0.17.0
func (q *TableCardinality) MarshalResult() *runtime.QueryResult
func (*TableCardinality) UnmarshalResult ¶ added in v0.17.0
func (q *TableCardinality) UnmarshalResult(v any) error
type TableColumns ¶ added in v0.17.0
type TableColumns struct { TableName string Result []*runtimev1.ProfileColumn }
func (*TableColumns) Deps ¶ added in v0.17.0
func (q *TableColumns) Deps() []*runtimev1.ResourceName
func (*TableColumns) Key ¶ added in v0.17.0
func (q *TableColumns) Key() string
func (*TableColumns) MarshalResult ¶ added in v0.17.0
func (q *TableColumns) MarshalResult() *runtime.QueryResult
func (*TableColumns) UnmarshalResult ¶ added in v0.17.0
func (q *TableColumns) UnmarshalResult(v any) error
type TableHead ¶ added in v0.21.1
func (*TableHead) Deps ¶ added in v0.21.1
func (q *TableHead) Deps() []*runtimev1.ResourceName
func (*TableHead) MarshalResult ¶ added in v0.21.1
func (q *TableHead) MarshalResult() *runtime.QueryResult
func (*TableHead) UnmarshalResult ¶ added in v0.21.1
Source Files ¶
- column_cardinality.go
- column_desc_stats.go
- column_null_count.go
- column_numeric_histogram.go
- column_numeric_histogram_nice.go
- column_rug_histogram.go
- column_time_grain.go
- column_time_range.go
- column_timeseries.go
- column_topk.go
- metricsview.go
- metricsview_aggregation.go
- metricsview_comparison_toplist.go
- metricsview_rows.go
- metricsview_time_range.go
- metricsview_timeseries.go
- metricsview_toplist.go
- metricsview_totals.go
- protoutil.go
- queries.go
- sqlutil.go
- table_cardinality.go
- table_columns.go
- table_head.go
- timeseries_interval.go
Click to show internal directories.
Click to hide internal directories.