trisulrp 3.2.27 → 3.2.34

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 71c5b47d633207231c302542e8735d5a5a907569333dab8da436811cf451174a
4
- data.tar.gz: 44c22ab4987836e91017194f01735909e80d5ec0665fec2e45daa0ba2f8beb32
3
+ metadata.gz: e2a499a4c80ad9cd71c72e54dcae7727bbed958595670db5d08fd06ff06954d3
4
+ data.tar.gz: a2f0a11fed6c2efb4472d23b69a41a221723d4c85bb91f945b9cb3fdafc563c5
5
5
  SHA512:
6
- metadata.gz: 5f521b245139593bf1339c3d59049c16162bc1df790f3d0790eba484d2501cd19018759c90c4323075886d8c35ef98ccd6d7118c215eb9c4cbc45f18322b0a22
7
- data.tar.gz: 652d8c13e1d4ce1e8c4fd4e9bc632a961db575adb32267143b89c6aecebc2668c2287b5689efd3f5fe9d15b9039bfcd112d64915cdac9c77d464f06dd7ebcecb
6
+ metadata.gz: 9b99c376fe344bbf81be449e475a11972765829461bf926f989016c967d5aec8cb910aefcc455e0d9d8bd06834d05aa8d24a12eb8f742add091ed80e4c6411c0
7
+ data.tar.gz: cfb194e5bfe25e7e499dfdb4298a22a46b5908af471827607c14b3511691353e945325b5028a4716cf5ba8d4d3a0306915879efd83b6ec6102b590865a05b156
data/.ruby-version ADDED
@@ -0,0 +1 @@
1
+ 3.0.3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.27
1
+ 3.2.34
@@ -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
 
@@ -374,6 +375,11 @@ module TRP
374
375
  required :string, :attr_value, 2
375
376
  end
376
377
 
378
+ class PercentileT
379
+ required :int64, :rank, 1
380
+ required :int64, :value, 2
381
+ end
382
+
377
383
  optional :string, :key, 1
378
384
  optional :string, :readable, 2
379
385
  optional :string, :label, 3
@@ -383,6 +389,7 @@ module TRP
383
389
  optional :int64, :metric_max, 7
384
390
  optional :int64, :metric_min, 8
385
391
  optional :int64, :metric_avg, 9
392
+ repeated ::TRP::KeyT::PercentileT, :percentiles, 10
386
393
  end
387
394
 
388
395
  class CounterGroupT
@@ -598,6 +605,7 @@ module TRP
598
605
  required ::TRP::TimeInterval, :time_interval, 5
599
606
  optional :int64, :volumes_only, 6, :default => 0
600
607
  optional :bool, :get_key_attributes, 7, :default => false
608
+ optional :int64, :get_percentile, 8, :default => 0
601
609
  end
602
610
 
603
611
  class CounterItemResponse
@@ -608,6 +616,7 @@ module TRP
608
616
  optional ::TRP::StatsArray, :maximums, 5
609
617
  optional ::TRP::StatsArray, :minimums, 6
610
618
  optional ::TRP::StatsArray, :samples, 8
619
+ optional ::TRP::StatsArray, :percentiles, 9
611
620
  end
612
621
 
613
622
  class CounterGroupTopperRequest
@@ -621,6 +630,7 @@ module TRP
621
630
  optional :string, :key_filter, 9
622
631
  optional :string, :inverse_key_filter, 10
623
632
  optional :bool, :get_key_attributes, 11, :default => false
633
+ repeated :int64, :get_percentiles, 12
624
634
  end
625
635
 
626
636
  class CounterGroupTopperResponse
@@ -867,6 +877,7 @@ module TRP
867
877
  optional ::TRP::TimeInterval, :time_interval, 5
868
878
  optional :string, :key_filter, 6
869
879
  optional :string, :inverse_key_filter, 7
880
+ optional :bool, :get_key_attributes, 8, :default => false
870
881
  end
871
882
 
872
883
  class TopperTrendResponse
@@ -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
 
@@ -489,6 +495,7 @@ message CounterItemRequest{
489
495
  required TimeInterval time_interval=5; /// Time interval for query
490
496
  optional int64 volumes_only=6 [default=0]; /// if '1' ; then only retrieves totals for each meter
491
497
  optional bool get_key_attributes=7 [default=false]; /// if true, response keys get key_attributes as well
498
+ optional int64 get_percentile=8[default=0]; /// enter 95 here if you want 95th percentile (using streaming)
492
499
  }
