trisulrp 3.2.26 → 3.2.32
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 -0
- data/README.rdoc +5 -1
- data/VERSION +1 -1
- data/lib/trisulrp/trp.pb.rb +4 -0
- data/lib/trisulrp/trp.proto +7 -0
- data/trisulrp.gemspec +4 -3
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ecc8c2d092da52045de8e61a244669929b237dd9a2f048ccea9835c82839781f
|
4
|
+
data.tar.gz: 6f53f743ba441c9d9893a3c449eaa7d128df6926108b1e3ee7427f32ad00e4ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 947c70b17e43c719c58a0b658fa8ecf2e20d9d3a87918bfef85688bfac1a9b6c7012056d09e47c90abebbab6ba8e360e8ae405fcaf3fbacd3013069c903ddbb8
|
7
|
+
data.tar.gz: a94f87ddea57b8d512978a1dbdcb9f0d8c269ffa07b2d247d059bc1c336d8d462fe56558707dfb1622d74f0e00e99fdbe6564d2bc75c9f1823cc331438364b1c
|
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
2.6.3
|
data/README.rdoc
CHANGED
@@ -19,6 +19,9 @@ Key Features :
|
|
19
19
|
* Github repo of sample scripts https://github.com/trisulnsm/trisul-scripts/trp
|
20
20
|
|
21
21
|
|
22
|
+
== Generating the ruby protobuf definitions
|
23
|
+
protoc --ruby_out=. trp.proto
|
24
|
+
|
22
25
|
== Contributing to trisulrp
|
23
26
|
|
24
27
|
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
|
@@ -31,5 +34,6 @@ Key Features :
|
|
31
34
|
|
32
35
|
== Copyright
|
33
36
|
|
34
|
-
|
37
|
+
License MIT
|
38
|
+
Copyright (c) 2010-2021 Unleash Networks. See LICENSE.txt for further details.
|
35
39
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
3.2.
|
1
|
+
3.2.32
|
data/lib/trisulrp/trp.pb.rb
CHANGED
@@ -597,6 +597,8 @@ module TRP
|
|
597
597
|
required ::TRP::KeyT, :key, 4
|
598
598
|
required ::TRP::TimeInterval, :time_interval, 5
|
599
599
|
optional :int64, :volumes_only, 6, :default => 0
|
600
|
+
optional :bool, :get_key_attributes, 7, :default => false
|
601
|
+
optional :int64, :get_percentile, 8, :default => 0
|
600
602
|
end
|
601
603
|
|
602
604
|
class CounterItemResponse
|
@@ -607,6 +609,7 @@ module TRP
|
|
607
609
|
optional ::TRP::StatsArray, :maximums, 5
|
608
610
|
optional ::TRP::StatsArray, :minimums, 6
|
609
611
|
optional ::TRP::StatsArray, :samples, 8
|
612
|
+
optional ::TRP::StatsArray, :percentiles, 9
|
610
613
|
end
|
611
614
|
|
612
615
|
class CounterGroupTopperRequest
|
@@ -619,6 +622,7 @@ module TRP
|
|
619
622
|
optional :bool, :resolve_keys, 8, :default => true
|
620
623
|
optional :string, :key_filter, 9
|
621
624
|
optional :string, :inverse_key_filter, 10
|
625
|
+
optional :bool, :get_key_attributes, 11, :default => false
|
622
626
|
end
|
623
627
|
|
624
628
|
class CounterGroupTopperResponse
|
data/lib/trisulrp/trp.proto
CHANGED
@@ -488,6 +488,8 @@ message CounterItemRequest{
|
|
488
488
|
required KeyT key=4; /// key (can specify key.key, key.label, etc too
|
489
489
|
required TimeInterval time_interval=5; /// Time interval for query
|
490
490
|
optional int64 volumes_only=6 [default=0]; /// if '1' ; then only retrieves totals for each meter
|
491
|
+
optional bool get_key_attributes=7 [default=false]; /// if true, response keys get key_attributes as well
|
492
|
+
optional int64 get_percentile=8[default=0]; /// enter 95 here if you want 95th percentile (using streaming)
|
491
493
|
}
|
492
494
|
|
493
495
|
/// CounterItemResponse -
|
@@ -499,6 +501,7 @@ message CounterItemResponse{
|
|
499
501
|
optional StatsArray maximums=5; /// if volumes_only = 1 this contains MAX(..)
|
500
502
|
optional StatsArray minimums=6; /// if volumes_only = 1 this contains MIN(..)
|
501
503
|
optional StatsArray samples=8; /// if volumes_only = 1 this contains SAMPLES(..)
|
504
|
+
optional StatsArray percentiles=9; /// if get_percentile > 0 this contains PERCENTILE(..) stream approx
|
502
505
|
}
|
503
506
|
|
504
507
|
|
@@ -513,6 +516,9 @@ message CounterGroupTopperRequest{
|
|
513
516
|
optional bool resolve_keys=8 [default=true]; /// retrieve labels as set in the response for each key
|
514
517
|
optional string key_filter=9; /// only get keys with this pattern and SYS:GROUP
|
515
518
|
optional string inverse_key_filter=10; /// only get keys without this pattern NOT
|
519
|
+
optional bool get_key_attributes=11 [default=false];
|
520
|
+
/// if true, response keys get key_attributes as well
|
521
|
+
|
516
522
|
}
|
517
523
|
|
518
524
|
/// CounterGroupTopperResponse
|
@@ -812,6 +818,7 @@ message TopperTrendRequest {
|
|
812
818
|
optional TimeInterval time_interval=5;
|
813
819
|
optional string key_filter=6; /// only get keys with this pattern and SYS:GROUP
|
814
820
|
optional string inverse_key_filter=7; /// only get keys without this pattern NOT
|
821
|
+
optional bool get_key_attributes=8 [default=false]; /// if true, response keys get key_attributes as well
|
815
822
|
}
|
816
823
|
|
817
824
|
/// TopperTrendResponse
|
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.32 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.32"
|
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 = "
|
14
|
+
s.date = "2022-05-30"
|
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 = [
|
@@ -20,6 +20,7 @@ Gem::Specification.new do |s|
|
|
20
20
|
]
|
21
21
|
s.files = [
|
22
22
|
".document",
|
23
|
+
".ruby-version",
|
23
24
|
"Gemfile",
|
24
25
|
"LICENSE.txt",
|
25
26
|
"README.rdoc",
|
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.32
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- vivek
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-05-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: protobuf
|
@@ -89,6 +89,7 @@ extra_rdoc_files:
|
|
89
89
|
- README.rdoc
|
90
90
|
files:
|
91
91
|
- ".document"
|
92
|
+
- ".ruby-version"
|
92
93
|
- Gemfile
|
93
94
|
- LICENSE.txt
|
94
95
|
- README.rdoc
|