checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
---
2
2
SHA1:
3
- metadata.gz: 28ec94a10f052a70bf318fa278d0db94f1b61bd7
4
- data.tar.gz: 8bf37321c60625e248baf3ae1ad87f43a6bfa490
3
+ metadata.gz: 3fba25e075f3d0ab7b0a90f69c18f4541d639b9e
4
+ data.tar.gz: 289c252c3c5a426dc8ec830c6c3dd8a33e0852b4
5
5
SHA512:
6
- metadata.gz: 8a45f2851cc4a39b0eda17440bf8150d267f0e386e315a220297a5e1fd7340867dfeee6c90fca4208275ea4d61d9ff169eaed0053729e78f5626f2e8bd6e21be
7
- data.tar.gz: 41c1a3a58953002e3ab8b7894b111b0da6a3f6053292da17c33c4e5e1bc080087d1bc6bce00ebde5a8c47da3d809bf9e69d13cbdc07d98912ff48da889c9e491
6
+ metadata.gz: ed177e37bade0ad6efb8a22f36d856529f72a8eedc88dffd7b9fac1cd6110ef0f371c3837ee56d760fc09a719df9d957af88cbd7951de29e1b7cc89fe522e492
7
+ data.tar.gz: 965acc78063f5cb7364b5e16f4289ea8f4590bc97b2a2615da6a7405bbd1deadb86c49d273e83ec13cd349852469d53c7ddb7d5c5d7f91bdf99a4d72f7f811b6
data/lib/prometheus-config-builder/scrape_ecs.rb CHANGED
@@ -45,9 +45,11 @@ module PrometheusConfigBuilder
45
45
return {
46
46
"job_name" => config["name"],
47
47
"metrics_path" => config["metrics_path"],
48
- "files" => [
49
- file
50
- ]
48
+ "file_sd_configs":{
49
+ "files" => [
50
+ file
51
+ ]
52
+ }
51
53
}
52
54
end
53
55
data/prometheus-config-builder.gemspec CHANGED
@@ -3,7 +3,7 @@
3
3
4
4
Gem::Specification.new do |s|
5
5
s.name = 'prometheus-config-builder'
6
- s.version = '0.0.5'
6
+ s.version = '0.0.6'
7
7
s.date = Time.now
8
8
9
9
s.summary = %q{Template based config generation}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
--- !ruby/object:Gem::Specification
2
2
name: prometheus-config-builder
3
3
version: !ruby/object:Gem::Version
4
- version: 0.0.5
4
+ version: 0.0.6
5
5
platform: ruby
6
6
authors:
7
7
- Juho Mäkinen juho.makinen@gmail.com