| // This file was generated by Cobalt's Config parser based on the configuration |
| // YAML in the cobalt_config repository. Edit the YAML there to make changes. |
| // Metric ID Constants |
| // the_metric_name |
| pub const THE_METRIC_NAME_METRIC_ID = 100; |
| // the_other_metric_name |
| pub const THE_OTHER_METRIC_NAME_METRIC_ID = 200; |
| // event groups |
| pub const EVENT_GROUPS_METRIC_ID = 300; |
| |
| // Enum for the_other_metric_name (EventCode) |
| pub enum TheOtherMetricNameEventCode { |
| AnEvent = 0, |
| AnotherEvent = 1, |
| AThirdEvent = 2, |
| } |
| |
| // Enum for event groups (Metric Dimension The First Group) |
| pub enum EventGroupsMetricDimensionTheFirstGroup { |
| AnEvent = 0, |
| AnotherEvent = 1, |
| AThirdEvent = 2, |
| } |
| |
| // Enum for event groups (Metric Dimension A second group) |
| pub enum EventGroupsMetricDimensionASecondGroup { |
| This = 1, |
| Is = 2, |
| Another = 3, |
| Test = 4, |
| } |
| |
| // Enum for event groups (Metric Dimension 2) |
| pub enum EventGroupsMetricDimension2 { |
| ThisMetric = 0, |
| HasNo = 2, |
| Name = 4, |
| } |
| |
| // The base64 encoding of the bytes of a serialized CobaltRegistry proto message. |
| pub const CONFIG: &str = "KoACCghjdXN0b21lchAKGvEBCgdwcm9qZWN0EAUaSgoPdGhlX21ldHJpY19uYW1lEAoYBSBkYhUKCnRoZV9yZXBvcnQQu6WL8QgYj05iGgoQdGhlX290aGVyX3JlcG9ydBDK3M3qARgGGjsKFXRoZV9vdGhlcl9tZXRyaWNfbmFtZRAKGAUgyAEoATjIAVABYhQKCnRoZV9yZXBvcnQQu6WL8QgYBxpbCgxldmVudCBncm91cHMQChgFIKwCKAFQAWIUCgp0aGVfcmVwb3J0ELuli/EIGAeCARMKD1RoZSBGaXJzdCBHcm91cBgCggEQCg5BIHNlY29uZCBncm91cIIBAA=="; |