Appearance
Analytics, analyst and helper processes Since v0.2
These sections bound analytics queries, configure the analyst and tune helper processes.
For the structure of the file, see Configuration file. Defaults of limits are also listed in Limits and defaults. A dash in Default means the code sets no default value (the setting is empty or off).
Analytics
| Key | Type | Default | Allowed values / range | Meaning | Guide page |
|---|---|---|---|---|---|
analytics | object | — | — | Bounds on analytics queries. | Analytics settings and limits |
analytics.max_scan_rows | integer | — | — | rows one query may read | Analytics settings and limits |
analytics.max_batch_rows | integer | — | — | rows one batch may read | Analytics settings and limits |
analytics.sample_above_rows | integer | — | — | estimated rows above which a query reads a sample | Analytics settings and limits |
analytics.query_timeout | duration | — | — | time per query | Analytics settings and limits |
analytics.batch_timeout | duration | — | — | time per batch | Analytics settings and limits |
analytics.max_range_traffic | duration | — | — | longest traffic range (also at most the traffic retention) | Analytics settings and limits |
analytics.max_range_events | duration | — | — | longest events range | Analytics settings and limits |
analytics.rollup_min_range | duration | — | — | shortest range answered from the hourly rollups | Analytics settings and limits |
analytics.max_buckets | integer | — | — | buckets per series | Analytics settings and limits |
analytics.max_top_n | integer | — | — | values in a top list | Analytics settings and limits |
analytics.max_concurrent | integer | — | — | queries running at once per node | Analytics settings and limits |
analytics.max_queued | integer | — | — | queries waiting per node | Analytics settings and limits |
analytics.per_user_per_minute | integer | — | — | analytics requests per user per minute | Analytics settings and limits |
analytics.cache_ttl | duration | — | — | how long an answer is reused for repeat views | Analytics settings and limits |
Analyst
| Key | Type | Default | Allowed values / range | Meaning | Guide page |
|---|---|---|---|---|---|
analyst | object | — | — | Group of settings: analyst. | Analyst |
analyst.enabled | boolean | — | — | Turns the feature on or off. | Analyst |
analyst.runtime | string | — | — | runtime is "managed" (this product starts and supervises llama-server) or "external" (a model server the operator runs). | Analyst |
analyst.endpoint | string | — | — | endpoint is where the model server listens: host:port or http://host:port on a loopback address, unix:/absolute/path, or https://host:port together with CAFile. | Analyst |
analyst.model | string | — | — | the model name sent to the endpoint | Analyst |
analyst.ca_file | string | — | — | PEM CA that signs an https endpoint's certificate | Analyst |
analyst.api_key_file | string | — | — | api_key_file (external runtime): a file holding the key the model server wants as a bearer token. | Analyst |
analyst.provider | string | — | — | provider is the id of a provider of the analyst catalog (waap analyst providers). | Analyst |
analyst.cloud | object | — | — | cloud holds the consent for a cloud provider. | Analyst |
analyst.cloud.opt_in | boolean | — | — | opt_in must be true (set by an administrator) before a cloud provider is used. | Analyst |
analyst.managed | object | — | — | Group of settings: managed. | Analyst |
analyst.managed.binary | string | — | — | llama-server | Analyst |
analyst.managed.model_file | string | — | — | GGUF file | Analyst |
analyst.managed.threads | integer | — | — | 0: automatic | Analyst |
analyst.managed.context | integer | — | — | context window in tokens | Analyst |
analyst.limits | object | — | — | Group of settings: limits. | Analyst |
analyst.limits.tool_calls | integer | — | — | Sets tool calls. | Analyst |
analyst.limits.rows | integer | — | — | Sets rows. | Analyst |
analyst.limits.tool_bytes | size | — | — | Sets tool bytes. | Analyst |
analyst.limits.answer_tokens | integer | — | — | Sets answer tokens. | Analyst |
analyst.limits.timeout | duration | — | — | Time allowed before the operation is abandoned. | Analyst |
analyst.limits.tool_timeout | duration | — | — | Sets tool timeout. | Analyst |
analyst.limits.queue | integer | — | — | Sets queue. | Analyst |
analyst.limits.parallel | integer | — | — | Sets parallel. | Analyst |
analyst.digest | object | — | — | Group of settings: digest. | Analyst |
analyst.digest.enabled | boolean | — | — | Turns the feature on or off. | Analyst |
analyst.digest.at | string | — | — | at is the local time of day, HH:MM (24 hours), the digest is written. | Analyst |
analyst.digest.apps | list of string | — | — | apps are the applications to write a digest for; empty: all of them. | Analyst |
Helper processes
| Key | Type | Default | Allowed values / range | Meaning | Guide page |
|---|---|---|---|---|---|
helpers | object | — | — | Helper processes the node starts (for example the XML schema checker). | — |
helpers.xmlcheck | object | — | — | Group of settings: xmlcheck. | — |
helpers.xmlcheck.enabled | boolean | — | — | Turns the feature on or off. | — |
helpers.xmlcheck.binary | string | — | — | empty: next to the waap binary | — |
helpers.xmlcheck.workers | integer | — | — | Sets workers. | — |
helpers.xmlcheck.memory | size | — | — | Sets memory. | — |
helpers.xmlcheck.cpu_seconds | integer | — | — | Sets cpu seconds. | — |
helpers.promptcheck | object | — | — | Group of settings: promptcheck. | — |
helpers.promptcheck.enabled | boolean | — | — | Turns the feature on or off. | — |
helpers.promptcheck.binary | string | — | — | empty: next to the waap binary | — |
helpers.promptcheck.workers | integer | — | — | Sets workers. | — |
helpers.promptcheck.memory | size | — | — | Sets memory. | — |
helpers.promptcheck.cpu_seconds | integer | — | — | Sets cpu seconds. | — |
helpers.promptcheck.model | string | — | — | model directory; empty: DefaultPromptCheckModel | — |
helpers.promptcheck.runtime | string | — | — | ONNX Runtime library; empty: next to the binary, else the system's | — |
helpers.promptcheck.threads | integer | — | — | Sets threads. | — |
Example
yaml
analytics:
query_timeout: 10s
max_concurrent: 4