Skip to content

Commit

Permalink
PR fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
swi-jared authored Jul 23, 2024
1 parent 2186681 commit 0c4b347
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions collector.proto
Original file line number Diff line number Diff line change
Expand Up @@ -111,15 +111,13 @@ enum OboeSettingType {
* Represents oboe setting message
*/
message OboeSetting {
OboeSettingType type = 1 [deprecated = true]; // oboe setting type struct, always DEFAULT_SAMPLE_RATE
bytes flags = 2; // flags where { OK=0x0, INVALID=0x1, OVERRIDE=0x2, SAMPLE_START=0x4, SAMPLE_THROUGH=0x8, SAMPLE_THROUGH_ALWAYS=0x10, TRIGGERED_TRACE=0x20 }. e.g. 54 means OK or OVERRIDE or SAMPLE_START or SAMPLE_THROUGH_ALWAYS or TRIGGERED_TRACE
int64 timestamp = 3; // Epoch timestamp
int64 value = 4; // Sampling rate, 1000000 means 100%
bytes layer = 5 [deprecated = true]; // layer name, not set since type is always DEFAULT_SAMPLE_RATE
map<string, bytes> arguments = 7; // key-value pairs. Keys can be [`BucketCapacity`, `BucketRate`, `TriggerRelaxedBucketCapacity`, `TriggerRelaxedBucketRate`, `TriggerStrictBucketCapacity`, `TriggerStrictBucketRate`, `SignatureKey`]
int64 ttl = 8; // time to live for this setting struct, in seconds

// DEPRECATED
OboeSettingType type = 1 [deprecated = true]; // oboe setting type struct, always DEFAULT_SAMPLE_RATE
bytes layer = 5 [deprecated = true]; // layer name, not set since type is always DEFAULT_SAMPLE_RATE
}

/**
Expand Down

0 comments on commit 0c4b347

Please sign in to comment.