checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
---
2
2
SHA1:
3
- metadata.gz: 7fe9956a29f5a926ed6c74b13e9d4df80d3bd5cc
4
- data.tar.gz: b7102c01ff937851d01cde3153d82dd8b1468cb4
3
+ metadata.gz: 0f76f4f53dc631c3b20206843e4ea30e5944ed1e
4
+ data.tar.gz: d9e2025697bee083a72e4b843670233b2d00f020
5
5
SHA512:
6
- metadata.gz: 985ff159e7f1d2e3704cf646ce42fae8e71ab436fcff9971270650e499110c88ccafcb9fe6dd62080c11a3b3cc5df852cdf9e216ee4da00b6c6c3e7cd79ac84b
7
- data.tar.gz: d135e9fe1acf9823784ff9d2a5a3deeec41f8e0f36d7e6ea9fe078cca4934df275fa5b64cf82d9dac208fb6810234fa9df96def218a786e6a816adbe644b1718
6
+ metadata.gz: cc318d9977507fc157a7a8844718f33e99b6c7c5345af70ebea0066b211092626f46539ed10e98dcc6fa439353a93eb79e03b7f20ff23b31f2dde7e99bc93ddc
7
+ data.tar.gz: 2beb568a8df2d5b7653e709fd43b68d2cf168434c3662b10840ae41aacc7319a24a60871b18fb7e7d4bac1451ff45342f910b39316da9e70cd3664c9cfd8b41b
data/lib/prometheus-config-builder/scrape_ecs.rb CHANGED
@@ -45,11 +45,11 @@ module PrometheusConfigBuilder
45
45
return {
46
46
"job_name" => config["name"],
47
47
"metrics_path" => config["metrics_path"],
48
- "file_sd_configs" => {
48
+ "file_sd_configs" => [
49
49
"files" => [
50
50
file
51
51
]
52
- }
52
+ ]
53
53
}
54
54
end
55
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.7'
6
+ s.version = '0.0.8'
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.7
4
+ version: 0.0.8
5
5
platform: ruby
6
6
authors:
7
7
- Juho Mäkinen juho.makinen@gmail.com