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 +4 -4
- data/lib/px/service/client/base.rb +2 -2
- data/lib/px/service/client/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1f005d17d198c8508defaa03b6bf93e3229ea16b
|
4
|
+
data.tar.gz: c8dbaa4551283603c7361f0fef662b6a41a1cc02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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)
|