493
500
 
494
501
  /// CounterItemResponse -
@@ -500,6 +507,7 @@ message CounterItemResponse{
500
507
  optional StatsArray maximums=5; /// if volumes_only = 1 this contains MAX(..)
501
508
  optional StatsArray minimums=6; /// if volumes_only = 1 this contains MIN(..)
502
509
  optional StatsArray samples=8; /// if volumes_only = 1 this contains SAMPLES(..)
510
+ optional StatsArray percentiles=9; /// if get_percentile > 0 this contains PERCENTILE(..) stream approx
503
511
  }
504
512
 
505
513
 
@@ -516,6 +524,7 @@ message CounterGroupTopperRequest{
516
524
  optional string inverse_key_filter=10; /// only get keys without this pattern NOT
517
525
  optional bool get_key_attributes=11 [default=false];
518
526
  /// if true, response keys get key_attributes as well
527
+ repeated int64 get_percentiles=12; /// if you want 95th percentile .. add 95, can add multiple
519
528
 
520
529
  }
521
530
 
@@ -816,6 +825,7 @@ message TopperTrendRequest {
816
825
  optional TimeInterval time_interval=5;
817
826
  optional string key_filter=6; /// only get keys with this pattern and SYS:GROUP
818
827
  optional string inverse_key_filter=7; /// only get keys without this pattern NOT
828
+ optional bool get_key_attributes=8 [default=false]; /// if true, response keys get key_attributes as well
819
829
  }
820
830
 
821
831
  /// 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.27 ruby lib
5
+ # stub: trisulrp 3.2.34 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "trisulrp".freeze
9
- s.version = "3.2.27"
9
+ s.version = "3.2.34"
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 = "2021-04-20"
14
+ s.date = "2022-06-06"
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",
@@ -49,25 +50,19 @@ Gem::Specification.new do |s|
49
50
  ]
50
51
  s.homepage = "http://github.com/vivekrajan/trisulrp".freeze
51
52
  s.licenses = ["MIT".freeze]
52
- s.rubygems_version = "3.0.3".freeze
53
+ s.rubygems_version = "3.2.32".freeze
53
54
  s.summary = "trisul trp".freeze
54
55
 
55
56
  if s.respond_to? :specification_version then
56
57
  s.specification_version = 4
58
+ end
57
59
 
58
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
59
- s.add_runtime_dependency(%q<protobuf>.freeze, [">= 0"])
60
- s.add_development_dependency(%q<shoulda>.freeze, [">= 0"])
61
- s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
62
- s.add_development_dependency(%q<juwelier>.freeze, [">= 0"])
63
- s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
64
- else
65
- s.add_dependency(%q<protobuf>.freeze, [">= 0"])
66
- s.add_dependency(%q<shoulda>.freeze, [">= 0"])
67
- s.add_dependency(%q<bundler>.freeze, [">= 0"])
68
- s.add_dependency(%q<juwelier>.freeze, [">= 0"])
69
- s.add_dependency(%q<simplecov>.freeze, [">= 0"])
70
- 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"])
71
66
  else
72
67
  s.add_dependency(%q<protobuf>.freeze, [">= 0"])
73
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.27
4
+ version: 3.2.34
5
5
  platform: ruby
6
6
  authors:
7
7
  - vivek
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-20 00:00:00.000000000 Z
11
+ date: 2022-06-06 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
@@ -119,7 +120,7 @@ homepage: http://github.com/vivekrajan/trisulrp
119
120
  licenses:
120
121
  - MIT
121
122
  metadata: {}
122
- post_install_message:
123
+ post_install_message:
123
124
  rdoc_options: []
124
125
  require_paths:
125
126
  - lib
@@ -134,8 +135,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
134
135
  - !ruby/object:Gem::Version
135
136
  version: '0'
136
137
  requirements: []
137
- rubygems_version: 3.0.3
138
- signing_key:
138
+ rubygems_version: 3.2.32
139
+ signing_key:
139
140
  specification_version: 4
140
141
  summary: trisul trp
141
142
  test_files: []