-
Notifications
You must be signed in to change notification settings - Fork 18
/
signal_fuse_protocol_buffers.proto
55 lines (46 loc) · 1.26 KB
/
signal_fuse_protocol_buffers.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
syntax="proto3";
package com.signalfuse.metrics.protobuf;
option csharp_namespace = "Datadog.Tracer.SignalFx.Metrics.Protobuf";
enum MetricType {
/**
* Numerical: Periodic, instantaneous measurement of some state.
*/
GAUGE = 0;
/**
* Numerical: Count of occurrences. Generally non-negative integers.
*/
COUNTER = 1;
/**
* String: Used for non-continuous quantities (that is, measurements where there is a fixed
* set of meaningful values). This is essentially a special case of gauge.
*/
ENUM = 2;
/**
* Tracks a value that increases over time, where only the difference is important.
*/
CUMULATIVE_COUNTER =3;
}
message Datum {
optional string strValue = 1;
optional double doubleValue = 2;
optional int64 intValue = 3;
}
message Dimension {
optional string key = 1;
optional string value = 2;
}
message DataPoint {
optional string source = 1;
optional string metric = 2;
optional int64 timestamp = 3;
optional Datum value = 4;
optional MetricType metricType = 5;
repeated Dimension dimensions = 6;
}
message DataPointUploadMessage {
repeated DataPoint datapoints = 1;
}
message PointValue {
optional int64 timestamp = 3;
optional Datum value = 4;
}