userver: component
Loading...
Searching...
No Matches
component
Name Description Default value
blocking_task_processor Deprecated, unused property.
credentials-provider Name of credentials provider component.
operation-settings Default operation settings for requests to the database.
operation-settings.retries Default retries count for an operation. 3
operation-settings.operation-timeout Default operation timeout in utils::StringToDuration() format. 1s
operation-settings.cancel-after Cancel operation after specified string in utils::StringToDuration() format. 1s
operation-settings.client-timeout Default client timeout in utils::StringToDuration format. 1s
operation-settings.get-session-timeout Default session timeout. 5s
databases.* Single database settings.
databases.*.endpoint GRPC endpoint URL, e.g. grpc://localhost:1234.
databases.*.database Full database path, e.g. /ru/service/production/database.
databases.*.credentials.* Credentials config passed to credentials provider component.
databases.*.max_pool_size Maximum connection pool size. 50
databases.*.min_pool_size Minimum connection pool size. 10
databases.*.get_session_retry_limit Retries count to get session, every attempt with a get-session-timeout. 5
databases.*.keep-in-query-cache Whether to use query cache. true
databases.*.prefer_local_dc Prefer making requests to local data center. true
databases.*.sync_start Fail to boot if YDB is not available. true
databases.*.aliases.[] List of aliases for this database. Each of the elements: alias name.
databases.*.by-database-timings-buckets-ms.[] Histogram bounds for by-database timing metrics. Each of the elements: upper bound for an individual bucket. 40 buckets with +20% increment per step
databases.*.by-query-timings-buckets-ms.[] Histogram bounds for by-query timing metrics. Each of the elements: upper bound for an individual bucket. 15 buckets with +100% increment per step