github.com/timstclair/heapster@v0.20.0-alpha1/Godeps/_workspace/src/google.golang.org/appengine/internal/system/system_service.proto (about)

     1  syntax = "proto2";
     2  option go_package = "system";
     3  
     4  package appengine;
     5  
     6  message SystemServiceError {
     7    enum ErrorCode {
     8      OK = 0;
     9      INTERNAL_ERROR = 1;
    10      BACKEND_REQUIRED = 2;
    11      LIMIT_REACHED = 3;
    12    }
    13  }
    14  
    15  message SystemStat {
    16    // Instaneous value of this stat.
    17    optional double current = 1;
    18  
    19    // Average over time, if this stat has an instaneous value.
    20    optional double average1m = 3;
    21    optional double average10m = 4;
    22  
    23    // Total value, if the stat accumulates over time.
    24    optional double total = 2;
    25  
    26    // Rate over time, if this stat accumulates.
    27    optional double rate1m = 5;
    28    optional double rate10m = 6;
    29  }
    30  
    31  message GetSystemStatsRequest {
    32  }
    33  
    34  message GetSystemStatsResponse {
    35    // CPU used by this instance, in mcycles.
    36    optional SystemStat cpu = 1;
    37  
    38    // Physical memory (RAM) used by this instance, in megabytes.
    39    optional SystemStat memory = 2;
    40  }
    41  
    42  message StartBackgroundRequestRequest {
    43  }
    44  
    45  message StartBackgroundRequestResponse {
    46    // Every /_ah/background request will have an X-AppEngine-BackgroundRequest
    47    // header, whose value will be equal to this parameter, the request_id.
    48    optional string request_id = 1;
    49  }