Skip to content
View as Markdown

LineChartResponse

Used for line charts, they're just a list of time series.

Field Type Description
time_series repeated bitdrift.public.shared.explorations.v1.TimeSeries The time series to render in the chart.

Example

JSON
{
  "time_series": [
    {
      "aggregated_rollup": 1.0,
      "aggregation_window": "3600s",
      "cardinality_overflows": {
        "group_by_overflows": 1,
        "query_group_by_collapsed": false,
        "total_overflows": 42
      },
      "data": [
        {
          "rate_details": {
            "denominator_count": 42,
            "numerator_count": 42
          },
          "timestamp": "2024-01-15T09:30:00Z",
          "unique_devices": 1,
          "value": 1.0
        }
      ],
      "id": "abc-123-def",
      "labels": [
        {
          "name": "My Workflow",
          "value": "example"
        }
      ],
      "legend": {
        "title": "My Workflow"
      },
      "title": "My Workflow",
      "unique_devices": 1
    }
  ]
}