trisulrp 3.2.32 → 3.2.36
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.ruby-version +1 -1
- data/VERSION +1 -1
- data/lib/trisulrp/trp.pb.rb +19 -0
- data/lib/trisulrp/trp.proto +18 -0
- data/trisulrp.gemspec +11 -17
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2475730cf62325c709896da43c6cf230df3a01f975d1a3243d05d39fe400daf0
|
4
|
+
data.tar.gz: 2f97d0544a52e921d881f7a6a34d0503bcd9983e9df33a6b1d4d0f3bd9227ca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5989634d43aba1c02ae5c340445a818ce3e76f719c8089bfff9d8a1b5d1d17543113ddc67fbec0336ba0c9c804466475ce343130586398dd146d2f30b4a2bb2a
|
7
|
+
data.tar.gz: 14e7f5cf21c2f46723a29060761530938da37f1898a1eef537924420fac9b47561e6d7130e5e33d7e30c5ed18a7c2784546ad889d05d55e298165c1abef066e5
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
3.0.3
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.36
|
data/lib/trisulrp/trp.pb.rb
CHANGED
@@ -75,6 +75,7 @@ module TRP
|
|
75
75
|
class KeyStats < ::Protobuf::Message; end
|
76
76
|
class KeyT < ::Protobuf::Message
|
77
77
|
class NameValueT < ::Protobuf::Message; end
|
78
|
+
class PercentileT < ::Protobuf::Message; end
|
78
79
|
|
79
80
|
end
|
80
81
|
|
@@ -94,6 +95,7 @@ module TRP
|
|
94
95
|
class VertexGroupT < ::Protobuf::Message; end
|
95
96
|
class EdgeGraphT < ::Protobuf::Message; end
|
96
97
|
class NameValue < ::Protobuf::Message; end
|
98
|
+
class ConfigBlob < ::Protobuf::Message; end
|
97
99
|
class Message < ::Protobuf::Message
|
98
100
|
class Command < ::Protobuf::Enum
|
99
101
|
define :HELLO_REQUEST, 1
|
@@ -374,6 +376,11 @@ module TRP
|
|
374
376
|
required :string, :attr_value, 2
|
375
377
|
end
|
376
378
|
|
379
|
+
class PercentileT
|
380
|
+
required :int64, :rank, 1
|
381
|
+
required :int64, :value, 2
|
382
|
+
end
|
383
|
+
|
377
384
|
optional :string, :key, 1
|
378
385
|
optional :string, :readable, 2
|
379
386
|
optional :string, :label, 3
|
@@ -383,6 +390,7 @@ module TRP
|
|
383
390
|
optional :int64, :metric_max, 7
|
384
391
|
optional :int64, :metric_min, 8
|
385
392
|
optional :int64, :metric_avg, 9
|
393
|
+
repeated ::TRP::KeyT::PercentileT, :percentiles, 10
|
386
394
|
end
|
387
395
|
|
388
396
|
class CounterGroupT
|
@@ -489,6 +497,11 @@ module TRP
|
|
489
497
|
optional :string, :value, 2
|
490
498
|
end
|
491
499
|
|
500
|
+
class ConfigBlob
|
501
|
+
required :string, :filename, 1
|
502
|
+
required :bytes, :filecontents, 2
|
503
|
+
end
|
504
|
+
|
492
505
|
class Message
|
493
506
|
required ::TRP::Message::Command, :trp_command, 1
|
494
507
|
optional ::TRP::HelloRequest, :hello_request, 2
|
@@ -623,6 +636,7 @@ module TRP
|
|
623
636
|
optional :string, :key_filter, 9
|
624
637
|
optional :string, :inverse_key_filter, 10
|
625
638
|
optional :bool, :get_key_attributes, 11, :default => false
|
639
|
+
repeated :int64, :get_percentiles, 12
|
626
640
|
end
|
627
641
|
|
628
642
|
class CounterGroupTopperResponse
|
@@ -869,6 +883,8 @@ module TRP
|
|
869
883
|
optional ::TRP::TimeInterval, :time_interval, 5
|
870
884
|
optional :string, :key_filter, 6
|
871
885
|
optional :string, :inverse_key_filter, 7
|
886
|
+
optional :bool, :get_key_attributes, 8, :default => false
|
887
|
+
optional :bool, :resolve_keys, 9, :default => true
|
872
888
|
end
|
873
889
|
|
874
890
|
class TopperTrendResponse
|
@@ -1111,6 +1127,8 @@ module TRP
|
|
1111
1127
|
optional :bytes, :push_config_blob, 4
|
1112
1128
|
repeated ::TRP::NameValue, :query_config, 5
|
1113
1129
|
repeated ::TRP::NameValue, :set_config_values, 6
|
1130
|
+
optional ::TRP::ConfigBlob, :get_generic_blob, 8
|
1131
|
+
optional ::TRP::ConfigBlob, :push_generic_blob, 9
|
1114
1132
|
end
|
1115
1133
|
|
1116
1134
|
class ContextConfigResponse
|
@@ -1130,6 +1148,7 @@ module TRP
|
|
1130
1148
|
repeated :string, :endpoints_pub, 8
|
1131
1149
|
repeated ::TRP::NameValue, :config_values, 10
|
1132
1150
|
repeated ::TRP::ContextConfigResponse::Layer, :layers, 11
|
1151
|
+
optional ::TRP::ConfigBlob, :generic_blob, 12
|
1133
1152
|
end
|
1134
1153
|
|
1135
1154
|
class PcapRequest
|
data/lib/trisulrp/trp.proto
CHANGED
@@ -110,6 +110,12 @@ message KeyT {
|
|
110
110
|
optional int64 metric_max=7; /// optional : max observed value for metric in context
|
111
111
|
optional int64 metric_min=8; /// optional : max observed value for metric
|
112
112
|
optional int64 metric_avg=9; /// optional : max observed value for metric
|
113
|
+
|
114
|
+
message PercentileT {
|
115
|
+
required int64 rank=1;
|
116
|
+
required int64 value=2;
|
117
|
+
}
|
118
|
+
repeated PercentileT percentiles=10; /// requested percentile values
|
113
119
|
}
|
114
120
|
|
115
121
|
|
@@ -277,6 +283,12 @@ message NameValue {
|
|
277
283
|
optional string value=2;
|
278
284
|
}
|
279
285
|
|
286
|
+
/// these items go in the probe config directory, ignored by all other types of nodes
|
287
|
+
message ConfigBlob {
|
288
|
+
required string filename=1;
|
289
|
+
required bytes filecontents=2;
|
290
|
+
}
|
291
|
+
|
280
292
|
/// Top level message is TRP::Message
|
281
293
|
/// wraps the actual request or response
|
282
294
|
///
|
@@ -518,6 +530,7 @@ message CounterGroupTopperRequest{
|
|
518
530
|
optional string inverse_key_filter=10; /// only get keys without this pattern NOT
|
519
531
|
optional bool get_key_attributes=11 [default=false];
|
520
532
|
/// if true, response keys get key_attributes as well
|
533
|
+
repeated int64 get_percentiles=12; /// if you want 95th percentile .. add 95, can add multiple
|
521
534
|
|
522
535
|
}
|
523
536
|
|
@@ -819,6 +832,7 @@ message TopperTrendRequest {
|
|
819
832
|
optional string key_filter=6; /// only get keys with this pattern and SYS:GROUP
|
820
833
|
optional string inverse_key_filter=7; /// only get keys without this pattern NOT
|
821
834
|
optional bool get_key_attributes=8 [default=false]; /// if true, response keys get key_attributes as well
|
835
|
+
optional bool resolve_keys=9[ default=true]; /// resolve all keys and label
|
822
836
|
}
|
823
837
|
|
824
838
|
/// TopperTrendResponse
|
@@ -1157,6 +1171,9 @@ message ContextConfigRequest {
|
|
1157
1171
|
optional bytes push_config_blob=4; /// push this ..
|
1158
1172
|
repeated NameValue query_config=5; /// query, leave the .value field blank
|
1159
1173
|
repeated NameValue set_config_values=6; /// push this .. (name=value;name=value ..)
|
1174
|
+
|
1175
|
+
optional ConfigBlob get_generic_blob=8; /// push this .. send persist for snmp util to probe
|
1176
|
+
optional ConfigBlob push_generic_blob=9; /// push this .. send persist for snmp util to probe
|
1160
1177
|
}
|
1161
1178
|
|
1162
1179
|
|
@@ -1179,6 +1196,7 @@ message ContextConfigResponse {
|
|
1179
1196
|
repeated string endpoints_pub=8;
|
1180
1197
|
repeated NameValue config_values=10; /// query, leave the .value field blank
|
1181
1198
|
repeated Layer layers=11;
|
1199
|
+
optional ConfigBlob generic_blob=12; /// use case is : persist file as a blob
|
1182
1200
|
|
1183
1201
|
}
|
1184
1202
|
|
data/trisulrp.gemspec
CHANGED
@@ -2,16 +2,16 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Juwelier::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
-
# stub: trisulrp 3.2.
|
5
|
+
# stub: trisulrp 3.2.36 ruby lib
|
6
6
|
|
7
7
|
Gem::Specification.new do |s|
|
8
8
|
s.name = "trisulrp".freeze
|
9
|
-
s.version = "3.2.
|
9
|
+
s.version = "3.2.36"
|
10
10
|
|
11
11
|
s.required_rubygems_version = Gem::Requirement.new(">= 0".freeze) if s.respond_to? :required_rubygems_version=
|
12
12
|
s.require_paths = ["lib".freeze]
|
13
13
|
s.authors = ["vivek".freeze]
|
14
|
-
s.date = "2022-
|
14
|
+
s.date = "2022-06-13"
|
15
15
|
s.description = "This gem deals about the trisul remote protocol".freeze
|
16
16
|
s.email = "vivek_rajagopal@yahoo.com".freeze
|
17
17
|
s.extra_rdoc_files = [
|
@@ -50,25 +50,19 @@ Gem::Specification.new do |s|
|
|
50
50
|
]
|
51
51
|
s.homepage = "http://github.com/vivekrajan/trisulrp".freeze
|
52
52
|
s.licenses = ["MIT".freeze]
|
53
|
-
s.rubygems_version = "3.
|
53
|
+
s.rubygems_version = "3.2.32".freeze
|
54
54
|
s.summary = "trisul trp".freeze
|
55
55
|
|
56
56
|
if s.respond_to? :specification_version then
|
57
57
|
s.specification_version = 4
|
58
|
+
end
|
58
59
|
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
else
|
66
|
-
s.add_dependency(%q<protobuf>.freeze, [">= 0"])
|
67
|
-
s.add_dependency(%q<shoulda>.freeze, [">= 0"])
|
68
|
-
s.add_dependency(%q<bundler>.freeze, [">= 0"])
|
69
|
-
s.add_dependency(%q<juwelier>.freeze, [">= 0"])
|
70
|
-
s.add_dependency(%q<simplecov>.freeze, [">= 0"])
|
71
|
-
end
|
60
|
+
if s.respond_to? :add_runtime_dependency then
|
61
|
+
s.add_runtime_dependency(%q<protobuf>.freeze, [">= 0"])
|
62
|
+
s.add_development_dependency(%q<shoulda>.freeze, [">= 0"])
|
63
|
+
s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
|
64
|
+
s.add_development_dependency(%q<juwelier>.freeze, [">= 0"])
|
65
|
+
s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
|
72
66
|
else
|
73
67
|
s.add_dependency(%q<protobuf>.freeze, [">= 0"])
|
74
68
|
s.add_dependency(%q<shoulda>.freeze, [">= 0"])
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: trisulrp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.
|
4
|
+
version: 3.2.36
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vivek
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: protobuf
|
@@ -120,7 +120,7 @@ homepage: http://github.com/vivekrajan/trisulrp
|
|
120
120
|
licenses:
|
121
121
|
- MIT
|
122
122
|
metadata: {}
|
123
|
-
post_install_message:
|
123
|
+
post_install_message:
|
124
124
|
rdoc_options: []
|
125
125
|
require_paths:
|
126
126
|
- lib
|
@@ -135,8 +135,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
135
135
|
- !ruby/object:Gem::Version
|
136
136
|
version: '0'
|
137
137
|
requirements: []
|
138
|
-
rubygems_version: 3.
|
139
|
-
signing_key:
|
138
|
+
rubygems_version: 3.2.32
|
139
|
+
signing_key:
|
140
140
|
specification_version: 4
|
141
141
|
summary: trisul trp
|
142
142
|
test_files: []
|