px-service-client 2.0.2 → 2.0.3

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
  SHA1:
3
- metadata.gz: 6d3ce1fab11f17a250346cf354c8382bdb96c6b8
4
- data.tar.gz: 4593a5a42b124e63f1c7bf7dca91cd5fac023513
3
+ metadata.gz: 1f005d17d198c8508defaa03b6bf93e3229ea16b
4
+ data.tar.gz: c8dbaa4551283603c7361f0fef662b6a41a1cc02
5
5
  SHA512:
6
- metadata.gz: 329417c5eab90b720eabb50d4f0ddbf4ece63bd78f16a881d4a45ae057221187bdabd1bb83b065611539ed05e9734c57ea519ac4348d46e3c4800aa236ddae94
7
- data.tar.gz: 78e11e2dcd5df98d9c4caab1e3aa9255c963db2ea59f69bd634d0cec89d9f9d9d55463ee43c8b50c0399ee3b1e2498ae0b5b13ec2f45bd42905771677b8c2383
6
+ metadata.gz: e2208726b9ba6e6498945f41991aabd0eb6ab64213b132f0b6d90095973775c1bd5bca3f41b34b1c2be5bf04a71b38eb35feb775ce79d48c47de7359bcbfb44e
7
+ data.tar.gz: 2605971ec25cd79f04e0dc261ed718296f00e17352953be33631538ea6da3a7a48742c042c67b91bd93fe9e56da5a7d14af088a96e409596c29c7665efca976d
@@ -46,11 +46,11 @@ module Px::Service::Client
46
46
  ]
47
47
  if uri.respond_to?(:path)
48
48
  stats_tags << "remote_host:#{uri.host}"
49
- stats_tags << "path:#{uri.path}"
49
+ stats_tags << "path:#{uri.path.gsub(/\d+/,'_')}"
50
50
  else
51
51
  actual_uri = URI(uri)
52
52
  stats_tags << "remote_host:#{actual_uri.host}"
53
- stats_tags << "path:#{actual_uri.path}"
53
+ stats_tags << "path:#{actual_uri.path.gsub(/\d+/,'_')}"
54
54
  end
55
55
 
56
56
  _make_request(method, uri, query: query, headers: headers, body: body, timeout: timeout, stats_tags: stats_tags)
@@ -1,7 +1,7 @@
1
1
  module Px
2
2
  module Service
3
3
  module Client
4
- VERSION = "2.0.2"
4
+ VERSION = "2.0.3"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: px-service-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Micacchi