Environment Variables

This section lists the environment variables that are associated with the TIBCO Cloud Integration - Flogo (PAYG) runtime environment.

Environment Variable Name Default Values Description
FLOGO_RUNNER_QUEUE 50 The maximum number of events from all triggers that can be queued by the app engine.
FLOGO_RUNNER_WORKERS 5 The maximum number of concurrent events that can be executed by the app engine from the queue.
FLOGO_HTTP_SERVICE_PORT N/A Used to set the port number to enable runtime HTTP service which provides APIs for healthcheck and statistics
FLOGO_LOG_LEVEL INFO Used to set a log level for the Flogo App. Supported values are:
  • INFO
  • DEBUG
  • WARN
  • ERROR
FLOGO_LOG_FORMAT TEXT Used to switch logging format between text and JSON. For example, to use the JSON format, set FLOGO_LOG_FORMAT=JSON ./<app-name>
FLOGO_MAPPING_SKIP_MISSING False

By default, it is set to false. When mapping objects, if one or more elements is missing in either the source or target object, the mapper throws an error when FLOGO_MAPPING_SKIP_MISSING is set to false.

Set this environment variable to true if you would like to return a null instead of receiving an error.

FLOGO_APP_METRICS_LOG_EMITTER_ENABLE False By default set to False. If you set this property to True, the app metrics are displayed in the logs with the values set in FLOGO_APP_METRICS_LOG_EMMITTER_CONFIG. App metrics are not displayed in the logs if this environment variable is set to False. To set it to True, run: export FLOGO_APP_METRICS_LOG_EMITTER_ENABLE=true
FLOGO_APP_METRICS_LOG_EMITTER_CONFIG Both flow and activity This property can be set to either flow level or activity level. Depending on which level you set, the app metrics will display only for that level. Also, you can provide an (interval in seconds) at which to display the app metrics.

For example to set the interval to 30 seconds and get the app metrics for flow, run:

export FLOGO_APP_METRICS_LOG_EMITTER_CONFIG=‘{“interval”:“30s”,“type”:[“flow”]}’

To set the interval for 10 seconds and get the app metrics for both flow and activities, run:

export FLOGO_APP_METRICS_LOG_EMITTER_CONFIG=‘{“interval”:“30s”,“type”:[“flow”,“activity”]}’