Skip to content

Latest commit

 

History

History
51 lines (46 loc) · 3.76 KB

File metadata and controls

51 lines (46 loc) · 3.76 KB

AggregatedTraceViewResponse

Example Usage

import { AggregatedTraceViewResponse } from "galileo-generated/models";

let value: AggregatedTraceViewResponse = {
  graph: {
    nodes: [
      {
        id: "<id>",
        name: "<value>",
        type: "retriever",
        occurrences: 256942,
        hasChildren: false,
        metrics: {
          "key": {
            name: "<value>",
            label: "<value>",
          },
        },
        traceCount: 870893,
        weight: 407.2,
      },
    ],
    edges: [
      {
        source: "<value>",
        target: "<value>",
        weight: 1839.51,
        occurrences: 165589,
      },
    ],
  },
  numTraces: 360800,
  numSessions: 241014,
  hasAllTraces: false,
};

Fields

Field Type Required Description
graph models.AggregatedTraceViewGraph ✔️ N/A
numTraces number ✔️ Number of traces in the aggregated view
numSessions number ✔️ Number of sessions in the aggregated view
startTime Date created_at of earliest record of the aggregated view
endTime Date created_at of latest record of the aggregated view
hasAllTraces boolean ✔️ Whether all traces were returned