github.com/thanos-io/thanos@v0.32.5/pkg/ui/react-app/src/thanos/pages/blocks/block.ts (about)

     1  export interface Block {
     2    compaction: {
     3      level: number;
     4      sources: string[];
     5      parents?: {
     6        maxTime: number;
     7        minTime: number;
     8        ulid: string;
     9      }[];
    10    };
    11    maxTime: number;
    12    minTime: number;
    13    stats: {
    14      numChunks: number;
    15      numSamples: number;
    16      numSeries: number;
    17    };
    18    thanos: {
    19      downsample: {
    20        resolution: number;
    21      };
    22      labels: LabelSet;
    23      source: string;
    24    };
    25    ulid: string;
    26    version: number;
    27  }
    28  
    29  export interface LabelSet {
    30    [labelName: string]: string;
    31  }
    32  
    33  export interface BlocksPool {
    34    [key: string]: Block[][];
    35  }