Designer configuration
Web interface configuration
Parameter name | Importance | Type | Default value | Description |
---|---|---|---|---|
http.port | High | int | 8080 | HTTP Port of Designer app |
http.interface | High | string | "0.0.0.0" | HTTP interface for Designer app |
http.publicPath | Medium | string | "" | if Designer used with reverse proxy and custom path, use this configuration to generate links in Designer properly (Designer app is always served from root path) |
ssl.enabled | Medium | boolean | false | Should Designer app be served with SSL |
ssl.keyStore.location | Medium | string | Keystore file location (required if SSL enabled) | |
ssl.keyStore.password | Medium | string | Keystore file password (required if SSL enabled) | |
akka.* | Medium | Akka HTTP is used for HTTP serving, you can configure it in standard way. Below we give Nussknacker-specific defaults | ||
akka.http.server.parsing.max-content-length | Low | int | 300000000 | Requests (e.g. with test data) can be quite large, so we increase the limit |
akka.http.server.request-timeout | Low | duration | 1 minute | Consider increasing the value if you have large test data or long savepoint times during deploy |
Database configuration
Currently, Nussknacker supports following databases:
- HSQL (embedded), we use
syntax_ora
option - PostgreSQL
Please check Slick documentation for detailed list of configuration options.
The table below presents most important options, or the ones that have Nussknacker specific defaults.
Parameter name | Importance | Type | Default value | Description |
---|---|---|---|---|
db.url | High | string | "jdbc:hsqldb:file:"${storageDir}"/db;sql.syntax_ora=true" | Default HSQL location |
db.driver | High | string | "org.hsqldb.jdbc.JDBCDriver" | |
db.user | High | string | "SA" | |
db.password | High | string | "" | |
db.connectionTimeout | Low | int | 30000 | |
db.maximumPoolSize | Low | int | 5 | We have lower limits than default config, since then Designer is not heavy-load application |
db.minimumIdle | Low | int | 1 | We have lower limits than default config, since then Designer is not heavy-load application |
db.numThreads | Low | int | 5 | We have lower limits than default config, since then Designer is not heavy-load application |
Metrics settings
Metric dashboard
Each scenario can have a link to grafana dashboard. In docker setup we
provide nussknacker-scenario
dashboard.
You can modify/configure own, the only assumption that we make is that variable scenarioName
is used to display metrics for particular scenario.
Each scenario type can have different dashboard, this is configured by
metricsSettings.scenarioTypeToDashboard
settings. If no mapping is configured, metricsSettings.defaultDashboard
is used.
Actual link for particular scenario is created by replacing
$dashboard
with configured dashboard$scenarioName
with scenario name inmetricsSettings.url
setting.
Parameter name | Importance | Type | Default value | Description |
---|---|---|---|---|
metricsSettings.url | High | string | /grafana/d/$dashboard?theme=dark&var-scenarioName=$scenarioName&var-env=local (for docker setup) | URL (accessible from user browser, in docker setup its configured as relative URL) to Grafana dashboard, see above for details |
metricsSettings.defaultDashboard | Medium | string | nussknacker-scenario (for docker setup) | Default dashboard |
metricsSettings.scenarioTypeToDashboard | Low | map | Mapping of scenario types to dashboard |