github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/client/socketservice/proto/fleetspeak_socketservice/config.proto (about)

     1  syntax = "proto3";
     2  
     3  package fleetspeak.socketservice;
     4  
     5  option go_package = "github.com/google/fleetspeak/fleetspeak/src/client/socketservice/proto/fleetspeak_socketservice";
     6  
     7  // The configuration information expected by socketservice.Factory in
     8  // ClientServiceConfig.config.
     9  message Config {
    10    // The given api_proxy_path may be an arbitrary filesystem path and will be
    11    // used to pair the daemon service with its non-child client process.
    12    //
    13    // On Unix in particular, a Unix socket will be created at this path and used
    14    // for communication between FS and the client.
    15    //
    16    // Side note: FS requires the proxy's parent directory's perms to be 0700.
    17    // If the parent directory doesn't exist, FS will mkdir -p it with perms set
    18    // to 0700.
    19    string api_proxy_path = 1;
    20  
    21    // By default, socket services report resource usage every 10 minutes. This
    22    // flag disables this if set.
    23    bool disable_resource_monitoring = 2;
    24  
    25    // How many samples to aggregate into a report when monitoring resource usage.
    26    // If unset, defaults to 20.
    27    int32 resource_monitoring_sample_size = 3;
    28  
    29    // How long to wait between resource monitoring samples. If unset, defaults to
    30    // 30 seconds.
    31    int32 resource_monitoring_sample_period_seconds = 4;
    32  }