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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/cf_light_api/worker.rb +2 -2
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 2285895d68ee80832326dad1a0e06ceb60630145
4
- data.tar.gz: 6dafdfd47ebf9583f97eb8f8cfa0e2a1a5c8a891
3
+ metadata.gz: 1af7fcf04ef598fcbec339627bd9bd62a67c58b8
4
+ data.tar.gz: faaa4ed3a0f4c77c52dbcb2b619d956cc641bed9
5
5
  SHA512:
6
- metadata.gz: 0d45598db25a9a7b54729a3b5caa0364b5c8cb21819549c1031f5ad042180fe0ae3e2211cda599f8cde9d9bfcc4fa22babfa56291d7d5f3c8cd1c04fe1e9a598
7
- data.tar.gz: f1ba0ad880904e5c2bc36a2927468376ca6cd1c68169dd8ff09bc6e2aa10585ebd54b152fb807464353903de1335e9f647faa822bb0db307a90f9cb61479bcbe
6
+ metadata.gz: a488db386f9f03bf105aa1f26a50c899e8c95f0e37741d1d9c9c464c22512d21f4e5f9ab1390ea6c5fa1a524fac668fd72f33c162de93496f21aa600a41026f9
7
+ data.tar.gz: 0988cab3f0e16eda16faa982c0d9ebd7d0cb8c87323c87ba008055709dcb908067113af4ccd82c3fa8b825429abcdb4b5f478ebb08a3c1234b902406a3bdd3ae
@@ -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! ".", "_" # Some apps have dots in the app name
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}.#{app_name}.#{index}"
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.0.pre1
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-24 00:00:00.000000000 Z
11
+ date: 2016-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cfoundry