go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/logdog/api/config/svcconfig/archival.proto (about)

     1  // Copyright 2015 The LUCI Authors. All rights reserved.
     2  // Use of this source code is governed under the Apache License, Version 2.0
     3  // that can be found in the LICENSE file.
     4  
     5  syntax = "proto3";
     6  
     7  package svcconfig;
     8  
     9  option go_package = "go.chromium.org/luci/logdog/api/config/svcconfig";
    10  
    11  // ArchiveIndexConfig specifies how archive indexes should be generated.
    12  //
    13  // By default, each log entry will be present in the index. This is generally
    14  // overkill; instead, the index can be more sparse at the expense of a slightly
    15  // higher data load.
    16  message ArchiveIndexConfig {
    17    // If not zero, the maximum number of stream indices between index entries.
    18    int32 stream_range = 1;
    19    // If not zero, the maximum number of prefix indices between index entries.
    20    int32 prefix_range = 2;
    21    // If not zero, the maximum number of log data bytes between index entries.
    22    int32 byte_range = 3;
    23  }