SoulFire TypeScript SDK 2.10.3
    Preparing search index...

    Type Alias GetInstanceMetricsResponse

    GetInstanceMetricsResponse: Message<"soulfire.v1.GetInstanceMetricsResponse"> & {
        distributions?: MetricsDistributions;
        snapshots: MetricsSnapshot[];
    }

    Response containing time-series metrics and current distributions.

    Type Declaration

    • Optionaldistributions?: MetricsDistributions

      Current-state distributions computed from the latest bot data.

      from field: soulfire.v1.MetricsDistributions distributions = 2;

    • snapshots: MetricsSnapshot[]

      Time-series snapshots ordered oldest to newest. Contains up to 600 snapshots (30 minutes at 3-second intervals). If the request included a "since" timestamp, only newer snapshots are returned.

      from field: repeated soulfire.v1.MetricsSnapshot snapshots = 1;

    from message soulfire.v1.GetInstanceMetricsResponse