trisulrp 3.2.32 → 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: ecc8c2d092da52045de8e61a244669929b237dd9a2f048ccea9835c82839781f
4
- data.tar.gz: 6f53f743ba441c9d9893a3c449eaa7d128df6926108b1e3ee7427f32ad00e4ef
3
+ metadata.gz: e2a499a4c80ad9cd71c72e54dcae7727bbed958595670db5d08fd06ff06954d3
4
+ data.tar.gz: a2f0a11fed6c2efb4472d23b69a41a221723d4c85bb91f945b9cb3fdafc563c5
5
5
  SHA512:
6
- metadata.gz: 947c70b17e43c719c58a0b658fa8ecf2e20d9d3a87918bfef85688bfac1a9b6c7012056d09e47c90abebbab6ba8e360e8ae405fcaf3fbacd3013069c903ddbb8
7
- data.tar.gz: a94f87ddea57b8d512978a1dbdcb9f0d8c269ffa07b2d247d059bc1c336d8d462fe56558707dfb1622d74f0e00e99fdbe6564d2bc75c9f1823cc331438364b1c
6
+ metadata.gz: 9b99c376fe344bbf81be449e475a11972765829461bf926f989016c967d5aec8cb910aefcc455e0d9d8bd06834d05aa8d24a12eb8f742add091ed80e4c6411c0
7
+ data.tar.gz: cfb194e5bfe25e7e499dfdb4298a22a46b5908af471827607c14b3511691353e945325b5028a4716cf5ba8d4d3a0306915879efd83b6ec6102b590865a05b156
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.6.3
1
+ 3.0.3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 3.2.32
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
@@ -623,6 +630,7 @@ module TRP
623
630
  optional :string, :key_filter, 9
624
631
  optional :string, :inverse_key_filter, 10
625
632
  optional :bool, :get_key_attributes, 11, :default => false
633
+ repeated :int64, :get_percentiles, 12
626
634
  end
627
635
 
628
636
  class CounterGroupTopperResponse
@@ -869,6 +877,7 @@ module TRP
869
877
  optional ::TRP::TimeInterval, :time_interval, 5
870
878
  optional :string, :key_filter, 6
871
879
  optional :string, :inverse_key_filter, 7
880
+ optional :bool, :get_key_attributes, 8, :default => false
872
881
  end
873
882
 
874
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
 
@@ -518,6 +524,7 @@ message CounterGroupTopperRequest{
518
524
  optional string inverse_key_filter=10; /// only get keys without this pattern NOT
519
525
  optional bool get_key_attributes=11 [default=false];
520
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
521
528
 
522
529
  }
523
530
 
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.32 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.32"
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 = "2022-05-30"
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 = [
@@ -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.0.3".freeze
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
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
60
- s.add_runtime_dependency(%q<protobuf>.freeze, [">= 0"])
61
- s.add_development_dependency(%q<shoulda>.freeze, [">= 0"])
62
- s.add_development_dependency(%q<bundler>.freeze, [">= 0"])
63
- s.add_development_dependency(%q<juwelier>.freeze, [">= 0"])
64
- s.add_development_dependency(%q<simplecov>.freeze, [">= 0"])
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.32
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: 2022-05-30 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
@@ -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.0.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: []