Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/CONFIGURATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -303,8 +303,9 @@ The providers that web search asks, in order, and the language of the search.

| Option | Type | Default | Environment Variable | Description |
|---|---|---|---|---|
| `providers` | `list` | `['searxng', 'duckduckgo', 'firecrawl']` | `DEVOPS_CLI_SEARCH_PROVIDERS` | The providers of web search, in the order that a search asks them: `searxng`, `duckduckgo` or `firecrawl`. A provider that is not configured is skipped, and `searxng` is skipped until its provider exists (#3927). A search goes to the next provider when one fails or returns no hit, and the first provider with a hit answers |
| `providers` | `list` | `['searxng', 'duckduckgo', 'firecrawl']` | `DEVOPS_CLI_SEARCH_PROVIDERS` | The providers of web search, in the order that a search asks them: `searxng`, `duckduckgo` or `firecrawl`. A provider that is not configured is skipped: `searxng` without `search.searxng_url`, and `firecrawl` without its key. A search goes to the next provider when one fails or returns no hit, and the first provider with a hit answers |
| `language` | `str` | `en` | `DEVOPS_CLI_SEARCH_LANGUAGE` | The language of a web search, as the `Accept-Language` of its request |
| `searxng_url` | `Union` | - | `DEVOPS_CLI_SEARCH_SEARXNG_URL` | Address of the SearXNG service for web search, such as `http://searxng.devops.svc.cluster.local:8080` in the cluster, or `http://127.0.0.1:8080` on a workstation after `kubectl port-forward -n devops svc/searxng 8080:8080`. A cluster address needs `ai.allow_private_network`. It has no default, and `searxng` is skipped without it |

## Top-Level Settings

Expand Down
3 changes: 2 additions & 1 deletion docs/ENV_VARS.md
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,8 @@ All configuration options for `devops-cli` can be overridden via environment var
| `DEVOPS_CLI_RUNS_INDEX_URL` | `runs.index_url` | No | Valkey holding the run index shared by workstations (set by `devops ai runs connect`) |
| `DEVOPS_CLI_SANDBOX_EXCLUDE_HOME_DIR` | `sandbox.exclude_home_dir` | No | Exclude user home directory entirely from sandbox access (/home/**/* and ~/**/*) |
| `DEVOPS_CLI_SEARCH_LANGUAGE` | `search.language` | No | The language of a web search, as the `Accept-Language` of its request |
| `DEVOPS_CLI_SEARCH_PROVIDERS` | `search.providers` | No | The providers of web search, in the order that a search asks them: `searxng`, `duckduckgo` or `firecrawl`. A provider that is not configured is skipped, and `searxng` is skipped until its provider exists (#3927). A search goes to the next provider when one fails or returns no hit, and the first provider with a hit answers |
| `DEVOPS_CLI_SEARCH_PROVIDERS` | `search.providers` | No | The providers of web search, in the order that a search asks them: `searxng`, `duckduckgo` or `firecrawl`. A provider that is not configured is skipped: `searxng` without `search.searxng_url`, and `firecrawl` without its key. A search goes to the next provider when one fails or returns no hit, and the first provider with a hit answers |
| `DEVOPS_CLI_SEARCH_SEARXNG_URL` | `search.searxng_url` | No | Address of the SearXNG service for web search, such as `http://searxng.devops.svc.cluster.local:8080` in the cluster, or `http://127.0.0.1:8080` on a workstation after `kubectl port-forward -n devops svc/searxng 8080:8080`. A cluster address needs `ai.allow_private_network`. It has no default, and `searxng` is skipped without it |
| `DEVOPS_CLI_SERVICE_DRAIN_TIMEOUT_SECONDS` | `service.drain_timeout_seconds` | No | Shutdown drain timeout for running service jobs in seconds |
| `DEVOPS_CLI_SERVICE_GITHUB_APP_APP_ID` | `service.github_app.app_id` | No | ID of the GitHub App that the roadmap Service and the cluster jobs act as |
| `DEVOPS_CLI_SERVICE_GITHUB_APP_INSTALLATION_ID` | `service.github_app.installation_id` | No | ID of the App's installation on the account that owns the managed repositories |
Expand Down
2 changes: 1 addition & 1 deletion docs/TELEMETRY.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ writes by name.
| `devops_cli_github_requests_total` | Counter | `1` | GitHub requests the rate limiter paced, each attempt and retry once, by resource, method, status, repo and row. The resource is the rate limit resource the request spends, such as core, graphql or search. The method is the HTTP method; a GraphQL request is a POST, and a gh command other than gh api is a POST when it writes and a GET when it reads. The status is the HTTP status of the answer, such as 200 or 304. It is none for a gh command or for an attempt that got no answer. The repo is the repository of the roadmap Service worker that sent the request, one of service.repos, and the row is the job row that sent it, such as metrics, intake, refine or alternatives; each is other outside a worker or a row. A gh command and a request of the GitHub session both count. The counter holds every attempt. The request budget of the Service leaves out the attempts with status 304, as GitHub does not count them against its rate limit. |
| `devops_cli_github_throttle_wait_seconds` | Histogram | `s` | Time devops-cli waited before it sent a refused GitHub request again, by resource: one observation for each throttle. GitHub refused the request with a rate limit, or the GitHub session got a 5xx for a read. |
| `devops_cli_github_graphql_points_total` | Counter | `1` | GraphQL points that GitHub reported each answer cost in its rateLimit field. |
| `devops_cli_web_searches_total` | Counter | `1` | Web search attempts, by the provider that ran (the backend, or none) and the result: ok for a provider that returned hits, empty for one that returned none, the HTTP status of a provider that refused the search, such as 402 when the account has no credits or 429 at its rate limit, degraded for a reply that the provider could not read, error for a provider that did not answer, refused for a query that the guard stopped, and exhausted for a search that no provider answered. The backend of the last two is none. |
| `devops_cli_web_searches_total` | Counter | `1` | Web search attempts, by the provider that ran (the backend, or none) and the result: ok for a provider that returned hits, empty for one that returned none, the HTTP status of a provider that refused the search, such as 402 when the account has no credits or 429 at its rate limit, degraded for a reply that the provider could not read, error for a provider that did not answer, refused for a query that the guard stopped or an address that the egress check refused, and exhausted for a search that no provider answered. The backend of the last two is none. |
| `devops_cli_crawl4ai_fetches_total` | Counter | `1` | Page text fetches through the Crawl4AI service, by result: ok, the HTTP status of a fetch that the service refused, such as 401 for a wrong token, 429 at its rate limit or 504 when the page took too long, or error for a fetch that got no answer or a reply that is not page text. A page URL that the client refuses before it sends a request does not count. |
| `devops_cli_roadmap_refine_comments_capped_total` | Counter | `1` | Refine comments that the cap on refine's comments on one item in 24 hours stopped: one count for each newest comment on an item that the cap left with no answer. The item waits on a person and takes no place under the round's limit. A later round that finds no newer comment on the item does not count it again. |
| `devops_cli_roadmap_alternatives_total` | Counter | `1` | Checks of open items for an open tool that covers them, by verdict: covers, partly, none, not-applicable, rejected or in-use. One count for each check that the alternatives job writes to an item. A check that fails, or that the job skips because a person changed the item, counts nothing. |
Expand Down
Loading
Loading