github.com/status-im/status-go@v1.1.0/protocol/protobuf/anon_metrics.proto (about)

     1  syntax = "proto3";
     2  
     3  option go_package = "./;protobuf";
     4  package protobuf;
     5  
     6  import "google/protobuf/timestamp.proto";
     7  
     8  // AnonymousMetric represents a single metric data point
     9  message AnonymousMetric {
    10    // id is the unique id of the metric message
    11    string id=1;
    12  
    13    // event is the app metric event type
    14    string event=2;
    15  
    16    // value is a filtered and validated raw json payload attached to the event
    17    bytes value=3;
    18  
    19    // app_version is the version of the `status-mobile` app that the metric came from
    20    string app_version=4;
    21  
    22    // os is the operating system of the device the application is installed on
    23    string os=5;
    24  
    25    // session_id is the id of the session the metric was recorded in
    26    string session_id=6;
    27  
    28    // created_at is the datetime at which the metric was stored in the local db
    29    google.protobuf.Timestamp created_at=7;
    30  }
    31  
    32  // AnonymousMetricBatch represents a batch of AnonymousMetrics allowing broadcast of AnonymousMetrics with fewer messages
    33  message AnonymousMetricBatch {
    34    // metrics is an array of AnonymousMetric metrics
    35    repeated AnonymousMetric metrics=1;
    36  }