Skip to content

Commit b9fc3e0

Browse files
gmlltbenjaminguttmann-avtq
authored andcommitted
adds possibility to customize --collector.workers argument's value in cf_exporter job configuration
1 parent b1a768e commit b9fc3e0

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

jobs/cf_exporter/spec

+3
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ properties:
2222
description: "Cloud Foundry Client Secret"
2323
cf_exporter.cf.deployment_name:
2424
description: "Cloud Foundry Deployment Name to be reported as a metric label"
25+
cf_exporter.collector.workers:
26+
description: "Number of workers to use for collectors"
27+
default: 10
2528
cf_exporter.filter.collectors:
2629
description: "Comma separated collectors to filter (Applications,Buildpacks,Events,IsolationSegments,Organizations,Routes,SecurityGroups,ServiceBindings,ServiceInstances,ServicePlans,Services,Spaces,Stacks), If not set, all collectors except Events are enabled."
2730
cf_exporter.log_stream:

jobs/cf_exporter/templates/bpm.yml.erb

+1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ args = [
55
"--log.level", p("cf_exporter.log_level"),
66
"--log.stream", p("cf_exporter.log_stream"),
77
"--cf.api_url", p("cf_exporter.cf.api_url"),
8+
"--collector.workers", p("cf_exporter.collector.workers"),
89
]
910

1011
# program env variables

0 commit comments

Comments
 (0)