cf_light_api 2.2.0.pre1 → 2.2.1.pre1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cf_light_api/worker.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1af7fcf04ef598fcbec339627bd9bd62a67c58b8
|
4
|
+
data.tar.gz: faaa4ed3a0f4c77c52dbcb2b619d956cc641bed9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a488db386f9f03bf105aa1f26a50c899e8c95f0e37741d1d9c9c464c22512d21f4e5f9ab1390ea6c5fa1a524fac668fd72f33c162de93496f21aa600a41026f9
|
7
|
+
data.tar.gz: 0988cab3f0e16eda16faa982c0d9ebd7d0cb8c87323c87ba008055709dcb908067113af4ccd82c3fa8b825429abcdb4b5f478ebb08a3c1234b902406a3bdd3ae
|
data/lib/cf_light_api/worker.rb
CHANGED
@@ -89,10 +89,10 @@ class CFLightAPIWorker
|
|
89
89
|
end
|
90
90
|
|
91
91
|
def send_instance_usage_data_to_graphite(instance_stats, org, space, app_name)
|
92
|
-
app_name.gsub
|
92
|
+
sanitised_app_name = app_name.gsub ".", "_" # Some apps have dots in the app name which breaks the Graphite key path
|
93
93
|
|
94
94
|
instance_stats.each_with_index do |instance_data, index|
|
95
|
-
graphite_base_key = "cf_apps.#{org}.#{space}.#{
|
95
|
+
graphite_base_key = "cf_apps.#{org}.#{space}.#{sanitised_app_name}.#{index}"
|
96
96
|
@logger.info " Exporting app instance \##{index} usage statistics to Graphite, path '#{graphite_base_key}'"
|
97
97
|
|
98
98
|
# Quota data
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cf_light_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.2.
|
4
|
+
version: 2.2.1.pre1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Springer Platform Engineering
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-11-
|
11
|
+
date: 2016-11-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cfoundry
|