trisulrp 3.2.27 → 3.2.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/trisulrp/trp.pb.rb +2 -0
- data/lib/trisulrp/trp.proto +2 -0
- data/trisulrp.gemspec +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: eb09a377482ac86a919b19eb3d9c4829be91bbfe0fcbd77429597df8047dc9ae
|
|
4
|
+
data.tar.gz: 8c144bd549894c64879dd6d8ba24916cf627eb6024c939e9b705909a46e28072
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 75249f736dc5b485c70598f77387abd5bbe410600d311f88e09dda5142b478f6a7a9ac3291d1167d46c9eccbcf308a6b0bbfae440fa8d91ab0bd3ec637beeb2e
|
|
7
|
+
data.tar.gz: 8ef04692441ccbebedb2e43f06d8d9fb540b21524e12d4f1beb681560f3361a88d5d6777a74e49afbdbbbe224051f5debed7627749e289abd3a5e99341056250
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
3.2.
|
|
1
|
+
3.2.31
|
data/lib/trisulrp/trp.pb.rb
CHANGED
|
@@ -598,6 +598,7 @@ module TRP
|
|
|
598
598
|
required ::TRP::TimeInterval, :time_interval, 5
|
|
599
599
|
optional :int64, :volumes_only, 6, :default => 0
|
|
600
600
|
optional :bool, :get_key_attributes, 7, :default => false
|
|
601
|
+
optional :int64, :get_percentile, 8, :default => 0
|
|
601
602
|
end
|
|
602
603
|
|
|
603
604
|
class CounterItemResponse
|
|
@@ -608,6 +609,7 @@ module TRP
|
|
|
608
609
|
optional ::TRP::StatsArray, :maximums, 5
|
|
609
610
|
optional ::TRP::StatsArray, :minimums, 6
|
|
610
611
|
optional ::TRP::StatsArray, :samples, 8
|
|
612
|
+
optional ::TRP::StatsArray, :percentiles, 9
|
|
611
613
|
end
|
|
612
614
|
|
|
613
615
|
class CounterGroupTopperRequest
|
data/lib/trisulrp/trp.proto
CHANGED
|
@@ -489,6 +489,7 @@ message CounterItemRequest{
|
|
|
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
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)
|
|
492
493
|
}
|
|
493
494
|
|
|
494
495
|
/// CounterItemResponse -
|
|
@@ -500,6 +501,7 @@ message CounterItemResponse{
|
|
|
500
501
|
optional StatsArray maximums=5; /// if volumes_only = 1 this contains MAX(..)
|
|
501
502
|
optional StatsArray minimums=6; /// if volumes_only = 1 this contains MIN(..)
|
|
502
503
|
optional StatsArray samples=8; /// if volumes_only = 1 this contains SAMPLES(..)
|
|
504
|
+
optional StatsArray percentiles=9; /// if volumes_only = 1 this contains SAMPLES(..)
|
|
503
505
|
}
|
|
504
506
|
|
|
505
507
|
|
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.31 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.31"
|
|
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-04-05"
|
|
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 = [
|
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.31
|
|
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-04-05 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: protobuf
|