Skip to main content

delta_table.go - Overview

  1. Overview This file contains functions for constructing ClickHouse queries for delta metrics to be displayed in a table format.

  2. Detailed Documentation

buildDeltaMetricQueryForTable(start, end, _ int64, mq *v3.BuilderQuery) (string, error)

  • Purpose: Builds a ClickHouse query for delta metrics to be displayed in a table format.
  • Parameters:
    • start (int64): The start timestamp in milliseconds.
    • end (int64): The end timestamp in milliseconds.
    • _ (int64): Unused parameter.
    • mq (*v3.BuilderQuery): The builder query containing query parameters.
  • Returns: A string representing the ClickHouse query, or an error if the query cannot be constructed or the aggregation operator is not supported.

Include in Getting Started: NO