Application Service Configuration Guide
Overview¶
This document aims to modify relevant configurations through the "Modify Application Configuration" function of launcher, in order to better adapt to your own environment, achieving the purpose of optimizing related configurations and meeting personalized configuration needs.
Launcher Operation Steps¶
- Browser access to the launcher console
- Select the upper right corner to enter the Modify Application Configuration interface
- To modify the corresponding configuration file, you need to check the Modify Configuration option, which allows it to be modified.
- After completing the configuration modification, you need to check the Automatically Restart Related Services After Modifying Configuration at the bottom right corner of the page, then click Confirm Modification.
Partial Common Service Configuration Description¶
Studio Backend Service¶
Configuration File Location¶
- Namespace: forethought-core
- Configuration Name in Launcher: Core
- Configmap Name in Kubernetes: core
Configuration File Example¶
# Guance Console Access Protocol
protocol: "http"
# Guance Console Address
hostname: "console.cloudcare.cn"
# Management Backend Site Access Address
managementHostname: "management.cloudcare.cn"
# Current Site Name
envName: Guance Deployment Plan
# Whether the system debug mode is enabled, generally not enabled
debug: false
# System default language
defaultLanguage: "zh"
# Frontend Access Address Prefix, the first two curly braces will be occupied by protocol and hostname. If you need to configure a unified secondary address, you can adjust this configuration directly.
frontServerUrlPrefixFormat: "{}://{}"
# ExternalAPI Service Configuration.
external:
# The validity period of each request signature, in seconds
timeliness: 60
# The ak/sk configuration used for interface signing, can set random strings as ak/sk
accessKey: ""
secretKey: ""
# When the system runs in debug mode, allows unlimited automatic passing of the signature string, default value is none
debugPassSignature: ""
# Fixed notification types for alert policies
alertPolicyFixedNotifyTypes:
email:
enable: true
# Default token expiration time setting
token_exp_set:
# Web end default setting 4 hours
front_web: 14400
# Management backend token default expiration time
manage: 7200
# API documentation switch, default closed, if true indicates open. API documentation path defaults to /v1/doc; inner api default address is /v1/inner.doc
apiDocPageSwitch:
# Management backend
admin: false
# Frontend
front: false
# Inner service
inner: false
# Openapi service
openapi: false
center: false
# External service
external: false
# Time offset range for queries in query_view links, unit in seconds
BusinessQueryViewTimeOffset: 900
# Guance Database Configuration
database:
connection:
pool_size: 20
max_overflow: 100
echo: false
pool_timeout: 30
# This setting causes the pool to recycle connections after the given number of seconds have passed. It defaults to -1, or no timeout. For example, setting it to 3600 means connections will be recycled after one hour. Note that MySQL automatically disconnects if no activity is detected on the connection within eight hours (though this can be configured via MySQLDB connection itself and server settings).
pool_recycle: 3600
# Boolean value, if True, enables the connection pool "pre ping" feature, which tests the activity of the connection upon each checkout.
pool_pre_ping: true
# Retrieves connections using LIFO (last-in-first-out) QueuePool instead of FIFO (first-in-first-out). Using LIFO reduces the number of connections used during non-peak usage under server-side timeout schemes. When planning server-side timeouts, ensure use of recycling(pool_recycle) or pre-ping(pool_pre_ping) strategies to properly handle outdated connections.
pool_use_lifo: true
# Logger Configuration
logger:
filename: /logdata/business.log
level: info
# Maximum size of each log file
max_bytes: 52428800
# Total number of log file rollovers
backup_count: 3
# Controls log output method, default outputs both to file and stdout
output_mode_switch:
file: true
stdout: true
# GunLogger-access, same as above
g_access_logger:
filename: /logdata/g_access.log
mode: a
level: info
max_bytes: 52428800
backup_count: 3
# Controls log output method, default outputs both to file and stdout
output_mode_switch:
file: true
stdou
# Default split unit for ultra-large logs when creating workspaces, unit in bytes
workspaceLoggingCutSizeSet:
es: 10240
sls: 2048
beaver: 2048
doris: 10240
# Default data retention policy when creating workspaces
workspaceVersionSet:
unlimited:
# Default strategy configuration for creating new workspaces in Deployment Plan
durationSet:
rp: 30d
logging: 14d
keyevent: 14d
tracing: 7d
profiling: 7d
rum: 7d
# Only Deployment Plan has separate session_replay configuration
session_replay: 7d
network: 2d
security: 90d
backup_log: 180d
# Default workspace status settings
WorkspaceDefaultStatsConfig:
isOpenLogMultipleIndex: true # By default, create workspace with custom log indexes disabled
logMultipleIndexCount: 6 # By default, create workspace with 6 custom log indexes
loggingCutSize: 10240 # By default, create workspace with ultra-large log count unit of 10KB
maxSearchResultCount: 0 # By default, create workspace with query quantity limit of 0
# Default information for es/doris index configuration when creating workspace
WorkspaceDefaultesIndexSettings:
number_of_shards: 1 # By default, create workspace with 1 primary shard for es
number_of_replicas: 1 # By default, create workspace with replicas enabled for es | doris
rollover_max_size: 30 # By default, create workspace with shard size of 30 for es
hot_retention: 24 # By default, create workspace with hot data duration of 24 for es | doris
# OpenAPI rate limiting settings
openapiCurrentLimitingSet:
# Rate limiting switch, default closed, set to true if needed
isOpen: false
crontabSet:
# Number of rate limiting executions per minute
hour: "*"
minute: "*/1"
frequency:
# Ak level call rate limiting 100 times per minute
ak: 100
# Workspace level call rate limiting 300 times per minute
workspace: 300
# Login restrictions for Deployment Plan
LoginLimitSet:
# Number of consecutive login error retries for the same username
retry_times: 5
# Restricted login time after failing retry_times consecutive logins, default 15 minutes
exp: 900
...
Detailed Configuration Item Description¶
Configuration Item | Sub-item | Type | Default Value | Description |
---|---|---|---|---|
protocol | String | http | Guance Console Access Protocol | |
hostname | String | console.cloudcare.cn | Guance Console Address | |
managementHostname | String | management.cloudcare.cn | Management Backend Site Access Address | |
envName | String | Guance | Current Site Name | |
debug | Boolean | false | Debug Mode Switch | |
frontServerUrlPrefixFormat | String | {}://{} | Frontend Access Address Prefix, the first two curly braces will be occupied by protocol and hostname. If you need to configure a unified secondary address, you can adjust this configuration directly. | |
external | timeliness | Numeric | 60 | Validity period of each request signature, in seconds |
accessKey | String | ak configuration used for interface signing, can set random strings | ||
secretKey | String | sk configuration used for interface signing, can set random strings | ||
debugPassSignature | String | When the system runs in debug mode, allows unlimited automatic passing of the signature string, default value is none | ||
defaultLanguage | String | zh | System default language, newly created workspaces will use this configuration value if no language is specified | |
token_exp_set | front_web | Numeric | 14400 | Effective duration of Studio browser-end user login, unit: seconds |
manage | Numeric | 7200 | Effective duration of management backend browser-end user login, unit: seconds | |
apiDocPageSwitch | admin | Boolean | false | Management backend API interface documentation openness switch |
front | Boolean | false | Studio backend API interface documentation openness switch | |
inner | Boolean | false | Inner service API interface documentation openness switch | |
openapi | Boolean | false | OpenAPI interface documentation openness switch | |
external | Boolean | false | External API interface documentation openness switch | |
BusinessQueryViewTimeOffset | Numeric | 900 | Time offset range for querying RUM Resource corresponding link data, unit: seconds | |
database | connection | String | Database connection string | |
pool_size | Numeric | 20 | Regular size of single worker connection pool connections | |
max_overflow | Numeric | 100 | Maximum overflow number of single worker connection pool links | |
pool_timeout | Numeric | 30 | Database connection timeout, unit: seconds | |
pool_recycle | Numeric | 3600 | Controls the recycling time of connection pool links, connections created will be recycled after the specified time in this value. Unit: seconds. Generally used with pool_pre_ping, pool_use_lifo should be true. Note that the recycling mechanism only triggers when the database connection is used. | |
pool_pre_ping | Boolean | true | Enables the "pre ping" feature of the connection pool, which tests the activity of the connection upon each use | |
pool_use_lifo | Boolean | true | Retrieves connections using LIFO (last-in-first-out) QueuePool rather than FIFO (first-in-first-out) | |
logger | filename | String | /logdata/business.log | Log file |
level | String | info | Minimum log level | |
max_bytes | Numeric | 52428800 | Maximum size of each log file, unit: bytes | |
backup_count | Numeric | 3 | Total number of log file rollovers | |
output_mode_switch.file | true | Controls log output method switch, supports output to file | ||
output_mode_switch.stdout | true | Controls log output method switch, supports output to stdout | ||
g_access_logger | gunicon log configuration, sub-configuration items are the same as logger | |||
workspaceLoggingCutSizeSet | es | Numeric | 10240 | Default split unit for ultra-large logs when creating workspaces, unit byte, storage type: elasticsearch/OpenSearch |
sls | Numeric | 2048 | Default split unit for ultra-large logs when creating workspaces, unit byte, storage type: Alibaba Cloud SLS storage | |
beaver | Numeric | 2048 | Default split unit for ultra-large logs when creating workspaces, unit byte, storage type: Beaver | |
doris | Numeric | 10240 | Default split unit for ultra-large logs when creating workspaces, unit byte, storage type: Doris | |
WorkspaceDefaultStatsConfig.unlimited.durationSet | JSON | Default data retention duration configuration for creating new workspaces | ||
rp | String | 30d | Default data retention duration for Measurements | |
logging | String | 14d | Default data retention duration for Logs | |
keyevent | String | 14d | Default data retention duration for Events | |
tracing | String | 7d | Default data retention duration for Links | |
rum | String | 7d | Default data retention duration for RUM | |
network | String | 2d | Default data retention duration for Networks | |
security | String | 90d | Default data retention duration for Security Checks | |
backup_log | String | 180d | Default data retention duration for Backup Logs | |
WorkspaceDefaultStatsConfig | isOpenLogMultipleIndex | Boolean | true | Whether custom log indexes are enabled when creating workspaces |
logMultipleIndexCount | Numeric | 6 | Number of custom log indexes when creating workspaces | |
loggingCutSize | Numeric | 6 | Ultra-large log count unit 10KB when creating workspaces | |
maxSearchResultCount | Numeric | 0 | Query quantity limit 0 | |
WorkspaceDefaultesIndexSettings | number_of_shards | Numeric | 1 | Number of primary shards when creating workspaces, effective for storage type es |
number_of_shards | Numeric | 1 | Number of primary shards when creating workspaces, effective for storage type es | |
number_of_replicas | Numeric | 1 | Whether replicas are enabled when creating workspaces, effective for storage type es/doris | |
rollover_max_size | Numeric | 30 | Shard size when creating workspaces, effective for storage type es/doris | |
hot_retention | Numeric | 24 | Hot data duration when creating workspaces, effective for storage type es/doris | |
openapiCurrentLimitingSet | JSON | OpenAPI rate limiting settings | ||
isOpen | Boolean | false | OpenAPI rate limiting switch, default closed | |
openapiCurrentLimitingSet.crontabSet | JSON | Scheduled task configuration | ||
hour | String | "*" | Hour setting in crontab, default every hour | |
minute | String | "*/1" | Minute setting in crontab, default every minute | |
openapiCurrentLimitingSet.frequency | JSON | Limit configuration | ||
ak | Numeric | 100 | ak level call rate limiting 100 times per minute | |
workspace | Numeric | 300 | Workspace level call rate limiting 300 times per minute | |
LoginLimitSet | JSON | Login restrictions for Deployment Plan | ||
retry_times | Numeric | 5 | Number of consecutive login error retries for the same username | |
exp | Numeric | 900 | Restricted login time after failing retry_times consecutive logins, default 15 minutes, note the unit is seconds |
Studio Frontend Site¶
Configuration File Location¶
- Namespace: forethought-webclient
- Configuration Name in Launcher: frontWeb
- Configmap Name in Kubernetes: front-web-config
Configuration File Example¶
window.DEPLOYCONFIG = {
...
"rumDatawayUrl": "https://rum-openway.guance.com",
"datakitScriptUrl": "https://static.guance.com/datakit",
"datakitHelmUrl": "https://pubrepo.guance.com",
"passPublicNetwork": 1,
"isOverseas": 0,
"maxTraceSpanLimit": 10000,
"maxProfileM": 5,
"paasCustomLoginInfo": [{ "iconUrl":"xxx", "label": "xxx", "url": "xxxx" ,desc:"xxx"}],
"paasCustomSiteList": [{"url": "xxxx", "label": "xxx"}],
"paasCustomLoginUrl": "https://www.xxx",
"maxMessageByte": 10 * 1024,
"isDesensitizeUser": false,
"webRumSdkUrl": "https://static.guance.com/browser-sdk/v3/dataflux-rum.js",
"defaultTimeMap": {
'log': [1732254771701,1732255671701],// Or relative time 5m
}
...
}
Detailed Configuration Item Description¶
Configuration Item | Sub-item | Type | Default Value | Description |
---|---|---|---|---|
rumDatawayUrl | String | "https://rum-openway.guance.com" | Dedicated DataWay address for reporting RUM data, displayed on the RUM integration configuration page after configuration | |
datakitScriptUrl | String | "https://static.guance.com/datakit" | Default download domain name for DataKit installation script on the DataKit installation page, modify this configuration if using internal static resources | |
datakitHelmUrl | String | "https://pubrepo.guance.com" | DataKit Helm image repository address, modify this configuration if using a self-built image repository | |
passPublicNetwork | Numeric | 1 | Whether the client computer accessing the Studio site has public network access, 0: No, 1: Yes | |
isOverseas | Numeric | 0 | Whether this Guance site is deployed overseas, affecting the display of world map and China map components in RUM | |
maxTraceSpanLimit | Numeric | 10000 | Maximum number of Spans in the flame graph of the link, default value: 10000 | |
maxProfileM | Numeric | 5 | Maximum MB number for obtaining profile to display flame graph, default value: 5 if not configured | |
paasCustomLoginInfo | Array | None | Single sign-on entry configuration for the login page of the Deployment Plan Guance console New iconUrl, desc custom fields, iconUrl is the single sign-on icon address, desc is the single sign-on description text | |
paasCustomSiteList | Array | None | Multi-site selection configuration added to the login page of the Deployment Plan Guance console label is the site display text, url is the site address, if there are no multi-sites, this configuration item can be omitted | |
rumEnable Self Monitoring |
Boolean | None | Whether RUM is enabled, 1 indicates enabled, if not enabled, the following configuration values can be empty | |
rumDatakitUrl Self Monitoring |
String | None | RUM DataKit address or public openway address | |
rumApplicationId Self Monitoring |
String | None | RUM application ID, used for reporting application data | |
rumJsUrl Self Monitoring |
String | None | RUM SDk CDN address | |
rumTrackInteractions Self Monitoring |
Boolean | None (Not Enabled) | Whether to enable data collection for user behavior data (Action) | |
rumClientToken Self Monitoring |
String | None | RUM Openway method for reporting data (to be used with rumOpenwayUrl ), conflicts with datakit reporting method in Guance platform, higher priority than datakit reporting method |
|
rumOpenwayUrl Self Monitoring |
String | None | RUM Openway public address (to be used with rumClientToken ), used for self-monitoring data reporting on the Studio frontend site |
|
isDesensitizeUser Self Monitoring |
Boolean | None | Whether to enable desensitization of user email and username data in self-monitoring, true indicates enabled, false indicates disabled | |
paasCustomLoginUrl | String | None | Custom login URL | |
maxMessageByte | String | None | Maximum display byte number for message in the log viewer list, default is 10 * 1024 if not filled | |
webRumSdkUrl | String | None | Rum web SDK CDN address, default is https://static.guance.com/browser-sdk/v3/dataflux-rum.js if not filled | |
defaultTimeMap | String or Object Structure | None | Default initialization time configuration for the viewer, format is {'log': '5m'} or {'log': [1732254771701,1732255671701]} object key is fixed string, log viewer is log , security check is security |
kodo Component¶
Configuration File Location¶
- Namespace: forethought-kodo
- Configuration Name in Launcher: Kodo
- Configmap Name in Kubernetes: kodo
Configuration File Example¶
...
global:
workers: 8
log_workers: 8
tracing_workers: 8
...
redis:
host: "r-xxx.redis.rds.xxx.com:6379"
password: "..."
db: 0
asynq_redis:
host: "r-xxxx.redis.rds.xxx.com:6379"
password: "..."
db: 0
dql:
metric_query_workers: 8 # Time series data worker count, default value is 8
log_query_workers: 8 # Log data worker count, default value is 8
...
...
Detailed Configuration Item Description¶
Configuration Item | Sub-item | Type | Default Value | Description |
---|---|---|---|---|
log | log_file | String | '/logdata/log' | Runtime log, storage address, optional values include stdout, indicating standard output, not saved to file |
level | String | 'info' | Minimum runtime log level | |
gin_log_file | String | '/logdata/log' | Gin log, storage address, optional values include stdout, indicating standard output, not saved to file | |
database | db_dialect | String | 'mysql' | Database type, default is mysql |
addr | String | 'testsql.com:3306' | Database connection address | |
username | String | ' test_user' | Username | |
password | String | 'test_password' | Password | |
network | String | 'tcp' | Connection protocol | |
db_name | String | 'test_db_name' | Database name | |
nsq | lookupd | String | 'testnsq.com:4161' | nsq lookupd address |
discard_expire_interval | Numeric | 5 | Maximum redundancy time for time series data, unit is minutes, default time series indicator data exceeding 5 minutes delay will not be written | |
redis | host | String | 'testredis.com:6379' | Redis address used for data processing, cluster version supported. Note: all Redis configurations related to kodo must be consistent |
password | String | 'test_password' | Password | |
db | Numeric | 0 | redis db value | |
is_cluster | Boolean | false | When redis set is a cluster and does not support proxy connections, needs to be set to true | |
asynq_redis | host | String | '' | Redis address used for asynchronous tasks, default uses redis configuration, does not support cluster version, if redis configuration is a cluster version, must configure a non-cluster version of asynq_redis |
password | String | 'test_password' | Password | |
db | Numeric | 0 | redis db value |
kodo-inner Component¶
Configuration File Location¶
- Namespace: forethought-kodo
- Configuration Name in Launcher: KodoInner
- Configmap Name in Kubernetes: kodo-inner
Configuration File Example¶
...
redis:
host: "r-xxx.redis.rds.xxx.com:6379"
password: "..."
db: 0
asynq_redis:
host: "r-xxxx.redis.rds.xxx.com:6379"
password: "..."
db: 0
dql:
metric_query_workers: 8 # Time series data worker count, default value is 8
log_query_workers: 8 # Log data worker count, default value is 8
...
...
Detailed Configuration Item Description¶
Configuration Item | Sub-item | Type | Default Value | Description |
---|---|---|---|---|
log | log_file | String | '/logdata/log' | Runtime log, storage address, optional values include stdout, indicating standard output, not saved to file |
level | String | 'info' | Minimum runtime log level | |
gin_log_file | String | '/logdata/log' | Gin log, storage address, optional values include stdout, indicating standard output, not saved to file | |
database | db_dialect | String | 'mysql' | Database type, default is mysql |
addr | String | 'testsql.com:3306' | Database connection address | |
username | String | ' test_user' | Username | |
password | String | 'test_password' | Password | |
network | String | 'tcp' | Connection protocol | |
db_name | String | 'test_db_name' | Database name | |
nsq | lookupd | String | 'testnsq.com:4161' | nsq lookupd address |
discard_expire_interval | Numeric | 5 | Maximum redundancy time for time series data, unit is minutes, default time series indicator data exceeding 5 minutes delay will not be written | |
redis | host | String | 'testredis.com:6379' | Redis address used for data processing, cluster version supported. Note: all Redis configurations related to kodo must be consistent |
password | String | 'test_password' | Password | |
db | Numeric | 0 | redis db value | |
is_cluster | Boolean | false | When redis set is a cluster and does not support proxy connections, needs to be set to true | |
asynq_redis | host | String | '' | Redis address used for asynchronous tasks, default uses redis configuration, does not support cluster version, if redis configuration is a cluster version, must configure a non-cluster version of asynq_redis |
password | String | 'test_password' | Password | |
db | Numeric | 0 | redis db value | |
dql | metric_query_workers | Numeric | 32 | DQL metric data query worker count |
query_metric_channel_size | Numeric | 32 | Request queue size for each metric_query_worker | |
log_query_workers | Numeric | 32 | DQL log text data (logs, links, RUM, etc., all text data) query worker count | |
query_log_channel_size | Numeric | 32 | Request queue size for each log_query_worker | |
general_query_workers | Numeric | 32 | Non-metric or log query worker count | |
query_general_channel_size | Numeric | 32 | Request queue size for each general_query_worker | |
profiling_parse | Boolean | true | Whether DQL query enables metrics, statistics query time consumption for various stages | |
influxdb | read_timeout | Numeric | 60 | Query time series indicator data, query timeout time, unit is s, i.e., default timeout time is 60s |
dial_timeout | Numeric | 30 | Query time series indicator data, establish connection timeout time, unit is ms, i.e., default create connection timeout time is 30ms | |
doris | read_timeout | Numeric | 60 | Query log data, query timeout time, unit is s, i.e., default timeout time is 60s |
dial_timeout | Numeric | 30 | Query log data, establish connection timeout time, unit is ms, i.e., default create connection timeout time is 30ms | |
global | datakit_usage_check_enabled | Boolean | false | Whether to detect whether the number of datakits exceeds the license limit during log queries, default does not detect |
kodo-x Component¶
Configuration File Location¶
- Namespace: forethought-kodo
- Configuration Name in Launcher: KodoX
- Configmap Name in Kubernetes: kodo-x
Configuration File Example¶
...
global:
workers: 8
log_workers: 8
tracing_workers: 8
...
redis:
host: "r-xxx.redis.rds.xxx.com:6379"
password: "..."
db: 0
asynq_redis:
host: "r-xxxx.redis.rds.xxx.com:6379"
password: "..."
db: 0
doris:
dial_timeout: 10
gzip_enable: false
dql:
metric_query_workers: 8 # Time series data worker count, default value is 8
log_query_workers: 8 # Log data worker count, default value is 8
...
pipeline:
enable: false
pull_duration: "1m"
...
Detailed Configuration Item Description¶
Configuration Item | Sub-item | Type | Default Value | Description |
---|---|---|---|---|
log | log_file | String | '/logdata/log' | Runtime log, storage address, optional values include stdout, indicating standard output, not saved to file |
level | String | 'info' | Minimum runtime log level | |
gin_log_file | String | '/logdata/log' | Gin log, storage address, optional values include stdout, indicating standard output, not saved to file | |
database | db_dialect | String | 'mysql' | Database type, default is mysql |
addr | String | 'testsql.com:3306' | Database connection address | |
username | String | ' test_user' | Username | |
password | String | 'test_password' | Password | |
network | String | 'tcp' | Connection protocol | |
db_name | String | 'test_db_name' | Database name | |
nsq | lookupd | String | 'testnsq.com:4161' | nsq lookupd address |
discard_expire_interval | Numeric | 5 | Maximum redundancy time for time series data, unit is minutes, default time series indicator data exceeding 5 minutes delay will not be written | |
redis | host | String | 'testredis.com:6379' | Redis address used for data processing, cluster version supported. Note: all Redis configurations related to kodo must be consistent |
password | String | 'test_password' | Password | |
db | Numeric | 0 | redis db value | |
is_cluster | Boolean | false | When redis set is a cluster and does not support proxy connections, needs to be set to true | |
asynq_redis | host | String | '' | Redis address used for asynchronous tasks, default uses redis configuration, does not support cluster version, if redis configuration is a cluster version, must configure a non-cluster version of asynq_redis |
password | String | 'test_password' | Password | |
db | Numeric | 0 | redis db value | |
global | workers | Numeric | 8 | Default worker count for various data processing |
metric_workers | Numeric | 8 | Worker count for processing time series indicator data | |
log_workers | Numeric | 8 | Worker count for processing log data | |
tracing_workers | Numeric | 8 | Worker count for processing link data, default uses the value of the log_workers configuration item | |
sub_topic_max_expire_seconds | Object structure | Optional values are df_audit_event (audit events), df_dialtesting (availability monitoring), df_event (events), df_logging (logs), df_network (networks), df_object (infrastructure), df_profiling (profiling), df_rum (user access monitoring), df_security (security checks), df_tracing (application performance monitoring) For example: df_logging: 3600, meaning logs older than 1 hour are discarded and no longer consumed | ||
influxdb | read_timeout | Numeric | 60 | Query time series indicator data, query timeout time, unit is s, i.e., default timeout time is 60s |
write_timeout | Numeric | 300 | Write timeout time for time series indicator data, unit is s, i.e., default write timeout time is 5 min | |
enable_gz | Boolean | false | Whether to enable gzip compression for writing data | |
dial_timeout | Numeric | 30 | Query time series indicator data, establish connection timeout time, unit is ms, i.e., default create connection timeout time is 30ms | |
doris | read_timeout | Numeric | 60 | Query log data, query timeout time, unit is s, i.e., default timeout time is 60s |
write_timeout | Numeric | 300 | Write timeout time for log data, unit is s, i.e., default write timeout time is 5 min | |
gzip_enable | Boolean | false | Whether to enable gzip compression for writing data | |
dial_timeout | Numeric | 30 | Query log data, establish connection timeout time, unit is ms, i.e., default create connection timeout time is 30ms | |
backup_kafka | async | Boolean | false | Data forwarding to kafka, write method, default is synchronous write |
write_timeout | Numeric | 30 | Kafka write timeout time | |
max_bulk_docs | Numeric | 0 | Whether to write multiple logs into one kafka message and send it to kafka, default is one log per kafka message | |
pipeline | enable | Boolean | false | Set to true to enable the central Pipeline feature |
pull_duration | String | 1m | Synchronization interval for central Pipeline scripts, default value 1m means synchronization every 1 minute, supports s , m , h etc. time interval notations, e.g., 1m30s means synchronization every 1 minute 30 seconds |
kodo-servicemap Component¶
Configuration File Location¶
- Namespace: forethought-kodo
- Configuration Name in Launcher: kodoServiceMap
- Configmap Name in Kubernetes: kodo-servicemap
Configuration File Example¶
...
redis:
host: "r-xxx.redis.rds.xxx.com:6379"
password: "..."
db: 0
asynq_redis:
host: "r-xxxx.redis.rds.xxx.com:6379"
password: "..."
db: 0
...
Detailed Configuration Item Description¶
Configuration Item | Sub-item | Type | Default Value | Description |
---|---|---|---|---|
redis | host | String | '' | Redis address used for data processing, cluster version supported. Note: all Redis configurations related to kodo must be consistent |
asynq_redis | host | String | '' | Redis address used for asynchronous tasks, default uses redis configuration, does not support cluster version, if redis configuration is a cluster version, must configure a non-cluster version of asynq_redis |
kodo-x-scan Component¶
Configuration File Location¶
- Namespace: forethought-kodo
- Configuration Name in Launcher: kodoXScan
- Configmap Name in Kubernetes: kodo-x-scan
Configuration File Example¶
...
redis:
host: "r-xxx.redis.rds.xxx.com:6379"
password: "..."
db: 0
asynq_redis:
host: "r-xxxx.redis.rds.xxx.com:6379"
password: "..."
db: 0
...
Detailed Configuration Item Description¶
Configuration Item | Sub-item | Type | Default Value | Description |
---|---|---|---|---|
redis | host | String | '' | Redis address used for data processing, cluster version supported. Note: all Redis configurations related to kodo must be consistent |
asynq_redis | host | String | '' | Redis address used for asynchronous tasks, default uses redis configuration, does not support cluster version, if redis configuration is a cluster version, must configure a non-cluster version of asynq_redis |
kodo-ws Component¶
Configuration File Location¶
- Namespace: forethought-kodo
- Configuration Name in Launcher: kodoWS
- Configmap Name in Kubernetes: kodo-ws
Configuration File Example¶
...
redis:
host: "r-xxx.redis.rds.xxx.com:6379"
password: "..."
db: 0
asynq_redis:
host: "r-xxxx.redis.rds.xxx.com:6379"
password: "..."
db: 0
...
Detailed Configuration Item Description¶
Configuration Item | Sub-item | Type | Default Value | Description |
---|---|---|---|---|
redis | host | String | '' | Redis address used for data processing, cluster version supported. Note: all Redis configurations related to kodo must be consistent |
asynq_redis | host | String | '' | Redis address used for asynchronous tasks, default uses redis configuration, does not support cluster version, if redis configuration is a cluster version, must configure a non-cluster version of asynq_redis |