Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds possibility to customize --collector.workers argument's value in cf_exporter job configuration #490

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions jobs/cf_exporter/spec
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@ properties:
description: "Cloud Foundry Client Secret"
cf_exporter.cf.deployment_name:
description: "Cloud Foundry Deployment Name to be reported as a metric label"
cf_exporter.collector.workers:
description: "Number of workers to use for collectors"
default: 10
cf_exporter.filter.collectors:
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."
cf_exporter.log_stream:
Expand Down
1 change: 1 addition & 0 deletions jobs/cf_exporter/templates/bpm.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ args = [
"--log.level", p("cf_exporter.log_level"),
"--log.stream", p("cf_exporter.log_stream"),
"--cf.api_url", p("cf_exporter.cf.api_url"),
"--collector.workers", p("cf_exporter.collector.workers"),
]

# program env variables
Expand Down