File: internal.proto

package info (click to toggle)
influxdb 1.1.1%2Bdfsg1-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,712 kB
  • sloc: sh: 1,231; python: 804; ruby: 118; makefile: 100
file content (72 lines) | stat: -rw-r--r-- 1,939 bytes parent folder | download | duplicates (2)
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
package influxql;

message Point {
    required string Name       = 1;
    required string Tags       = 2;
    required int64  Time       = 3;
    required bool   Nil        = 4;
    repeated Aux    Aux        = 5;
    optional uint32 Aggregated = 6;

    optional double FloatValue   = 7;
    optional int64  IntegerValue = 8;
    optional string StringValue  = 9;
    optional bool   BooleanValue = 10;

    optional IteratorStats Stats = 11;
}

message Aux {
    required int32  DataType     = 1;
    optional double FloatValue   = 2;
    optional int64  IntegerValue = 3;
    optional string StringValue  = 4;
    optional bool   BooleanValue = 5;
}

message IteratorOptions {
    optional string      Expr       = 1;
    repeated string      Aux        = 2;
    repeated VarRef      Fields     = 17;
    repeated Measurement Sources    = 3;
    optional Interval    Interval   = 4;
    repeated string      Dimensions = 5;
    optional int32       Fill       = 6;
    optional double      FillValue  = 7;
    optional string      Condition  = 8;
    optional int64       StartTime  = 9;
    optional int64       EndTime    = 10;
    optional bool        Ascending  = 11;
    optional int64       Limit      = 12;
    optional int64       Offset     = 13;
    optional int64       SLimit     = 14;
    optional int64       SOffset    = 15;
    optional bool        Dedupe     = 16;
}

message Measurements {
    repeated Measurement Items = 1;
}

message Measurement {
    optional string Database        = 1;
    optional string RetentionPolicy = 2;
    optional string Name            = 3;
    optional string Regex           = 4;
    optional bool   IsTarget        = 5;
}

message Interval {
    optional int64 Duration = 1;
    optional int64 Offset   = 2;
}

message IteratorStats {
    optional int64 SeriesN = 1;
    optional int64 PointN  = 2;
}

message VarRef {
    required string Val  = 1;
    optional int32  Type = 2;
}