Configuration Reference¶
Configuration¶
| Name | Type | Required | Default |
|---|---|---|---|
| name | str | False | ... |
| telemetry | TelemetrySettings | False | ... |
| rpc | RPCSettings | False | ... |
| database | DatabaseSettings | False | ... |
| logging | LoggingSettings | False | ... |
| storage | StorageSettings | False | ... |
| services | ServiceSettings | False | ... |
TelemetrySettings¶
| Name | Type | Required | Default |
|---|---|---|---|
| enabled | bool | False | False |
| endpoint | str | False | http://localhost:4318 |
| protocol | TelemetryProtocol | False | http |
| compression | TelemetryCompression | False | none |
| timeout | int | False | 10 |
| headers | Union[dict, None] | False | |
| trace_export_timeout_ms | int | False | 30000 |
| trace_export_batch_size | int | False | 512 |
| trace_schedule_delay_ms | int | False | 5000 |
| trace_max_queue_size | int | False | 2048 |
| metrics_max_storage_time_s | int | False | 21600 |
| metrics_interval_ms | int | False | 5000 |
| metrics_export_timeout_ms | int | False | 10000 |
RPCSettings¶
| Name | Type | Required | Default |
|---|---|---|---|
| api | RestAPISettings | False | {'host': '127.0.0.1', 'port': 8080} |
| event_bus | EventBusSettings | False | {'url': 'memory://'} |
RestAPISettings¶
| Name | Type | Required | Default |
|---|---|---|---|
| host | str | False | 127.0.0.1 |
| port | int | False | 8080 |
EventBusSettings¶
| Name | Type | Required | Default |
|---|---|---|---|
| url | str | False | memory:// |
DatabaseSettings¶
| Name | Type | Required | Default |
|---|---|---|---|
| target | str | False | flowdapt.lib.database.storage.tdb.TinyDBStorage |
LoggingSettings¶
| Name | Type | Required | Default |
|---|---|---|---|
| level | str | False | info |
| format | str | False | console |
| include_trace_id | bool | False | False |
| show_tracebacks | bool | False | False |
| traceback_show_locals | bool | False | False |
| traceback_max_frames | int | False | 10 |
StorageSettings¶
| Name | Type | Required | Default |
|---|---|---|---|
| protocol | str | False | file |
| base_path | str | False | |
| parameters | dict | False | {} |
ServiceSettings¶
| Name | Type | Required | Default |
|---|---|---|---|
| compute | Union[ComputeSettings, Literal['disabled']] | False | {'executor': {'target': 'flowdapt.compute.executor.local.LocalExecutor'}, 'default_namespace': 'default', 'default_os_strategy': 'fallback', 'run_retention_duration': -1} |
ComputeSettings¶
| Name | Type | Required | Default |
|---|---|---|---|
| executor | Instantiable[Executor] | False | {'target': 'flowdapt.compute.executor.local.LocalExecutor'} |
| default_namespace | str | False | default |
| default_os_strategy | Literal['fallback', 'artifact', 'cluster_memory'] | False | fallback |
| run_retention_duration | Union[timedelta, int, str] | False | -1 |
Instantiable[Executor]¶
| Name | Type | Required | Default |
|---|---|---|---|
| target | str | True | ... |