Skip to content

eventgenerator job from app-autoscaler/11.4.2

Github source: 2a645eed or master branch

Properties

autoscaler

appmetrics_db

address

IP address on which the appmetricsdb server will listen

Default
autoscalerpostgres.service.cf.internal
databases

The list of databases used in appmetricsdb database including name

db_scheme

Database scheme to be used to access appmetricsdb

Default
postgres
port

Port on which the appmetricsdb server will listen

roles

The list of database roles used in appmetricsdb database including name/password

sslmode

sslmode to connect to postgres server

Default
disable
tls
ca

PEM-encoded ca certificate for TLS database server

Default
""
certificate

PEM-encoded certificate for TLS database client

Default
""
private_key

PEM-encoded key for TLS database client

Default
""

appmetrics_db_connection_config

connection_max_lifetime
Default
60s
max_idle_connections
Default
10
max_open_connections
Default
20

changeloglock_timeout_seconds

Liquibase changelog lock timeout duration in seconds

Default
180

eventgenerator

aggregator
aggregator_execute_interval

the time interval to aggregate metrics data

Default
40s
app_metric_channel_size

the size of appmetric channel

Default
1000
app_monitor_channel_size

the size of app monitor channel

Default
200
metric_cache_size_per_app

the size of metric cache size for each app

Default
300
metric_poller_count

the number of metrics poller

Default
20
policy_poller_interval

the time interval to poll policies

Default
60s
save_interval

the time interval to save appmetric to database

Default
5s
ca_cert

PEM-encoded CA certificate

circuitBreaker
back_off_initial_interval

Initial exponential back off interval

Default
5m
back_off_max_interval

Maximum exponential back off interval

Default
120m
consecutive_failure_count

Number of consecutive failure to trip the circuit down

Default
3
defaultBreachDurationSecs

Default value for breach_duration_secs

Default
120
defaultStatWindowSecs

Default value for stat_window_secs

Default
120
evaluator
evaluation_manager_execute_interval

the time interval to evaluate rules

Default
60s
evaluator_count

the number of evaluators

Default
20
trigger_array_channel_size

the size of the trigger array channel

Default
200
health
ca_cert

PEM-encoded CA certificate for the health endpoint

password

the password for the health endpoint

Default
""
port

the listening port of health endpoint

Default
6204
server_cert

PEM-encoded server certificate for the health endpoint

server_key

PEM-encoded server key for the health endpoint

username

the username for the health endpoint

Default
""
http_client_timeout

Http client imeout for eventgenerator to communicate with other autoscaler components

Default
60s
logging
level

the level of logging

Default
info
metricscollector
ca_cert

PEM-encoded CA certificate

client_cert

PEM-encoded client certificate

client_key

PEM-encoded client key

host

Host where the metrics collector is running

Default
metricscollector.service.cf.internal
port

Port where the metrics collector will listen

Default
6103
uaa
client_id

UAA client id

client_secret

UAA client secret

skip_ssl_validation

UAA skip ssl authentication

Default
false
url

UAA Url to perform oauth authentication

use_log_cache

Uses log cache instead of metric server

Default
false
scaling_engine
ca_cert

PEM-encoded CA certificate

client_cert

PEM-encoded client certificate

client_key

PEM-encoded client key

host

Host where the scaling engine is running

Default
scalingengine.service.cf.internal
port

Port where the scaling engine will listen

Default
6104
server
port

the listening port of server

Default
6105
server_cert

PEM-encoded server certificate

server_key

PEM-encoded server key

policy_db

address

IP address on which the policydb server will listen

Default
autoscalerpostgres.service.cf.internal
databases

The list of databases used in policydb database including name

db_scheme

Database scheme to be used to access policydb

Default
postgres
port

Port on which the policydb server will listen

roles

The list of database roles used in policydb database including name/password

sslmode

sslmode to connect to postgres server

Default
disable
tls
ca

PEM-encoded CA certificate for TLS database server

Default
""
certificate

PEM-encoded certificate for TLS database client

Default
""
private_key

PEM-encoded key for TLS database client

Default
""

policy_db_connection_config

connection_max_lifetime
Default
60s
max_idle_connections
Default
10
max_open_connections
Default
20

Templates

Templates are rendered and placed onto corresponding instances during the deployment process. This job's templates will be placed into /var/vcap/jobs/eventgenerator/ directory (learn more).

  • bin/bpm-pre-start (from bpm-pre-start.erb)
  • bin/liquibase.properties (from liquibase.properties)
  • config/bpm.yml (from bpm.yml.erb)
  • config/certs/appmetrics_db/ca.crt (from appmetrics_db_ca.crt.erb)
  • config/certs/appmetrics_db/crt (from appmetrics_db.crt.erb)
  • config/certs/appmetrics_db/key (from appmetrics_db.key.erb)
  • config/certs/eventgenerator/ca.crt (from eventgenerator_ca.crt.erb)
  • config/certs/eventgenerator/server.crt (from eventgenerator_server.crt.erb)
  • config/certs/eventgenerator/server.key (from eventgenerator_server.key.erb)
  • config/certs/healthendpoint/ca.crt (from healthendpoint_ca.crt.erb)
  • config/certs/healthendpoint/server.crt (from healthendpoint.crt.erb)
  • config/certs/healthendpoint/server.key (from healthendpoint.key.erb)
  • config/certs/metricscollector/ca.crt (from metricscollector_ca.crt.erb)
  • config/certs/metricscollector/client.crt (from metricscollector_client.crt.erb)
  • config/certs/metricscollector/client.key (from metricscollector_client.key.erb)
  • config/certs/policy_db/ca.crt (from policy_db_ca.crt.erb)
  • config/certs/policy_db/crt (from policy_db.crt.erb)
  • config/certs/policy_db/key (from policy_db.key.erb)
  • config/certs/scalingengine/ca.crt (from scalingengine_ca.crt.erb)
  • config/certs/scalingengine/client.crt (from scalingengine_client.crt.erb)
  • config/certs/scalingengine/client.key (from scalingengine_client.key.erb)
  • config/eventgenerator.yml (from eventgenerator.yml.erb)

Packages

Packages are compiled and placed onto corresponding instances during the deployment process. Packages will be placed into /var/vcap/packages/ directory.