diff --git a/src/content/docs/docs/ai-observability/agent-traces.mdx b/src/content/docs/docs/ai-observability/agent-traces.mdx index dd37ef39..d786bd63 100644 --- a/src/content/docs/docs/ai-observability/agent-traces.mdx +++ b/src/content/docs/docs/ai-observability/agent-traces.mdx @@ -11,13 +11,13 @@ When a trace contains GenAI spans, trace detail adds views for reading the agent The **AI summary** at the top of the trace shows the models the run used, the number of model and tool calls, total tokens (with cached input called out), how the time split between model calls and tool calls, and how many AI spans failed. -![AI summary, AI Flow, and waterfall for an agent trace](./images/llm-overview.png) +![An agent trace with the AI summary, the AI Flow graph of two chat calls with their token counts, and the timeline](./images/llm-overview.png) ## Conversation Select a model or agent span to open the **Conversation** tab. It shows the prompt and response as a transcript, with each message labeled by role (system, user, assistant, or tool) in the order the model saw them. -![The Conversation tab showing an assistant turn calling a tool](./images/llm-conversation.png) +![The Conversation tab for a chat span, with the system prompt collapsed, the user's question, and the assistant's answer marked finish: stop](./images/llm-conversation.png) - **Tool calls** the assistant made appear inline, with the tool name and the arguments the model passed. - **Tool results** show what each tool returned to the model. diff --git a/src/content/docs/docs/ai-observability/ai-observability-interface.mdx b/src/content/docs/docs/ai-observability/ai-observability-interface.mdx index bc89a1f9..730f5621 100644 --- a/src/content/docs/docs/ai-observability/ai-observability-interface.mdx +++ b/src/content/docs/docs/ai-observability/ai-observability-interface.mdx @@ -1,17 +1,17 @@ --- title: "Use AI Observability" -description: "Read the Overview, Traces, and Tools tabs in AI Observability: requests, tokens, estimated cost, error rate, model and agent breakdowns, runs, and tool calls." +description: "Read the Overview, Traces, and Tools views in AI Observability: requests, tokens, estimated cost, error rate, model and agent breakdowns, runs, and tool calls." sidebar: order: 3 --- -Use **Overview** for trends and breakdowns, **Traces** for individual runs, and **Tools** for tool calls. All tabs share one time range, which defaults to the last 24 hours. +Pick a view from the menu on the left: **Overview** for trends and breakdowns, **Traces** for individual runs, and **Tools** for tool calls. All three views share one time range, which defaults to the last 24 hours. ## Overview **Overview** shows how much work your AI apps did in the selected range, what it cost, and how much of it failed. Each tile compares against the previous period of the same length. -![The Overview tab with AI Requests, Token Volume, LLM Calls, Error Rate, Est. Cost, and LLM Latency p95 tiles above the AI Requests, Token Volume, Error Rate, and Est. Cost Over Time charts](./images/ai-observability-overview.png) +![The Overview with AI Requests, Token Volume, LLM Calls, Error Rate, Est. Cost, and LLM Latency p95 tiles above the AI Requests, Token Volume, Error Rate, and Est. Cost Over Time charts](./images/ai-observability-overview.png) | Tile | What it counts | | --- | --- | @@ -38,7 +38,7 @@ A run that spans several intervals counts in each of them, so the bars on the ** ### Models, Providers, and Agents -![The Models, Providers, and Agents tables, with calls, estimated cost, error rate, latency, and token counts for each model and agent](./images/ai-observability-breakdowns.png) +![The Models, Providers, and Agents tables stacked one above the other, with calls, estimated cost, error rate, latency, and token counts for each model, provider host, and agent](./images/ai-observability-breakdowns.png) - **Models** lists the 10 models with the most calls, with each model's provider, LLM calls, estimated cost, error rate, p95 latency, and input and output tokens. Models that report reasoning tokens also get a **Reasoning** column. The same model served by two providers, for example `gpt-4o-mini` through OpenAI and through OpenRouter, appears as two rows. - **Providers** groups LLM calls by provider and API host. The host tells you when calls go through a gateway: a call with provider `openai` and host `openrouter.ai` was sent to OpenRouter with an OpenAI model. @@ -48,7 +48,7 @@ A run that spans several intervals counts in each of them, so the bars on the ** **Traces** lists the runs in the selected range, newest first. Filter the list by model with **All Models**, or select **Errors** to show only runs with a failed span. -![The Traces tab listing agent turns and chat requests with their models, steps, tokens, estimated cost, and a Cut off run](./images/ai-observability-traces.png) +![Traces listing Claude Code turns and chat requests with their models, steps, tokens, and estimated cost, with the newest run still Running](./images/ai-observability-traces.png) | Column | Shows | | --- | --- | @@ -89,7 +89,7 @@ A run that hasn't finished shows its status under **Duration**. For a relative t **Tools** lists the tools your agents called in the range, with each tool's type, call count, error rate, and p95 latency. Filter by type with **All Tool Types**. -![The Tools tab listing local, extension, datastore, and MCP tools with their calls, error rate, and p95 latency](./images/ai-observability-tools.png) +![Tools listing local and MCP tools with their server names, calls, error rate, and p95 latency](./images/ai-observability-tools.png) | Type | Meaning | | --- | --- | @@ -104,7 +104,7 @@ The same tool name can appear on more than one row. For example, a `get_weather` ### Tool detail -![The tool detail drawer for create_ticket, with call and latency charts, the agents that used it, error types, and the latest failing calls with their arguments and results](./images/ai-observability-tool-detail.png) +![The tool detail drawer for the navigate MCP tool, with call and latency charts, the agents that used it, error types, and the latest failing calls with their arguments and results](./images/ai-observability-tool-detail.png) Select a tool to see its calls and errors over time, along with: diff --git a/src/content/docs/docs/ai-observability/images/ai-observability-breakdowns.png b/src/content/docs/docs/ai-observability/images/ai-observability-breakdowns.png index ef6ba1c5..06c9abf1 100644 Binary files a/src/content/docs/docs/ai-observability/images/ai-observability-breakdowns.png and b/src/content/docs/docs/ai-observability/images/ai-observability-breakdowns.png differ diff --git a/src/content/docs/docs/ai-observability/images/ai-observability-overview.png b/src/content/docs/docs/ai-observability/images/ai-observability-overview.png index 097d320f..c369dc36 100644 Binary files a/src/content/docs/docs/ai-observability/images/ai-observability-overview.png and b/src/content/docs/docs/ai-observability/images/ai-observability-overview.png differ diff --git a/src/content/docs/docs/ai-observability/images/ai-observability-tool-detail.png b/src/content/docs/docs/ai-observability/images/ai-observability-tool-detail.png index c81ec1c2..c1baabc2 100644 Binary files a/src/content/docs/docs/ai-observability/images/ai-observability-tool-detail.png and b/src/content/docs/docs/ai-observability/images/ai-observability-tool-detail.png differ diff --git a/src/content/docs/docs/ai-observability/images/ai-observability-tools.png b/src/content/docs/docs/ai-observability/images/ai-observability-tools.png index 86058896..cac75237 100644 Binary files a/src/content/docs/docs/ai-observability/images/ai-observability-tools.png and b/src/content/docs/docs/ai-observability/images/ai-observability-tools.png differ diff --git a/src/content/docs/docs/ai-observability/images/ai-observability-traces.png b/src/content/docs/docs/ai-observability/images/ai-observability-traces.png index 432c510f..be8cd373 100644 Binary files a/src/content/docs/docs/ai-observability/images/ai-observability-traces.png and b/src/content/docs/docs/ai-observability/images/ai-observability-traces.png differ diff --git a/src/content/docs/docs/ai-observability/images/llm-conversation.png b/src/content/docs/docs/ai-observability/images/llm-conversation.png index cb737d2d..513ac6a5 100644 Binary files a/src/content/docs/docs/ai-observability/images/llm-conversation.png and b/src/content/docs/docs/ai-observability/images/llm-conversation.png differ diff --git a/src/content/docs/docs/ai-observability/images/llm-overview.png b/src/content/docs/docs/ai-observability/images/llm-overview.png index c5faec82..9242e7c6 100644 Binary files a/src/content/docs/docs/ai-observability/images/llm-overview.png and b/src/content/docs/docs/ai-observability/images/llm-overview.png differ diff --git a/src/content/docs/docs/ai-observability/index.mdx b/src/content/docs/docs/ai-observability/index.mdx index bb13d61a..e098b970 100644 --- a/src/content/docs/docs/ai-observability/index.mdx +++ b/src/content/docs/docs/ai-observability/index.mdx @@ -10,13 +10,13 @@ AI Observability gives you end-to-end visibility into the LLM applications and a It's built on the OpenTelemetry GenAI semantic conventions, so any app or agent that exports GenAI traces shows up here, whichever framework or model provider it uses. You don't need a proprietary SDK. -Open it from **AI Observability** in the sidebar: +Open it from **AI Observability** in the sidebar, then pick a view from the menu on the left: - **Overview** tracks requests, token volume, estimated cost, error rate, and latency over time, with breakdowns by model, provider, and agent. - **Traces** lists each agent run with its models, steps, tokens, and cost. Select a run to open its trace. - **Tools** reports how often each tool is called, how often it fails, and how long it takes, for both local functions and MCP tools. -![The AI Observability Overview tab with request, token, LLM call, error rate, cost, and latency tiles above trend charts](./images/ai-observability-overview.png) +![The AI Observability Overview, with the Overview, Traces, and Tools menu on the left and request, token, LLM call, error rate, cost, and latency tiles above trend charts](./images/ai-observability-overview.png) ## What KloudMate does with your traces diff --git a/src/content/docs/docs/alerts/alert-groups.mdx b/src/content/docs/docs/alerts/alert-groups.mdx index 929cb388..7fce2e13 100644 --- a/src/content/docs/docs/alerts/alert-groups.mdx +++ b/src/content/docs/docs/alerts/alert-groups.mdx @@ -18,9 +18,9 @@ You choose the mode per routing rule; see [Routing Rules](../routing-rules/#aler ## Where to find groups -Open **Alerts**, which starts on the **Groups** tab: the workspace-wide view of every group, firing or resolved. +Open **Alerts**, which starts on the **Groups** page: the workspace-wide view of every group, firing or resolved. -![The Groups tab: the All, Firing, and Resolved filter, the Routing rule filter, the search box, and the group list](./images/alert-groups-list.png) +![The Groups page: the All, Firing, and Resolved filter, the Routing rule filter, the search box, and the group list](./images/alert-groups-list.png) Above the list, a summary shows how many groups are firing and how many are resolved, such as **6 Firing, 130 Resolved**. @@ -96,7 +96,7 @@ When an investigation is attached, a **Root cause analysis** card appears under This is the manual trigger. To investigate every group a rule opens automatically instead, enable [Auto-RCA](../auto-rca/) on the routing rule. The result appears in the same card and under **View RCA**. -![View RCA drawer with the root-cause summary and a View full investigation link](./images/alert-group-rca-drawer.png) +![The Root cause analysis drawer with the investigation title, a one-line headline, the overview, and the findings](./images/alert-group-rca-drawer.png) ### Affected resources @@ -130,7 +130,7 @@ Each tab shows how many items it holds, such as **Instances (7)**. - **Notifications:** every notification sent for the group, reminders included, with each channel's result and a link to where it landed: the Slack thread, the Jira ticket, the KloudMate Incidents incident, and so on. - **Audit:** a timeline of the group's history, from when it opened to when it resolved. It records each notification and reminder sent, notifications suppressed by a silence or skipped, and investigations. For Auto-correlated groups, it also logs when the engine opened the group and when it correlated each alert. -![The Audit tab of an alert group: a timeline from the group opening through each notification sent, including a reminder and a new instance](./images/alert-group-audit-tab.png) +![The Audit tab of an alert group: a timeline of notifications sent, alerts correlated into the group, and a manual AI investigation](./images/alert-group-audit-tab.png) ### Instances diff --git a/src/content/docs/docs/alerts/auto-rca.mdx b/src/content/docs/docs/alerts/auto-rca.mdx index c7be0441..10f396b7 100644 --- a/src/content/docs/docs/alerts/auto-rca.mdx +++ b/src/content/docs/docs/alerts/auto-rca.mdx @@ -22,7 +22,7 @@ When the investigation completes, its summary attaches to the group: Auto-RCA runs only once per alert group, when the group is first opened. Alerts that later join an existing group (for example, a Memory alert folding into a group that a CPU alert already opened) do **not** trigger a new investigation. Those alerts still send the usual group-transition notifications, but Auto-RCA doesn't generate an additional report for them. ::: -![View RCA drawer with the root-cause summary and a View full investigation link](./images/auto-rca-single-investigation.png) +![The Root cause analysis drawer with the investigation title, a one-line headline, the overview, and the findings](./images/auto-rca-single-investigation.png) ## Enable Auto-RCA on a routing rule diff --git a/src/content/docs/docs/alerts/create-alerts.mdx b/src/content/docs/docs/alerts/create-alerts.mdx index b7c2ba32..7b943add 100644 --- a/src/content/docs/docs/alerts/create-alerts.mdx +++ b/src/content/docs/docs/alerts/create-alerts.mdx @@ -11,21 +11,21 @@ An alert watches a query, evaluates a condition, and when the condition holds lo Open **Alerts → Rules**. -![The Rules tab listing alert rules with their state, name, and description](./images/setting-up-kloudmate-alarms-1.png) +![The Rules page listing alert rules with their state, name, and description](./images/setting-up-kloudmate-alarms-1.png) -The **Rules** tab lists your alert rules with their current state, name, and description. You can group rules into [Folders](../folders/). Select a rule's name to open it. +The **Rules** page lists your alert rules with their current state, name, and description. You can group rules into [Folders](../folders/). Select a rule's name to open it. From the **more options (⋯)** icon on any rule, you can: - **Edit** the rule configuration - **Duplicate** the rule - **Move to folder…** to move the rule into a different [folder](../folders/) -- **Export as JSON** to copy the rule into another workspace. See [Export and Import Alerts](../export-and-import/) +- **Export…** to copy the rule into another workspace as YAML. See [Export and Import Alerts](../export-and-import/) - **State history** to see the rule's past state changes - **Pause Evaluation** or **Pause Notifications** - **Delete** the rule -![A rule's more options menu with Edit, Duplicate, Move to folder, Export as JSON, State history, Resume Evaluation, Pause Notifications, and Delete](./images/setting-up-kloudmate-alarms-1.jpeg) +![A rule's more options menu with Edit, Duplicate, Move to folder, Export, State history, Resume Evaluation, Pause Notifications, and Delete](./images/setting-up-kloudmate-alarms-1.jpeg) **Pause Notifications** creates a temporary [silence](../silences/) scoped to this alert: the rule keeps evaluating, but KloudMate suppresses its notifications until the silence expires. While it's paused, the rule is marked **Silenced**; view or end the pause from **Alerts → Silences**. Add matchers to limit it to specific instances. @@ -50,7 +50,7 @@ Instead of building an alert from scratch, start from a pre-configured template ![Template selection dropdown](./images/from-template-dropdown.png) -3. Click **Create Alert**. The rule is saved right away and appears on the **Rules** tab. +3. Click **Create Alert**. The rule is saved right away and appears on the **Rules** page. 4. To configure it, click the menu next to the rule and select **Edit**. 5. The alert opens pre-configured with the query, aggregation, and threshold from the template. Review it and adjust any filters to match your environment. 6. Click **Save** or **Save & Close** when you're done. @@ -92,7 +92,7 @@ Simple mode puts the whole rule on one page. 3. In **Evaluation settings**, pick a folder and set how the rule is evaluated. The fields are described in [Configure evaluation settings](#2-configure-evaluation-settings). 4. In **Alert details**, enter an **Alert name** and a description. Expand **Responder context** to add annotations such as a severity, a title, or a summary. See [Add alert details](#3-add-alert-details). 5. Expand **Labels** and add the labels you want routing rules to match on. See [Notifications](#4-notifications). -6. Click **Save**, or **Save & Close** to save and return to the **Rules** tab. +6. Click **Save**, or **Save & Close** to save and return to the **Rules** page. ### Choose a detection method @@ -252,7 +252,7 @@ If you're migrating a rule that used notification tags, it keeps working; routin ### 5. Save the alert -Click **Save** to save the alert, or **Save & Close** to save it and return to the **Rules** tab. +Click **Save** to save the alert, or **Save & Close** to save it and return to the **Rules** page. If a field is missing or invalid, its message appears on the field, and the first one scrolls into view. Each message clears as soon as you fix the field. Problems with the rule as a whole, such as a rule with no condition expression or a step that reads a step that doesn't exist, appear as a toast. @@ -276,7 +276,7 @@ The pre-filled values aren't kept if you reload the editor before saving. ## Viewing an alert -To open an alert, select its name on the **Rules** tab. The detail page has these tabs: +To open an alert, select its name on the **Rules** page. The detail page has these tabs: - **Overview:** instance states, breaching instances with their labels, reason, and duration, plus recent state transitions. - **Instances:** the full list of alert instances and their current states. diff --git a/src/content/docs/docs/alerts/export-and-import.mdx b/src/content/docs/docs/alerts/export-and-import.mdx index 247f7e94..a64324eb 100644 --- a/src/content/docs/docs/alerts/export-and-import.mdx +++ b/src/content/docs/docs/alerts/export-and-import.mdx @@ -1,63 +1,42 @@ --- title: "Export and Import Alerts" -description: "Copy alert rules into another workspace by exporting them as JSON and pasting them in." +description: "Copy alert rules and alert folders into another workspace by exporting them as YAML and importing the file." sidebar: order: 2.8 --- -Alert rules can be exported as JSON and moved between workspaces. Export a single rule or an entire folder, then paste it into another workspace to reuse the same rules across staging and production, or quickly create a new workspace from an existing setup. - -Importing creates new rules, so it requires the same permission as creating an alert rule by hand. +Alert rules and alert folders can be exported as YAML and imported into another workspace. Use it to reuse the same rules across staging and production, or to set up a new workspace from an existing one. Alerts use the same export and import as dashboards and workflows, described in [Config as code](../../platform/config-as-code/). ## Export a rule or a folder -To export a single rule, go to **Alerts → Rules**, open the **more options (⋯)** menu on the rule's row, and select **Export as JSON**. - -To export an entire folder, switch the **Rules** tab to **Folder view**, open the folder header's kebab menu, and select **Export alerts as JSON**. The export includes every rule in the folder, including any that the search box or state filter is hiding. - -## What is not copied +To export a single rule, go to **Alerts → Rules**, open the **more options (⋯)** menu on the rule's row, and select **Export…**. -The export carries the rule's definition: name, description, queries, condition, evaluation and recovery periods, tags, and annotations. Some parts of a rule belong to the workspace it came from and are not copied: +To export an entire folder, switch the **Rules** page to **Folder view**, open the folder header's kebab menu, and select **Export…**. The export includes every rule in the folder, including any that the search box or state filter is hiding. -- **The folder.** Imported rules arrive ungrouped. -- **The Dashboard and Panel links.** They point at a dashboard in the source workspace, so select a dashboard in the destination after importing. -- **Smart Alerts ownership.** A rule exported from [Smart Alerts](../smart-alerts/) imports as an ordinary rule, and the detector that created it no longer manages the copy. - -A rule that inherited its evaluation interval, no-data state, or eval-error state from a folder continues to inherit after the import. Until it's moved into a folder in the destination workspace, it falls back to the system defaults. See [Folders](../folders/#inheritance-and-overrides). - -A rule that was paused when it was exported stays paused after the import. +Click **Copy** or **Download** to get the YAML file. ## Import rules into a workspace -1. Open **Alerts** in the destination workspace. -2. Click **Import JSON** and paste the exported JSON. -3. If the rules query AWS, select an account. -4. Click **Import**. - -The import doesn't check for rules that already exist in the destination, so importing the same JSON twice creates a duplicate of every rule. - -### AWS queries need an account in the destination - -An AWS account connects to KloudMate exactly once, so the account an exported rule refers to will never exist in the destination workspace. Rules that query CloudWatch have to be pointed at an account in the workspace they're imported into: - -- **One account in the workspace:** the rules are bound to it automatically. -- **Several accounts:** select which one to use before importing. -- **No account connected:** the rules are imported **paused**. Connect an account, point each rule at it, then resume evaluation. - -Region, namespace, and dimensions are copied unchanged, so they still refer to resources in the source account. Review and update them after importing. - -### Retry a partial import +1. Open **Alerts** in the destination workspace and click **Import**. +2. Paste the exported YAML, or click **Choose file**. +3. Click **Check** to see what each rule would create or update. +4. If a rule queries an AWS account that isn't found in this workspace, select one from the **Pick a match** list. +5. Click **Apply**. -An import that fails partway through keeps the rules it already created, and a retry sends only the ones that failed. The usual cause is the plan's alert rule limit, in which case the rules that fit are created and the rest are reported by name. +## What carries over -## Edit the JSON before importing +- **The folder.** A rule lands in a folder with the same name, and the import creates the folder if the destination doesn't have one. A folder export also carries the folder's defaults. A single rule's export carries only the folder's name, so a folder the import creates for it starts with the system defaults. See [Folders](../folders/#inheritance-and-overrides). +- **The paused state.** A rule that was paused when it was exported stays paused after the import. +- **The AWS account.** A rule binds to the account with the same account number, or to the only account the destination has. +- **The Dashboard link.** It's kept when the linked dashboard came from the same workspace, for example when you import the dashboard along with the rule. Otherwise the import drops the link. +- **Existing rules.** Importing a rule that already exists in the destination updates it, so importing the same file twice doesn't create duplicates. -The export is plain text, so you can edit it before importing. Delete entries from the `alerts` array to import a subset, or rename rules to avoid name collisions with rules already in the destination. The import also accepts a bare array of alerts or a single alert object, so a fragment copied from a larger export works on its own. +A rule whose AWS account has no match is imported disabled. Point it at an account and resume evaluation. Region, namespace, and dimensions are copied unchanged, so review them if the destination account's resources differ. -An export created by a newer version of KloudMate can't be imported. +[Smart Alerts](../smart-alerts/) rules aren't exported. Alerts JSON files from the earlier export can't be imported, so export the rules again. ## Related +- [Config as code](../../platform/config-as-code/): the shared export and import, and the kmctl CLI for keeping rules in git. - [Creating Alerts](../create-alerts/): building a rule from scratch, from a template, or with AI. -- [Folders](../folders/): grouping imported rules and giving them shared defaults. -- [Smart Alerts](../smart-alerts/): curated detectors that create and maintain rules for you. +- [Folders](../folders/): grouping rules and giving them shared defaults. diff --git a/src/content/docs/docs/alerts/expressions.mdx b/src/content/docs/docs/alerts/expressions.mdx index bf21ff69..25c5a394 100644 --- a/src/content/docs/docs/alerts/expressions.mdx +++ b/src/content/docs/docs/alerts/expressions.mdx @@ -21,7 +21,7 @@ Alert expressions support these operations: A math expression takes the time series or numbers returned by a query or expression and transforms them with mathematical operations or functions. -![image](./images/expressions-1.png) +![An expression block set to Math expression, with an empty expression field](./images/expressions-1.png) **Input:** any mathematical operation to apply to the data returned from other queries or expressions. Reference queries and expressions by their letter, prefixed with a dollar sign, for example `$A`. @@ -96,11 +96,11 @@ Reduce takes the time series or numbers returned by a query or expression and tu - **Reduction function:** select the function to apply: `mean()`, `max()`, `min()`, `sum()`, `last()`, or `count()`. -![image](./images/expressions-2.png) +![The Reduce function dropdown with LAST, MEAN, MAX, MIN, SUM, and COUNT](./images/expressions-2.png) - **Input:** select the query or expression to reduce by its letter. -![image](./images/expressions-3.png) +![The Reduce Input dropdown listing the queries and expressions A and C](./images/expressions-3.png) The reduction function aggregates the values of the query or expression into a single value. @@ -110,19 +110,19 @@ A condition expression takes the time series or numbers returned by queries or e - **WHEN:** select the reduction function: `last()`, `mean()`, `max()`, `min()`, `sum()`, or `count()`. -![image](./images/expressions-4.png) +![The Condition expression WHEN dropdown with the reduction functions](./images/expressions-4.png) - **OF:** select the query or expression by its letter (for example, A or C). -![image](./images/expressions-5.png) +![The Condition expression OF dropdown listing A and C](./images/expressions-5.png) -- **Condition string:** select the comparison: `IS ABOVE`, `IS SAME OR ABOVE`, `IS BELOW`, or `IS SAME OR BELOW`. +- **Condition string:** select the comparison: `IS ABOVE`, `IS SAME OR ABOVE`, `IS BELOW`, `IS SAME OR BELOW`, `IS EQUAL TO`, or `IS NOT EQUAL TO`. -![image](./images/expressions-6.png) +![The Condition expression comparison dropdown with IS ABOVE through IS NOT EQUAL TO](./images/expressions-6.png) - **Threshold:** enter the numeric value to evaluate the condition against. -![image](./images/expressions-7.png) +![A complete condition: WHEN COUNT OF A IS ABOVE a threshold of 0](./images/expressions-7.png) KloudMate reduces the query or expression to a single value, then compares it against the threshold using the condition you chose. When the input is a collection of time series or numbers, it reduces each element individually, evaluates each reduced output against the condition, and combines the results with AND. @@ -132,16 +132,16 @@ Add more conditions with the **Add condition** button, and choose how they combi Nodes represent the individual queries or expressions used to build alerts and dashboards. A node's ID is its name. KloudMate names nodes with a letter by default (for example, A, B, or C), based on the order they were created. -![image](./images/expressions-8.png) +![A query node header with its default name, A, highlighted](./images/expressions-8.png) You reference a node by its name in other queries and expressions. -![image](./images/expressions-9.png) +![A Math expression field with its example placeholder highlighted](./images/expressions-9.png) To rename a node, edit its name in the node header. A name can contain letters, numbers, underscores, and spaces, and it must be unique within the alert or panel. Renaming a node updates every reference to it, including math expressions, the **Input** of a Reduce, the **OF** of a condition, and the alert condition. -![image](./images/expressions-10.png) +![A query node renamed to CPU usage in the node header](./images/expressions-10.png) If a node name includes spaces, enclose it in **${}** when you reference it. For example: `${CPU usage}` -![image](./images/expressions-11.png) +![A Math expression that references nodes with spaces in their names, CPU usage divided by CPU Limit](./images/expressions-11.png) diff --git a/src/content/docs/docs/alerts/folders.mdx b/src/content/docs/docs/alerts/folders.mdx index c9a026f7..d8a81cd8 100644 --- a/src/content/docs/docs/alerts/folders.mdx +++ b/src/content/docs/docs/alerts/folders.mdx @@ -9,9 +9,9 @@ Folders organize related alert rules and let member rules inherit shared evaluat On **Alerts → Rules**, switch between a flat **List view** and a grouped **Folder view**. In Folder view, rules are grouped under their folder, and rules without one appear under **Ungrouped**. Rules that [Smart Alerts](../smart-alerts/) manages appear under **Smart Alerts** until you move them into a folder. -![The Rules tab in Folder view, with rules grouped under their folders](./images/alerts-folder-view.png) +![The Rules page in Folder view, with rules grouped under their folders](./images/alerts-folder-view.png) -There's no separate Folders page. You manage folders from the **Rules** tab and the rule editor. +There's no separate Folders page. You manage folders from the **Rules** page and the rule editor. ## Create a folder @@ -22,22 +22,22 @@ You create folders inline from the alert rule editor's **Folder** picker; there' 3. Type a new folder name, then select the `+ Create ""` option that appears. 4. KloudMate creates the folder and assigns the current rule to it. 5. Save the rule. A folder appears in Folder view only after it contains at least one saved rule. -6. To set folder defaults, switch to **Folder view** on the **Rules** tab, open the folder's kebab menu, and select **Edit folder**. +6. To set folder defaults, switch to **Folder view** on the **Rules** page, open the folder's kebab menu, and select **Edit folder**. ## Edit folder defaults -In Folder view, each folder header row has a kebab menu with **Edit folder**, **Export alerts as JSON**, and **Delete folder**. +In Folder view, each folder header row has a kebab menu with **Edit folder**, **Export…**, and **Delete folder**. **Edit folder** opens a dialog with the folder's settings: -![Folder defaults dialog](./images/folder-edit-dialog.png) +![The Edit folder dialog with the name, description, and folder defaults](./images/folder-edit-dialog.png) | Field | What it controls | |---|---| | **Name** | Required, unique within the workspace. | | **Description** | Optional. | | **Evaluate every** | Default evaluation interval (for example `60s`, `1m`, or `2h`). Members inherit when blank. | -| **No data state** | Default state when queries return no data. Options: **Alerting**, **Normal**, **No Data**, or **Error**. | +| **No data state** | Default state when queries return no data. Options: **Firing**, **Normal**, **No Data**, or **Error**. | | **Eval error state** | Default state when evaluation errors out. Options: **Alerting**, **Normal**, **No Data**, or **Error**. | | **Instance stops reporting** | Whether members alert when an instance stops reporting. Options: **Alert** or **Don't alert**. **Alert** also needs **No data state** set to **Alerting**, on the folder or on each member rule. See [Instance Absence Detection](../instance-absence-detection/). | | **Auto-close after** | How long a silent instance stays tracked before it closes on its own, from `5m` to `72h` (for example `30m` or `24h`). | @@ -46,12 +46,12 @@ Member alerts inherit these defaults unless they set their own value. Leave a fo ## Move rules into a folder -You move rules one at a time, from the **Rules** tab or from the rule editor: +You move rules one at a time, from the **Rules** page or from the rule editor: -- **From the Rules tab:** open the rule's more options (⋯) menu and select **Move to folder…**. Choose a folder or **Ungrouped**, then click **Move**. +- **From the Rules page:** open the rule's more options (⋯) menu and select **Move to folder…**. Choose a folder or **Ungrouped**, then click **Move**. - **From the rule editor:** open the rule, pick the folder from the **Folder** dropdown in the **Configure evaluation settings** section, and save the rule. -![Move to folder dialog](./images/move-to-folder-dialog.png) +![The Move to folder dialog with a folder selected](./images/move-to-folder-dialog.png) Moving a rule does **not** rewrite its own **Evaluate every**, **No data state**, or **Eval error state** values. Whatever the rule had before the move stays. The folder defaults only apply where the rule's field is blank. diff --git a/src/content/docs/docs/alerts/images/absence-detection-settings.png b/src/content/docs/docs/alerts/images/absence-detection-settings.png index b8e3afe7..d35df833 100644 Binary files a/src/content/docs/docs/alerts/images/absence-detection-settings.png and b/src/content/docs/docs/alerts/images/absence-detection-settings.png differ diff --git a/src/content/docs/docs/alerts/images/advanced-mode-options.png b/src/content/docs/docs/alerts/images/advanced-mode-options.png index 52d66d78..49c0fec6 100644 Binary files a/src/content/docs/docs/alerts/images/advanced-mode-options.png and b/src/content/docs/docs/alerts/images/advanced-mode-options.png differ diff --git a/src/content/docs/docs/alerts/images/alarm-detail-overview.png b/src/content/docs/docs/alerts/images/alarm-detail-overview.png index 35d7a40e..85806c10 100644 Binary files a/src/content/docs/docs/alerts/images/alarm-detail-overview.png and b/src/content/docs/docs/alerts/images/alarm-detail-overview.png differ diff --git a/src/content/docs/docs/alerts/images/alert-group-audit-tab.png b/src/content/docs/docs/alerts/images/alert-group-audit-tab.png index 6f6e0e22..74ebe7d0 100644 Binary files a/src/content/docs/docs/alerts/images/alert-group-audit-tab.png and b/src/content/docs/docs/alerts/images/alert-group-audit-tab.png differ diff --git a/src/content/docs/docs/alerts/images/alert-group-detail.png b/src/content/docs/docs/alerts/images/alert-group-detail.png index 2fe7ace7..b3d0e10a 100644 Binary files a/src/content/docs/docs/alerts/images/alert-group-detail.png and b/src/content/docs/docs/alerts/images/alert-group-detail.png differ diff --git a/src/content/docs/docs/alerts/images/alert-group-rca-drawer.png b/src/content/docs/docs/alerts/images/alert-group-rca-drawer.png index 2aa6f734..8a181a9e 100644 Binary files a/src/content/docs/docs/alerts/images/alert-group-rca-drawer.png and b/src/content/docs/docs/alerts/images/alert-group-rca-drawer.png differ diff --git a/src/content/docs/docs/alerts/images/alert-group-related.png b/src/content/docs/docs/alerts/images/alert-group-related.png index fecfdad3..fb5269c2 100644 Binary files a/src/content/docs/docs/alerts/images/alert-group-related.png and b/src/content/docs/docs/alerts/images/alert-group-related.png differ diff --git a/src/content/docs/docs/alerts/images/alert-groups-list.png b/src/content/docs/docs/alerts/images/alert-groups-list.png index 554a20d6..3f9781d8 100644 Binary files a/src/content/docs/docs/alerts/images/alert-groups-list.png and b/src/content/docs/docs/alerts/images/alert-groups-list.png differ diff --git a/src/content/docs/docs/alerts/images/alerts-folder-view.png b/src/content/docs/docs/alerts/images/alerts-folder-view.png index 5a7ff6bd..40c13416 100644 Binary files a/src/content/docs/docs/alerts/images/alerts-folder-view.png and b/src/content/docs/docs/alerts/images/alerts-folder-view.png differ diff --git a/src/content/docs/docs/alerts/images/alerts-history-tab.png b/src/content/docs/docs/alerts/images/alerts-history-tab.png index 860e7623..5ab0c3d5 100644 Binary files a/src/content/docs/docs/alerts/images/alerts-history-tab.png and b/src/content/docs/docs/alerts/images/alerts-history-tab.png differ diff --git a/src/content/docs/docs/alerts/images/annotation-template-editor.png b/src/content/docs/docs/alerts/images/annotation-template-editor.png index 56509ed1..6f02a6b7 100644 Binary files a/src/content/docs/docs/alerts/images/annotation-template-editor.png and b/src/content/docs/docs/alerts/images/annotation-template-editor.png differ diff --git a/src/content/docs/docs/alerts/images/auto-rca-single-investigation.png b/src/content/docs/docs/alerts/images/auto-rca-single-investigation.png index 1dce80c4..b9e77422 100644 Binary files a/src/content/docs/docs/alerts/images/auto-rca-single-investigation.png and b/src/content/docs/docs/alerts/images/auto-rca-single-investigation.png differ diff --git a/src/content/docs/docs/alerts/images/create-alarm-dialog.png b/src/content/docs/docs/alerts/images/create-alarm-dialog.png index ffdcc192..062544c0 100644 Binary files a/src/content/docs/docs/alerts/images/create-alarm-dialog.png and b/src/content/docs/docs/alerts/images/create-alarm-dialog.png differ diff --git a/src/content/docs/docs/alerts/images/custom-notification-title.png b/src/content/docs/docs/alerts/images/custom-notification-title.png index 163dd70a..00f57961 100644 Binary files a/src/content/docs/docs/alerts/images/custom-notification-title.png and b/src/content/docs/docs/alerts/images/custom-notification-title.png differ diff --git a/src/content/docs/docs/alerts/images/detection-method-anomaly.png b/src/content/docs/docs/alerts/images/detection-method-anomaly.png index bc8398d6..42ec8348 100644 Binary files a/src/content/docs/docs/alerts/images/detection-method-anomaly.png and b/src/content/docs/docs/alerts/images/detection-method-anomaly.png differ diff --git a/src/content/docs/docs/alerts/images/detection-method-forecast.png b/src/content/docs/docs/alerts/images/detection-method-forecast.png index 247becc7..cc3e0958 100644 Binary files a/src/content/docs/docs/alerts/images/detection-method-forecast.png and b/src/content/docs/docs/alerts/images/detection-method-forecast.png differ diff --git a/src/content/docs/docs/alerts/images/expressions-1.png b/src/content/docs/docs/alerts/images/expressions-1.png index 827a8209..c1a7abc7 100644 Binary files a/src/content/docs/docs/alerts/images/expressions-1.png and b/src/content/docs/docs/alerts/images/expressions-1.png differ diff --git a/src/content/docs/docs/alerts/images/expressions-10.png b/src/content/docs/docs/alerts/images/expressions-10.png index b4f97a5c..f4bf3fad 100644 Binary files a/src/content/docs/docs/alerts/images/expressions-10.png and b/src/content/docs/docs/alerts/images/expressions-10.png differ diff --git a/src/content/docs/docs/alerts/images/expressions-11.png b/src/content/docs/docs/alerts/images/expressions-11.png index dd9b867d..b6039a24 100644 Binary files a/src/content/docs/docs/alerts/images/expressions-11.png and b/src/content/docs/docs/alerts/images/expressions-11.png differ diff --git a/src/content/docs/docs/alerts/images/expressions-2.png b/src/content/docs/docs/alerts/images/expressions-2.png index 1181ceb0..f36a9898 100644 Binary files a/src/content/docs/docs/alerts/images/expressions-2.png and b/src/content/docs/docs/alerts/images/expressions-2.png differ diff --git a/src/content/docs/docs/alerts/images/expressions-3.png b/src/content/docs/docs/alerts/images/expressions-3.png index 9258134d..e54879c7 100644 Binary files a/src/content/docs/docs/alerts/images/expressions-3.png and b/src/content/docs/docs/alerts/images/expressions-3.png differ diff --git a/src/content/docs/docs/alerts/images/expressions-4.png b/src/content/docs/docs/alerts/images/expressions-4.png index 143db687..19731938 100644 Binary files a/src/content/docs/docs/alerts/images/expressions-4.png and b/src/content/docs/docs/alerts/images/expressions-4.png differ diff --git a/src/content/docs/docs/alerts/images/expressions-5.png b/src/content/docs/docs/alerts/images/expressions-5.png index 9120cc8a..cdb4f8c3 100644 Binary files a/src/content/docs/docs/alerts/images/expressions-5.png and b/src/content/docs/docs/alerts/images/expressions-5.png differ diff --git a/src/content/docs/docs/alerts/images/expressions-6.png b/src/content/docs/docs/alerts/images/expressions-6.png index 4ed4980f..b2e91bfc 100644 Binary files a/src/content/docs/docs/alerts/images/expressions-6.png and b/src/content/docs/docs/alerts/images/expressions-6.png differ diff --git a/src/content/docs/docs/alerts/images/expressions-7.png b/src/content/docs/docs/alerts/images/expressions-7.png index 9f5da527..99fa638c 100644 Binary files a/src/content/docs/docs/alerts/images/expressions-7.png and b/src/content/docs/docs/alerts/images/expressions-7.png differ diff --git a/src/content/docs/docs/alerts/images/expressions-8.png b/src/content/docs/docs/alerts/images/expressions-8.png index 71cc0f78..dd1cd188 100644 Binary files a/src/content/docs/docs/alerts/images/expressions-8.png and b/src/content/docs/docs/alerts/images/expressions-8.png differ diff --git a/src/content/docs/docs/alerts/images/expressions-9.png b/src/content/docs/docs/alerts/images/expressions-9.png index bfed9eb9..8addbb77 100644 Binary files a/src/content/docs/docs/alerts/images/expressions-9.png and b/src/content/docs/docs/alerts/images/expressions-9.png differ diff --git a/src/content/docs/docs/alerts/images/folder-edit-dialog.png b/src/content/docs/docs/alerts/images/folder-edit-dialog.png index 889baa7c..62c80ab2 100644 Binary files a/src/content/docs/docs/alerts/images/folder-edit-dialog.png and b/src/content/docs/docs/alerts/images/folder-edit-dialog.png differ diff --git a/src/content/docs/docs/alerts/images/from-template-dropdown.png b/src/content/docs/docs/alerts/images/from-template-dropdown.png index 662c6c48..868e01f3 100644 Binary files a/src/content/docs/docs/alerts/images/from-template-dropdown.png and b/src/content/docs/docs/alerts/images/from-template-dropdown.png differ diff --git a/src/content/docs/docs/alerts/images/instances-tab-dismiss.png b/src/content/docs/docs/alerts/images/instances-tab-dismiss.png index e3892b52..0d79b5f7 100644 Binary files a/src/content/docs/docs/alerts/images/instances-tab-dismiss.png and b/src/content/docs/docs/alerts/images/instances-tab-dismiss.png differ diff --git a/src/content/docs/docs/alerts/images/maintenance-window-1.png b/src/content/docs/docs/alerts/images/maintenance-window-1.png index 0005bc68..178fcc8d 100644 Binary files a/src/content/docs/docs/alerts/images/maintenance-window-1.png and b/src/content/docs/docs/alerts/images/maintenance-window-1.png differ diff --git a/src/content/docs/docs/alerts/images/maintenance-window-2.png b/src/content/docs/docs/alerts/images/maintenance-window-2.png index 0e765daf..05fd84a7 100644 Binary files a/src/content/docs/docs/alerts/images/maintenance-window-2.png and b/src/content/docs/docs/alerts/images/maintenance-window-2.png differ diff --git a/src/content/docs/docs/alerts/images/maintenance-window-3.png b/src/content/docs/docs/alerts/images/maintenance-window-3.png index d98c1239..642d9c9a 100644 Binary files a/src/content/docs/docs/alerts/images/maintenance-window-3.png and b/src/content/docs/docs/alerts/images/maintenance-window-3.png differ diff --git a/src/content/docs/docs/alerts/images/move-to-folder-dialog.png b/src/content/docs/docs/alerts/images/move-to-folder-dialog.png index 5133508d..76afb0e4 100644 Binary files a/src/content/docs/docs/alerts/images/move-to-folder-dialog.png and b/src/content/docs/docs/alerts/images/move-to-folder-dialog.png differ diff --git a/src/content/docs/docs/alerts/images/routing-rules-alert-grouping.png b/src/content/docs/docs/alerts/images/routing-rules-alert-grouping.png index 3ad18e0e..a3048fe7 100644 Binary files a/src/content/docs/docs/alerts/images/routing-rules-alert-grouping.png and b/src/content/docs/docs/alerts/images/routing-rules-alert-grouping.png differ diff --git a/src/content/docs/docs/alerts/images/routing-rules-list.png b/src/content/docs/docs/alerts/images/routing-rules-list.png index 63012571..7b6031de 100644 Binary files a/src/content/docs/docs/alerts/images/routing-rules-list.png and b/src/content/docs/docs/alerts/images/routing-rules-list.png differ diff --git a/src/content/docs/docs/alerts/images/routing-rules-suggest.png b/src/content/docs/docs/alerts/images/routing-rules-suggest.png index 55310dd3..e63bf4ed 100644 Binary files a/src/content/docs/docs/alerts/images/routing-rules-suggest.png and b/src/content/docs/docs/alerts/images/routing-rules-suggest.png differ diff --git a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-1.jpeg b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-1.jpeg index 98e7fc68..2a199ccb 100644 Binary files a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-1.jpeg and b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-1.jpeg differ diff --git a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-1.png b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-1.png index 2d5eb6e1..d22e0208 100644 Binary files a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-1.png and b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-1.png differ diff --git a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-2.png b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-2.png index ced7a9be..e416e95c 100644 Binary files a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-2.png and b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-2.png differ diff --git a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-3.png b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-3.png index a1986f76..fe640b9c 100644 Binary files a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-3.png and b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-3.png differ diff --git a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-4.png b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-4.png index 34d29a22..d35df833 100644 Binary files a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-4.png and b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-4.png differ diff --git a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-5.png b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-5.png index cf6b452a..04716ef1 100644 Binary files a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-5.png and b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-5.png differ diff --git a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-6.png b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-6.png index 61d09568..1ad5ff2a 100644 Binary files a/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-6.png and b/src/content/docs/docs/alerts/images/setting-up-kloudmate-alarms-6.png differ diff --git a/src/content/docs/docs/alerts/images/silence-from-group.png b/src/content/docs/docs/alerts/images/silence-from-group.png index fc8f1d17..7cca663d 100644 Binary files a/src/content/docs/docs/alerts/images/silence-from-group.png and b/src/content/docs/docs/alerts/images/silence-from-group.png differ diff --git a/src/content/docs/docs/alerts/images/silences-list.png b/src/content/docs/docs/alerts/images/silences-list.png index 4e13dfae..dbeccca1 100644 Binary files a/src/content/docs/docs/alerts/images/silences-list.png and b/src/content/docs/docs/alerts/images/silences-list.png differ diff --git a/src/content/docs/docs/alerts/images/simple-mode-editor.png b/src/content/docs/docs/alerts/images/simple-mode-editor.png index 91f442f2..0b9c26af 100644 Binary files a/src/content/docs/docs/alerts/images/simple-mode-editor.png and b/src/content/docs/docs/alerts/images/simple-mode-editor.png differ diff --git a/src/content/docs/docs/alerts/images/smart-alerts-detectors.png b/src/content/docs/docs/alerts/images/smart-alerts-detectors.png index 5adb7d1b..4c4cbee4 100644 Binary files a/src/content/docs/docs/alerts/images/smart-alerts-detectors.png and b/src/content/docs/docs/alerts/images/smart-alerts-detectors.png differ diff --git a/src/content/docs/docs/alerts/images/smart-alerts-list.png b/src/content/docs/docs/alerts/images/smart-alerts-list.png index cf078819..8f0ecd67 100644 Binary files a/src/content/docs/docs/alerts/images/smart-alerts-list.png and b/src/content/docs/docs/alerts/images/smart-alerts-list.png differ diff --git a/src/content/docs/docs/alerts/images/smart-alerts-settings.png b/src/content/docs/docs/alerts/images/smart-alerts-settings.png index 5a667c0b..bdf4863d 100644 Binary files a/src/content/docs/docs/alerts/images/smart-alerts-settings.png and b/src/content/docs/docs/alerts/images/smart-alerts-settings.png differ diff --git a/src/content/docs/docs/alerts/images/using-ai-prompt.png b/src/content/docs/docs/alerts/images/using-ai-prompt.png index 4b217dd4..c9ceff6f 100644 Binary files a/src/content/docs/docs/alerts/images/using-ai-prompt.png and b/src/content/docs/docs/alerts/images/using-ai-prompt.png differ diff --git a/src/content/docs/docs/alerts/index.mdx b/src/content/docs/docs/alerts/index.mdx index d0c9bfab..5d4d5553 100644 --- a/src/content/docs/docs/alerts/index.mdx +++ b/src/content/docs/docs/alerts/index.mdx @@ -14,7 +14,7 @@ This page covers the concepts behind the Alerts module. The rest of this section ## Navigate the Alerts module -**Alerts** opens on the **Groups** tab, where related alerts are collected into [alert groups](./alert-groups/). The **Rules** tab lists your alert rules and their [folders](./folders/), and **History** records every alert state change in the workspace. The other tabs control how alerting behaves: [Routing rules](./routing-rules/) decide where notifications go, [Silences](./silences/) and [Maintenance](./maintenance-windows/) windows suppress notifications for a set period, and [Smart Alerts](./smart-alerts/) creates and maintains rules for common infrastructure. +**Alerts** opens on the **Groups** page, where related alerts are collected into [alert groups](./alert-groups/). The **Rules** page lists your alert rules and their [folders](./folders/), and **History** records every alert state change in the workspace. The other pages control how alerting behaves: [Routing rules](./routing-rules/) decide where notifications go, [Silences](./silences/) and [Maintenance](./maintenance-windows/) windows suppress notifications for a set period, and [Smart Alerts](./smart-alerts/) creates and maintains rules for common infrastructure. ## Key concepts @@ -69,7 +69,7 @@ Instead of hand-authoring thresholds, turn on curated detectors and let KloudMat 3. The condition is evaluated; if it holds for the pending duration, the rule fires. 4. The firing alert is tagged with labels and annotations and sent into the grouping engine. 5. The grouping engine matches the alert against [Routing Rules](./routing-rules/), opens or appends to an [Alert Group](./alert-groups/), and dispatches notifications to the rule's destination channels. -6. Active [Silences](./silences/) and [Maintenance Windows](./maintenance-windows/) can suppress the outbound notification at this step. The rule keeps evaluating in the background, and the state change is still recorded on the **History** tab. +6. Active [Silences](./silences/) and [Maintenance Windows](./maintenance-windows/) can suppress the outbound notification at this step. The rule keeps evaluating in the background, and the state change is still recorded on the **History** page. ## Alert states @@ -84,7 +84,7 @@ For how these states transition, and how the pending duration, recovery period, ## Review alert history -The **History** tab lists every alert state change in the workspace, newest first, with the reason for each change and the query and expression **Values** at that moment. The total number of transitions is shown above the list. Filter by state or search by alert name to narrow the list. For example, select **Firing** and search for `checkout` to see each time a checkout alert moved to **Firing**. Select an alert's name to open its rule. +The **History** page lists every alert state change in the workspace, newest first, with the reason for each change and the query and expression **Values** at that moment. The total number of transitions is shown above the list. Filter by state or search by alert name to narrow the list. For example, select **Firing** and search for `checkout` to see each time a checkout alert moved to **Firing**. Select an alert's name to open its rule. ![Alert history tab](./images/alerts-history-tab.png) @@ -93,7 +93,7 @@ The **History** tab lists every alert state change in the workspace, newest firs - + diff --git a/src/content/docs/docs/alerts/maintenance-windows.mdx b/src/content/docs/docs/alerts/maintenance-windows.mdx index a0967dba..ffbcac7a 100644 --- a/src/content/docs/docs/alerts/maintenance-windows.mdx +++ b/src/content/docs/docs/alerts/maintenance-windows.mdx @@ -20,7 +20,7 @@ Use a maintenance window when you have a calendar-driven quiet period: a planned Each maintenance window shows: - **Name:** name of the maintenance window. -- **Type:** whether the window is **One Time** or **Recurring**. +- **Type:** whether the window is **One time** or **Recurring**. - **Alert rule targeted:** the alert rule the maintenance window applies to. - **Matching labels:** labels assigned to the maintenance window. - **Schedule:** start and end time for the maintenance window. @@ -42,16 +42,16 @@ With the **Developer** role, you can **Disable** or **Enable**, **Edit**, or **D - **One Time:** schedules the maintenance period once, for a specific date and time. - **Recurring:** repeats automatically on a regular cycle, so you don't reconfigure it each time. -![Maintenance window Name, Description, Timezone, and One Time/Recurring fields](./images/maintenance-window-2.png) +![Maintenance window Name, Description, Timezone, and One time and Recurring options](./images/maintenance-window-2.png) Additional settings: -- For a **One Time** window, pick the **From** and **To** date and time, or type a **Duration** such as `2h` and press Enter to start the window now and run it for that long. +- For a **One time** window, pick the **From** and **To** date and time, or type a **Duration** such as `2h` and press Enter to start the window now and run it for that long. - For a **Recurring** window, set a **Start Date**, an optional **End Date**, a **Start Time**, an **End Time**, and a **Frequency** of **Daily**, **Weekly**, or **Monthly**. **Weekly** adds **Days of Week**, and **Monthly** lets you choose by **Day of Month** or **Day of Week**. The **End Time** must be later than the **Start Time**, so a recurring window can't run past midnight. -- **Label Matchers:** target the window to specific alerts by their labels (for example, service name, host, or region). Each matcher is a label key, an operator, and a value, combined with AND. The operators are the same four used across the alert module (**Equals**, **Not equals**, **Matches regex**, **Doesn't match regex**), matched against alert rule labels and alert instance labels. A window needs at least one matcher unless it targets specific alert rules. +- **Label matchers:** target the window to specific alerts by their labels (for example, service name, host, or region). Each matcher is a label key, an operator, and a value, combined with AND. The operators are the same four used across the alert module (**Equals**, **Not equals**, **Matches regex**, **Doesn't match regex**), matched against alert rule labels and alert instance labels. A window needs at least one matcher unless it targets specific alert rules. -As you add matchers, an **Affected Alert Instances** preview lists the alert rules and instances the window currently matches, so you can confirm its scope before saving. +As you add matchers, an **Affected alert instances** preview lists the alert rules and instances the window currently matches, so you can confirm its scope before saving. 4. Click **Save** to create the new maintenance window. -![Maintenance window schedule, Label Matchers, Affected Alert Instances preview, and Save button](./images/maintenance-window-3.png) +![A recurring maintenance window schedule with Weekly frequency, Label matchers, and the Affected alert instances preview](./images/maintenance-window-3.png) diff --git a/src/content/docs/docs/alerts/silences.mdx b/src/content/docs/docs/alerts/silences.mdx index a745f0ba..2cc03534 100644 --- a/src/content/docs/docs/alerts/silences.mdx +++ b/src/content/docs/docs/alerts/silences.mdx @@ -69,7 +69,7 @@ On an alert rule's **more options (⋯) → Pause Notifications**, KloudMate cre The Silences list carries an **Alerts muted** column: how many alert rules each active silence is muting. Expand a row to list those rules, each marked with a chip such as `3 firing` when its instances are firing. The silence detail page shows the same list, along with a link to the group the silence is bound to. -To find what's muting a particular alert, check the alert's row on the **Rules** tab, its expanded instance rows, or its detail page. Each links to the silence or maintenance window that's muting the alert. When more than one applies, you can pick which one to open. A group's **Instances** panel marks muted instances but doesn't name the silence. +To find what's muting a particular alert, check the alert's row on the **Rules** page, its expanded instance rows, or its detail page. Each links to the silence or maintenance window that's muting the alert. When more than one applies, you can pick which one to open. A group's **Instances** panel marks muted instances but doesn't name the silence. ![Alert rule muted by a silence](./images/silenced-by-rule.png) @@ -80,7 +80,7 @@ A new silence shows up in the **Alerts muted** count and on the alerts it mutes Both features are a **notification gate, not a state change**: the alert still evaluates on its schedule and its state transitions are still recorded in history; only the notification is withheld. Silencing every firing instance of an alert group keeps the group **Firing** (marked **Muted**); it does **not** resolve the group, and muting never emits a *resolved* notification. The differences between the two are operational, not behavioral: - **Silences** are ad-hoc, label-matcher driven, capped at 30 days, and can be auto-bound to a specific alert group so they expire when the group resolves. -- **Maintenance Windows** are scheduled: **One Time**, with a start and end, or **Recurring**, repeating **Daily**, **Weekly**, or **Monthly** at a set time of day in the window's timezone. +- **Maintenance Windows** are scheduled: **One time**, with a start and end, or **Recurring**, repeating **Daily**, **Weekly**, or **Monthly** at a set time of day in the window's timezone. Both use the same label-matcher operators (**Equals**, **Not equals**, **Matches regex**, **Doesn't match regex**), matched against alert rule labels and alert instance labels. diff --git a/src/content/docs/docs/alerts/smart-alerts.mdx b/src/content/docs/docs/alerts/smart-alerts.mdx index 797aa96b..bc6631dc 100644 --- a/src/content/docs/docs/alerts/smart-alerts.mdx +++ b/src/content/docs/docs/alerts/smart-alerts.mdx @@ -59,7 +59,7 @@ Detectors are grouped by pack: - **Kafka & Queues:** a consumer-lag anomaly; under-replicated, under-min-ISR, and offline-partition thresholds. - **Browser & Mobile (RUM):** detectors for real user monitoring data from browser and mobile apps. -![The Smart Alerts settings page: the Automatic monitoring toggle and the detector packs](./images/smart-alerts-settings.png) +![The Smart Alerts settings page: the Automatic monitoring toggle, the detector packs, and the defaults for new managed alerts](./images/smart-alerts-settings.png) Each detector row shows whether it can run here: diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/_meta.json b/src/content/docs/docs/apm-and-tracing/apm-views/_meta.json index fc14e1e0..256419d7 100644 --- a/src/content/docs/docs/apm-and-tracing/apm-views/_meta.json +++ b/src/content/docs/docs/apm-and-tracing/apm-views/_meta.json @@ -1,4 +1,4 @@ { "label": "APM Views", - "order": 1 + "order": 2 } diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/api-monitoring.mdx b/src/content/docs/docs/apm-and-tracing/apm-views/api-monitoring.mdx index 39d96f76..e0e62b1e 100644 --- a/src/content/docs/docs/apm-and-tracing/apm-views/api-monitoring.mdx +++ b/src/content/docs/docs/apm-and-tracing/apm-views/api-monitoring.mdx @@ -2,7 +2,7 @@ title: "API Monitoring" description: "Use API Monitoring to see Rate, Errors, and Duration (RED) metrics for every HTTP and RPC endpoint, then drill into an endpoint's trends and traces." sidebar: - order: 4 + order: 6 --- **API Monitoring** shows Rate, Errors, and Duration (RED) metrics for every API endpoint your services handle, across both HTTP and RPC (gRPC and Connect / `connect_rpc`). It is the server-side, per-endpoint view of your traffic. diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/apm-and-services.mdx b/src/content/docs/docs/apm-and-tracing/apm-views/apm-and-services.mdx index d63954e1..febc5235 100644 --- a/src/content/docs/docs/apm-and-tracing/apm-views/apm-and-services.mdx +++ b/src/content/docs/docs/apm-and-tracing/apm-views/apm-and-services.mdx @@ -24,11 +24,11 @@ Each row represents one service and includes: ## Service APM Dashboard -Clicking any service in the **List** view opens its APM dashboard, which is a preconfigured view focused on that specific service. The dashboard has tabs for **Overview**, [Runtime](../runtime/), [Infrastructure](../infrastructure/), **Traces**, and **Logs**. +Clicking any service in the **List** view opens its APM dashboard, which is a preconfigured view focused on that specific service. The section menu on the left of the dashboard lists **Overview**, [Runtime](../runtime/), [Infrastructure](../infrastructure/), **Traces**, and **Logs**. -![The Overview tab of a service's APM dashboard, with the Throughput, Error rate, and latency cards, the Requests & Errors and Latency charts, and the Internal operations table](./images/apm-and-services-2.png) +![The Overview section of a service's APM dashboard, with the Throughput, Error rate, and latency cards, the Requests & Errors and Latency charts, and the Internal operations table](./images/apm-and-services-2.png) -The **Overview** tab includes: +The **Overview** section includes: - **Requests, errors, and latency over time:** timeline charts that help identify traffic spikes, error bursts, and latency regressions - **Service dependencies:** tables of downstream dependencies, outbound calls, and upstream callers, including request rate, error percentage, and latency @@ -37,12 +37,12 @@ The **Overview** tab includes: ## Traces and Logs -Use the **Traces** and **Logs** tabs to inspect the traces and logs for a selected service. +Use the **Traces** and **Logs** sections to inspect the traces and logs for a selected service. -The **Traces** tab shows recent traces with details such as start time, span name, kind, duration, and a link to the full trace for end-to-end request analysis. +The **Traces** section shows recent traces with details such as start time, span name, kind, duration, and a link to the full trace for end-to-end request analysis. -![The Traces tab of a service's APM dashboard, with a table of start time, span name, kind, duration, and a View Trace action on each row](./images/apm-and-services-3.png) +![The Traces section of a service's APM dashboard, with a table of start time, span name, kind, duration, and a View Trace action on each row](./images/apm-and-services-3.png) -The **Logs** tab lists recent logs with time, severity, and message, along with actions to explore logs in detail and correlate them with traces and issues for faster root-cause investigation. +The **Logs** section lists recent logs with time, severity, and message, along with actions to explore logs in detail and correlate them with traces and issues for faster root-cause investigation. -![The Logs tab of a service's APM dashboard, with a table of time, severity, and message, and a View Trace action on log lines that carry a trace](./images/apm-and-services-4.png) +![The Logs section of a service's APM dashboard, with a table of time, severity, and message, and a View Trace action on log lines that carry a trace](./images/apm-and-services-4.png) diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/api-monitoring-1.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/api-monitoring-1.png index a0a1a297..e661921a 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/api-monitoring-1.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/api-monitoring-1.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/api-monitoring-2.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/api-monitoring-2.png index a7d74dc8..f650426c 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/api-monitoring-2.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/api-monitoring-2.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-1.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-1.png index 33ced11d..31122497 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-1.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-1.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-2.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-2.png index 845208da..189d319a 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-2.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-2.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-3.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-3.png index c7419971..c332a6e4 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-3.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-3.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-4.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-4.png index ece182dc..d1493307 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-4.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/apm-and-services-4.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/infrastructure-1.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/infrastructure-1.png index b10632e1..14d70b7f 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/infrastructure-1.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/infrastructure-1.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/infrastructure-2.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/infrastructure-2.png index 7d9d4d95..c84401b1 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/infrastructure-2.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/infrastructure-2.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/infrastructure-3.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/infrastructure-3.png index da66cd1f..06489a77 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/infrastructure-3.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/infrastructure-3.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/runtime-1.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/runtime-1.png index ffe690d6..68881ab3 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/runtime-1.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/runtime-1.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/runtime-2.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/runtime-2.png index 1210028e..3bdfcad7 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/runtime-2.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/runtime-2.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-1.jpeg b/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-1.jpeg index ee81856e..9657764b 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-1.jpeg and b/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-1.jpeg differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-1.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-1.png index d5df8e37..6e7d2e52 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-1.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-1.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-2.jpeg b/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-2.jpeg index 856da23f..fe92087f 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-2.jpeg and b/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-2.jpeg differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-2.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-2.png index 31287b36..0a764d1b 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-2.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-2.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-3.png b/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-3.png index 4eaa8de6..4bab509b 100644 Binary files a/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-3.png and b/src/content/docs/docs/apm-and-tracing/apm-views/images/service-map-3.png differ diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/index.mdx b/src/content/docs/docs/apm-and-tracing/apm-views/index.mdx index f89fb42c..ae091193 100644 --- a/src/content/docs/docs/apm-and-tracing/apm-views/index.mdx +++ b/src/content/docs/docs/apm-and-tracing/apm-views/index.mdx @@ -20,9 +20,10 @@ It is built from tracing data and RED-style operational metrics. Use APM when yo ## APM Views - [Services](./apm-and-services/) for service-level request, latency, and error trends -- [Service Map](./service-map/) for dependency topology and service-to-service flow analysis - [Runtime](./runtime/) for a service's memory, GC, threads, leak signals, and release-to-release cost - [Infrastructure](./infrastructure/) for the Kubernetes pods a service runs in, its resource findings, and capacity planning +- [Service Map](./service-map/) for dependency topology and service-to-service flow analysis +- [API Monitoring](./api-monitoring/) for rate, errors, and latency on every HTTP and RPC endpoint ## Setup Paths @@ -36,6 +37,6 @@ APM surfaces request-rate, error-rate, and latency views at the service level. B ## Related Resources -- [Traces](../) +- [Trace Explorer](../trace-explorer/) - [Metrics](../../infrastructure/) - [Logs](../../logs/) diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/infrastructure.mdx b/src/content/docs/docs/apm-and-tracing/apm-views/infrastructure.mdx index 9440fe87..e13e018b 100644 --- a/src/content/docs/docs/apm-and-tracing/apm-views/infrastructure.mdx +++ b/src/content/docs/docs/apm-and-tracing/apm-views/infrastructure.mdx @@ -1,20 +1,20 @@ --- title: "Infrastructure" -description: "Use a service's Infrastructure tab to see the Kubernetes pods and containers it runs in: CPU and memory against requests and limits, restarts, leak signals, and capacity planning." +description: "Use a service's Infrastructure section to see the Kubernetes pods and containers it runs in: CPU and memory against requests and limits, restarts, leak signals, and capacity planning." sidebar: - order: 6 + order: 4 --- -The **Infrastructure** tab on a service's APM page shows the Kubernetes pods and containers the service runs in. It answers questions the traces can't: is the pod near its memory limit, is it being throttled, are its requests sized right, and how many instances it needs at higher traffic. +The **Infrastructure** section on a service's APM page shows the Kubernetes pods and containers the service runs in. It answers questions the traces can't: is the pod near its memory limit, is it being throttled, are its requests sized right, and how many instances it needs at higher traffic. -Open **APM & Services**, click a service, then select **Infrastructure**. The tab follows the page's time range. +Open **APM & Services**, click a service, then select **Infrastructure**. The section follows the page's time range. -![The Infrastructure tab, with health cards for CPU and memory of limit, restarts, and pods, findings that the memory request is below real usage and the CPU request is oversized, and a stable container working set floor](./images/infrastructure-1.png) +![The Infrastructure section, with health cards for CPU and memory of limit, restarts, and pods, findings that the memory request is below real usage and the CPU request is oversized, and a stable container working set floor](./images/infrastructure-1.png) -The tab needs the service to run on Kubernetes with the [KloudMate Agent for Kubernetes](../../../kloudmate-agent/installation/kubernetes-agent/) collecting container metrics. KloudMate matches the service to its pods through the traces, so the tab is empty for a range in which no pods ran the service. +The section needs the service to run on Kubernetes with the [KloudMate Agent for Kubernetes](../../../kloudmate-agent/installation/kubernetes-agent/) collecting container metrics. KloudMate matches the service to its pods through the traces, so the section is empty for a range in which no pods ran the service. ## Filters -When the service runs in more than one pod, a **Pod** filter appears next to the tabs. When it reports `service.version`, a **Version** filter appears too. Both narrow every section of the tab. These filters are shared with the [Runtime](../runtime/) tab, so switching tabs keeps them. +When the service runs in more than one pod, a **Pod** filter appears next to the time range picker. When it reports `service.version`, a **Version** filter appears too. Both narrow everything on the page. These filters are shared with the [Runtime](../runtime/) section, so switching sections keeps them. ## Health diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/runtime.mdx b/src/content/docs/docs/apm-and-tracing/apm-views/runtime.mdx index 3aff1df4..e9b0baa9 100644 --- a/src/content/docs/docs/apm-and-tracing/apm-views/runtime.mdx +++ b/src/content/docs/docs/apm-and-tracing/apm-views/runtime.mdx @@ -1,18 +1,18 @@ --- title: "Runtime" -description: "Use a service's Runtime tab to read its language runtime health: memory, garbage collection, threads, leak signals, runtime settings, and how a release changed what an instance costs to run." +description: "Use a service's Runtime section to read its language runtime health: memory, garbage collection, threads, leak signals, runtime settings, and how a release changed what an instance costs to run." sidebar: - order: 5 + order: 3 --- -The **Runtime** tab on a service's APM page shows how the service's language runtime behaves: memory, garbage collection (GC), threads, and the event loop or scheduler. Use it when a service is slow or restarting and the traces don't explain why, to tell whether the runtime is the cause and not the code or a dependency. +The **Runtime** section on a service's APM page shows how the service's language runtime behaves: memory, garbage collection (GC), threads, and the event loop or scheduler. Use it when a service is slow or restarting and the traces don't explain why, to tell whether the runtime is the cause and not the code or a dependency. -Open **APM & Services**, click a service, then select **Runtime**. The tab follows the page's time range. +Open **APM & Services**, click a service, then select **Runtime**. The section follows the page's time range. -![The Runtime tab of a Node.js service, with health cards for event loop delay, event loop utilization, heap of V8 limit, and time in GC, a finding that the V8 heap limit is above the container limit, and a stable old_space floor leak card](./images/runtime-1.png) +![The Runtime section of a Node.js service, with health cards for event loop delay, event loop utilization, heap of V8 limit, and time in GC, a finding that the V8 heap limit is above the container limit, and a stable old_space floor leak card](./images/runtime-1.png) ## Supported runtimes -The tab reads the runtime metrics that the OpenTelemetry SDK reports. +The section reads the runtime metrics that the OpenTelemetry SDK reports. | Runtime | How to get the metrics | | --- | --- | @@ -22,11 +22,11 @@ The tab reads the runtime metrics that the OpenTelemetry SDK reports. | .NET | On .NET 9 and later, add the built-in meter with `AddMeter("System.Runtime")`. On .NET 6 to 8, add `OpenTelemetry.Instrumentation.Runtime` with `AddRuntimeInstrumentation()`. | | Python | Install `opentelemetry-instrumentation-system-metrics`. The OpenTelemetry Operator's Python image and `opentelemetry-bootstrap` include it. | -Services that the [KloudMate Agent instruments with the SDK](../../auto-instrumentation/) report these metrics with no extra setup. A service traced with eBPF only doesn't report runtime metrics. If it runs on Kubernetes, its container metrics are still on the [Infrastructure](../infrastructure/) tab. +Services that the [KloudMate Agent instruments with the SDK](../../auto-instrumentation/) report these metrics with no extra setup. A service traced with eBPF only doesn't report runtime metrics. If it runs on Kubernetes, its container metrics are still on the [Infrastructure](../infrastructure/) section. ## Filters -When the service reports `service.version`, a **Version** filter appears next to the tabs. When it runs in more than one pod, a **Pod** filter appears too. Both narrow every section of the tab. Picking a version limits the **Pod** list to the pods that ran that version. +When the service reports `service.version`, a **Version** filter appears next to the time range picker. When it runs in more than one pod, a **Pod** filter appears too. Both narrow everything on the page. Picking a version limits the **Pod** list to the pods that ran that version. ## Health diff --git a/src/content/docs/docs/apm-and-tracing/apm-views/service-map.mdx b/src/content/docs/docs/apm-and-tracing/apm-views/service-map.mdx index 409c4d97..b8db47a0 100644 --- a/src/content/docs/docs/apm-and-tracing/apm-views/service-map.mdx +++ b/src/content/docs/docs/apm-and-tracing/apm-views/service-map.mdx @@ -2,7 +2,7 @@ title: "Service Map" description: "Use the Service Map to understand service dependencies, traffic flow, and error hotspots in KloudMate APM." sidebar: - order: 3 + order: 5 --- The **Service Map** is a visual representation of the relationships and interdependencies between services in your workspace. It is built from your services' distributed traces and gives you a topology-level view of your architecture. @@ -36,23 +36,23 @@ The main area displays the **Service Dependency Graph**. Each service is represe Use the zoom controls on the bottom-right to zoom in and out, or click the expand icon to view the graph in full screen. -![image](./images/service-map-2.png) +![The Service Dependency Graph in full screen, with Fit Graph, Clear Selection, the minimap, and the zoom controls](./images/service-map-2.png) ## Inspecting a Service Click any service node on the graph to open the service details panel on the right. -![image](./images/service-map-1.jpeg) +![The Service details panel for frontend, with request count, request rate, average latency, error rate, inbound and outbound dependencies, and Open service page](./images/service-map-1.jpeg) Click **Open service page** at the bottom of the panel to navigate to that service's APM dashboard, where you can inspect request trends, latency percentiles, traces, issues, alerts, and dashboards in more detail. -![image](./images/service-map-3.png) +![The Service dependencies panel on the frontend service page, with tables of downstream dependencies, outbound calls, and upstream callers, and View in service map](./images/service-map-3.png) ## Inspecting a Dependency Click any edge between two service nodes to open the dependency details panel on the right. -![image](./images/service-map-2.jpeg) +![The Dependency details panel for the edge from frontend-proxy to frontend, with source and target, request count, error rate, P99, P95, and P50 latency, and Open source and Open target](./images/service-map-2.jpeg) Use **Open source** or **Open target** to navigate directly to the APM dashboard of either service involved in the dependency. diff --git a/src/content/docs/docs/apm-and-tracing/auto-instrumentation/_meta.json b/src/content/docs/docs/apm-and-tracing/auto-instrumentation/_meta.json index 2e8743e2..c068e5b6 100644 --- a/src/content/docs/docs/apm-and-tracing/auto-instrumentation/_meta.json +++ b/src/content/docs/docs/apm-and-tracing/auto-instrumentation/_meta.json @@ -1,4 +1,4 @@ { "label": "Auto-Instrumentation", - "order": 2 + "order": 5 } diff --git a/src/content/docs/docs/apm-and-tracing/auto-instrumentation/index.mdx b/src/content/docs/docs/apm-and-tracing/auto-instrumentation/index.mdx index 7159eb99..83c4778f 100644 --- a/src/content/docs/docs/apm-and-tracing/auto-instrumentation/index.mdx +++ b/src/content/docs/docs/apm-and-tracing/auto-instrumentation/index.mdx @@ -2,8 +2,8 @@ title: "Auto-Instrumentation" description: "Get traces and RED metrics into KloudMate with no code changes: the KloudMate Agent instruments each service with eBPF or an OpenTelemetry SDK." sidebar: - label: "Auto-Instrumentation" - order: 2 + label: "Overview" + order: 1 --- import { LinkCard, CardGrid } from '@astrojs/starlight/components'; diff --git a/src/content/docs/docs/apm-and-tracing/images/trace-detail-open.png b/src/content/docs/docs/apm-and-tracing/images/trace-detail-open.png index 0ef193fc..9bdf18fa 100644 Binary files a/src/content/docs/docs/apm-and-tracing/images/trace-detail-open.png and b/src/content/docs/docs/apm-and-tracing/images/trace-detail-open.png differ diff --git a/src/content/docs/docs/apm-and-tracing/images/trace-groups.png b/src/content/docs/docs/apm-and-tracing/images/trace-groups.png new file mode 100644 index 00000000..cb18aab7 Binary files /dev/null and b/src/content/docs/docs/apm-and-tracing/images/trace-groups.png differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-1.jpeg b/src/content/docs/docs/apm-and-tracing/images/traces-1.jpeg index fee42d15..189acabf 100644 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-1.jpeg and b/src/content/docs/docs/apm-and-tracing/images/traces-1.jpeg differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-1.png b/src/content/docs/docs/apm-and-tracing/images/traces-1.png index 52b81aa4..49cae634 100644 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-1.png and b/src/content/docs/docs/apm-and-tracing/images/traces-1.png differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-10.jpeg b/src/content/docs/docs/apm-and-tracing/images/traces-10.jpeg deleted file mode 100644 index 43740091..00000000 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-10.jpeg and /dev/null differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-2.jpeg b/src/content/docs/docs/apm-and-tracing/images/traces-2.jpeg index 4f27569c..51750a76 100644 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-2.jpeg and b/src/content/docs/docs/apm-and-tracing/images/traces-2.jpeg differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-2.png b/src/content/docs/docs/apm-and-tracing/images/traces-2.png index 84e71c2c..49cae634 100644 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-2.png and b/src/content/docs/docs/apm-and-tracing/images/traces-2.png differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-3.jpeg b/src/content/docs/docs/apm-and-tracing/images/traces-3.jpeg deleted file mode 100644 index da565b70..00000000 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-3.jpeg and /dev/null differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-3.png b/src/content/docs/docs/apm-and-tracing/images/traces-3.png deleted file mode 100644 index d3406ad2..00000000 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-3.png and /dev/null differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-4.jpeg b/src/content/docs/docs/apm-and-tracing/images/traces-4.jpeg index 0c67495f..b3dfa1eb 100644 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-4.jpeg and b/src/content/docs/docs/apm-and-tracing/images/traces-4.jpeg differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-4.png b/src/content/docs/docs/apm-and-tracing/images/traces-4.png deleted file mode 100644 index 49307d5f..00000000 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-4.png and /dev/null differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-5.jpeg b/src/content/docs/docs/apm-and-tracing/images/traces-5.jpeg index 70ba6c96..f01e675a 100644 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-5.jpeg and b/src/content/docs/docs/apm-and-tracing/images/traces-5.jpeg differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-5.png b/src/content/docs/docs/apm-and-tracing/images/traces-5.png deleted file mode 100644 index 1cdea72f..00000000 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-5.png and /dev/null differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-6.jpeg b/src/content/docs/docs/apm-and-tracing/images/traces-6.jpeg index 88cd8d1b..4b26a514 100644 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-6.jpeg and b/src/content/docs/docs/apm-and-tracing/images/traces-6.jpeg differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-7.jpeg b/src/content/docs/docs/apm-and-tracing/images/traces-7.jpeg deleted file mode 100644 index 218337b4..00000000 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-7.jpeg and /dev/null differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-8.jpeg b/src/content/docs/docs/apm-and-tracing/images/traces-8.jpeg deleted file mode 100644 index 861611d3..00000000 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-8.jpeg and /dev/null differ diff --git a/src/content/docs/docs/apm-and-tracing/images/traces-9.jpeg b/src/content/docs/docs/apm-and-tracing/images/traces-9.jpeg deleted file mode 100644 index 43ab5d7c..00000000 Binary files a/src/content/docs/docs/apm-and-tracing/images/traces-9.jpeg and /dev/null differ diff --git a/src/content/docs/docs/apm-and-tracing/index.mdx b/src/content/docs/docs/apm-and-tracing/index.mdx index 50973412..24ff0226 100644 --- a/src/content/docs/docs/apm-and-tracing/index.mdx +++ b/src/content/docs/docs/apm-and-tracing/index.mdx @@ -6,10 +6,10 @@ sidebar: order: 1 --- -![The Traces page in Trace summary view, with filters for duration, service, severity, HTTP method, and HTTP status beside a list of traces showing timestamp, entry, services, spans, and duration.](./images/traces-1.png) - The **APM & Services**, **API Monitoring**, and **Traces** pages in KloudMate give you end-to-end visibility into how requests travel across your services, along with service-level health and dependency analysis. +![The Traces page in Trace summary view, with filters for duration, service, severity, HTTP method, and HTTP status beside a list of traces showing timestamp, entry, services, spans, and duration.](./images/traces-1.png) + ## Core Concepts - **[APM Views](./apm-views/)** is service-centric. Use it to compare latency, throughput, error rate, and dependencies across services. diff --git a/src/content/docs/docs/apm-and-tracing/manual-instrumentation/_meta.json b/src/content/docs/docs/apm-and-tracing/manual-instrumentation/_meta.json index 46f6ec3b..9c0b7ab9 100644 --- a/src/content/docs/docs/apm-and-tracing/manual-instrumentation/_meta.json +++ b/src/content/docs/docs/apm-and-tracing/manual-instrumentation/_meta.json @@ -1,4 +1,4 @@ { "label": "Manual Instrumentation", - "order": 3 + "order": 6 } diff --git a/src/content/docs/docs/apm-and-tracing/manual-instrumentation/index.mdx b/src/content/docs/docs/apm-and-tracing/manual-instrumentation/index.mdx index a0fe75a6..7cfad226 100644 --- a/src/content/docs/docs/apm-and-tracing/manual-instrumentation/index.mdx +++ b/src/content/docs/docs/apm-and-tracing/manual-instrumentation/index.mdx @@ -25,6 +25,7 @@ The KloudMate Agent works with any OpenTelemetry SDK. Use these runtime-specific - [.NET](./dotnet/) - [PHP](./php/) - [Ruby](./ruby/) +- [React](./react/) for browser front ends, with the OpenTelemetry Web SDK ## Configuration diff --git a/src/content/docs/docs/apm-and-tracing/trace-detail.mdx b/src/content/docs/docs/apm-and-tracing/trace-detail.mdx index fe5e52f1..cd1f6723 100644 --- a/src/content/docs/docs/apm-and-tracing/trace-detail.mdx +++ b/src/content/docs/docs/apm-and-tracing/trace-detail.mdx @@ -2,7 +2,7 @@ title: "Trace Detail" description: "Inspect a single trace in KloudMate: the timeline waterfall, span detail panel, and the Service List, Request Flow, and AI Flow views." sidebar: - order: 2 + order: 4 --- Open a trace from the [Trace Explorer](/apm-and-tracing/trace-explorer/) to inspect a single request end to end. The detail view lays out the whole trace: a summary on the left, a chosen view on the right, and the timeline along the bottom. Use it to find which span was slow, which one errored, and why. diff --git a/src/content/docs/docs/apm-and-tracing/trace-explorer.mdx b/src/content/docs/docs/apm-and-tracing/trace-explorer.mdx index f39006a6..915324e4 100644 --- a/src/content/docs/docs/apm-and-tracing/trace-explorer.mdx +++ b/src/content/docs/docs/apm-and-tracing/trace-explorer.mdx @@ -2,14 +2,14 @@ title: "Trace Explorer" description: "Learn how to use the Traces section in KloudMate to search, filter, and inspect distributed traces." sidebar: - order: 1 + order: 3 --- Click **Traces** in the left navigation menu to open the section. It opens on the **Trace Summary** view by default. To see trace activity over the selected time range, click the chart icon next to the time picker. The **Span count** chart stacks spans with errors and all other spans in each interval. -![image](./images/traces-1.jpeg) +![The Traces page with the Span count chart above the Trace summary list, counting spans with errors and all other spans](./images/traces-1.jpeg) :::note See [Sending Data to KloudMate](../../getting-started/sending-data-to-kloudmate/) for onboarding and ingestion options. @@ -21,7 +21,7 @@ To see trace activity over the selected time range, click the chart icon next to Search across traces using span attributes. Click the search bar or start typing, pick an attribute, then an operator and a value. If the attribute or value you want isn't listed, type it. Each condition appears as a chip in the bar, and a trace must match every chip. To remove a condition, click the **×** on its chip. -![image](./images/traces-2.jpeg) +![The trace search bar with the field list open, listing span attributes marked S for string or N for number](./images/traces-2.jpeg) The operators are the ones [KMQL](../../visualize-data/kmql/) uses. The `in` and `not in` operators take several values, which you can type separated by commas. On string attributes, `matches` and `not matches` compare the value against a regular expression that must match the whole value. @@ -40,7 +40,7 @@ Use the left sidebar to filter results by: Each filter section includes a search box for quick lookup. When filters are active, a recent-filters notice appears at the top of the sidebar. -![image](./images/traces-4.jpeg) +![The Trace summary view with the sidebar filters highlighted: duration, service, severity, HTTP method, and HTTP status, each value with its count](./images/traces-4.jpeg) ## Saved Queries @@ -48,17 +48,17 @@ Open the **Saved** menu next to the search bar. Select **Save this query** to sa When you edit a saved search that has OR groups or free text, they appear in a read-only **Other filters** field and stay in the search when you save it. -![image](./images/traces-5.jpeg) +![The top of the Traces page with the Span count chart shown and the Saved menu open and highlighted, showing Save this query and All saved queries](./images/traces-5.jpeg) ## Traces Result Views -Switch between views using the toggle above the results. They all read the same trace data, subject to the active time range and filters — each gives you a different level of detail. +Switch between views from the menu on the left of the page. They all read the same trace data, subject to the active time range and filters — each gives you a different level of detail. ### Trace Summary **Trace Summary** is the default view. It groups spans into complete traces, giving you a higher-level view of end-to-end request journeys. Each row represents a single trace, showing its entry point, number of services, spans involved, total duration, and any errors. -![image](./images/traces-2.png) +![The Trace summary view, with one row per trace showing its timestamp, entry point, services, span count, and duration](./images/traces-2.png) ### Trace Groups @@ -74,6 +74,8 @@ Switch between views using the toggle above the results. They all read the same Filter the groups from the left panel by **entry operation**, **service**, and **duration**. +![The Trace groups view, with one row per entry point showing its trace count, average spans and entities, p95 duration, errors, and a trend sparkline](./images/trace-groups.png) + #### Drilling into a group Click a group row to open its **drill-down drawer**. The drawer shows the group's metrics across the top, then the list of traces that belong to it. From here you can: @@ -88,13 +90,13 @@ The **Spans** view lists every individual span captured within the selected time This view is best when you need the most granular look at tracing activity. To isolate errors, add a **Severity → Error** filter from the sidebar. -![image](./images/traces-6.jpeg) +![The Spans view, with one row per span showing its timestamp, span name, service, and duration](./images/traces-6.jpeg) ## Open a Trace Select a trace or span from any result view to open it in [Trace Detail](../trace-detail/), where you inspect the timeline waterfall, per-span attributes, and the Service List, Request Flow, and AI Flow views. -![image](./images/trace-detail-open.png) +![A trace open in Trace Detail, with each service's share of the request time, the Service List, and the timeline waterfall](./images/trace-detail-open.png) ## Related Paths diff --git a/src/content/docs/docs/aws-integration/account-setup.mdx b/src/content/docs/docs/aws-integration/account-setup.mdx index 91cb63f5..db32c189 100644 --- a/src/content/docs/docs/aws-integration/account-setup.mdx +++ b/src/content/docs/docs/aws-integration/account-setup.mdx @@ -32,7 +32,7 @@ The account appears on the **Data Sources** page. To add another account, repeat Each account on the **Data Sources** page has an **Edit** button. -![A Pending AWS account card with no account ID and an Edit button, and the Accounts counter at 1 of 1 with Connect AWS account turned off.](../images/aws-account-setup-edit.png) +![Two Pending AWS account cards with no account ID, each with an Edit button, and the Accounts counter.](../images/aws-account-setup-edit.png) Click **Edit** to open **Edit Account Details**. It shows the account's AWS account ID and external ID. diff --git a/src/content/docs/docs/aws-integration/cloudwatch-logs/images/subscribing-to-aws-cloudwatch-logs-1.png b/src/content/docs/docs/aws-integration/cloudwatch-logs/images/subscribing-to-aws-cloudwatch-logs-1.png index a25db4e4..8c371c48 100644 Binary files a/src/content/docs/docs/aws-integration/cloudwatch-logs/images/subscribing-to-aws-cloudwatch-logs-1.png and b/src/content/docs/docs/aws-integration/cloudwatch-logs/images/subscribing-to-aws-cloudwatch-logs-1.png differ diff --git a/src/content/docs/docs/aws-integration/cloudwatch-logs/images/subscribing-to-aws-cloudwatch-logs-2.png b/src/content/docs/docs/aws-integration/cloudwatch-logs/images/subscribing-to-aws-cloudwatch-logs-2.png index fb432dc5..4c42a2ba 100644 Binary files a/src/content/docs/docs/aws-integration/cloudwatch-logs/images/subscribing-to-aws-cloudwatch-logs-2.png and b/src/content/docs/docs/aws-integration/cloudwatch-logs/images/subscribing-to-aws-cloudwatch-logs-2.png differ diff --git a/src/content/docs/docs/aws-integration/images/lambda-functions-1.png b/src/content/docs/docs/aws-integration/images/lambda-functions-1.png index a62ded37..54d5f4f0 100644 Binary files a/src/content/docs/docs/aws-integration/images/lambda-functions-1.png and b/src/content/docs/docs/aws-integration/images/lambda-functions-1.png differ diff --git a/src/content/docs/docs/aws-integration/images/lambda-functions-2.png b/src/content/docs/docs/aws-integration/images/lambda-functions-2.png index 62bf530f..48d9a86e 100644 Binary files a/src/content/docs/docs/aws-integration/images/lambda-functions-2.png and b/src/content/docs/docs/aws-integration/images/lambda-functions-2.png differ diff --git a/src/content/docs/docs/aws-integration/images/lambda-functions-3.png b/src/content/docs/docs/aws-integration/images/lambda-functions-3.png index 7f24afd4..99739a42 100644 Binary files a/src/content/docs/docs/aws-integration/images/lambda-functions-3.png and b/src/content/docs/docs/aws-integration/images/lambda-functions-3.png differ diff --git a/src/content/docs/docs/aws-integration/images/lambda-functions-4.png b/src/content/docs/docs/aws-integration/images/lambda-functions-4.png index 4abdaca6..16b33b4b 100644 Binary files a/src/content/docs/docs/aws-integration/images/lambda-functions-4.png and b/src/content/docs/docs/aws-integration/images/lambda-functions-4.png differ diff --git a/src/content/docs/docs/aws-integration/images/step-functions-configuration.png b/src/content/docs/docs/aws-integration/images/step-functions-configuration.png index 08da1452..5cb3c306 100644 Binary files a/src/content/docs/docs/aws-integration/images/step-functions-configuration.png and b/src/content/docs/docs/aws-integration/images/step-functions-configuration.png differ diff --git a/src/content/docs/docs/aws-integration/images/step-functions-execution-flow.png b/src/content/docs/docs/aws-integration/images/step-functions-execution-flow.png index e62c63a6..da38d1c6 100644 Binary files a/src/content/docs/docs/aws-integration/images/step-functions-execution-flow.png and b/src/content/docs/docs/aws-integration/images/step-functions-execution-flow.png differ diff --git a/src/content/docs/docs/aws-integration/images/step-functions-failed-execution.png b/src/content/docs/docs/aws-integration/images/step-functions-failed-execution.png index d0d955ac..50be6ad5 100644 Binary files a/src/content/docs/docs/aws-integration/images/step-functions-failed-execution.png and b/src/content/docs/docs/aws-integration/images/step-functions-failed-execution.png differ diff --git a/src/content/docs/docs/aws-integration/images/step-functions-machine-executions.png b/src/content/docs/docs/aws-integration/images/step-functions-machine-executions.png index a8e68206..8c18921f 100644 Binary files a/src/content/docs/docs/aws-integration/images/step-functions-machine-executions.png and b/src/content/docs/docs/aws-integration/images/step-functions-machine-executions.png differ diff --git a/src/content/docs/docs/aws-integration/images/step-functions-overview.png b/src/content/docs/docs/aws-integration/images/step-functions-overview.png index ad91503d..78015183 100644 Binary files a/src/content/docs/docs/aws-integration/images/step-functions-overview.png and b/src/content/docs/docs/aws-integration/images/step-functions-overview.png differ diff --git a/src/content/docs/docs/aws-integration/images/step-functions-recent-executions.png b/src/content/docs/docs/aws-integration/images/step-functions-recent-executions.png index 6a136bf6..b572c172 100644 Binary files a/src/content/docs/docs/aws-integration/images/step-functions-recent-executions.png and b/src/content/docs/docs/aws-integration/images/step-functions-recent-executions.png differ diff --git a/src/content/docs/docs/aws-integration/images/step-functions-state-machines.png b/src/content/docs/docs/aws-integration/images/step-functions-state-machines.png index bf1ba7ef..01b42a91 100644 Binary files a/src/content/docs/docs/aws-integration/images/step-functions-state-machines.png and b/src/content/docs/docs/aws-integration/images/step-functions-state-machines.png differ diff --git a/src/content/docs/docs/aws-integration/images/step-functions-timeline-log.png b/src/content/docs/docs/aws-integration/images/step-functions-timeline-log.png index be0f40b5..3caae226 100644 Binary files a/src/content/docs/docs/aws-integration/images/step-functions-timeline-log.png and b/src/content/docs/docs/aws-integration/images/step-functions-timeline-log.png differ diff --git a/src/content/docs/docs/aws-integration/lambda-monitoring.mdx b/src/content/docs/docs/aws-integration/lambda-monitoring.mdx index 8c27019b..f0bd6fe3 100644 --- a/src/content/docs/docs/aws-integration/lambda-monitoring.mdx +++ b/src/content/docs/docs/aws-integration/lambda-monitoring.mdx @@ -25,19 +25,19 @@ Each row in the list shows basic information such as the function name, region, You can sort the list in ascending or descending order by clicking the arrow next to the column headers. -![Lambda Metrics](./images/lambda-functions-2.png) +![The Lambda list column headers, which sort the list when clicked](./images/lambda-functions-2.png) ### Invocations and Errors You can view additional details of any Lambda function by clicking on it in the list. The **Overview** tab includes **Recent Invocations** and **Recent Issues** for the selected function. -![Lambda Invocations](./images/lambda-functions-3.png) +![A Lambda function's Overview tab, with Recent Invocations and Recent Issues](./images/lambda-functions-3.png) ### Visualizing Metrics The **Metrics** tab provides charts for the default Lambda metrics associated with the selected function. -![Lambda Visualizing](./images/lambda-functions-4.png) +![A Lambda function's Metrics tab, with charts for the default Lambda metrics](./images/lambda-functions-4.png) You can also adjust the time range from the time scale menu to inspect recent or historical behavior. diff --git a/src/content/docs/docs/aws-integration/lambda-telemetry-extension/configuration.mdx b/src/content/docs/docs/aws-integration/lambda-telemetry-extension/configuration.mdx index 01a984cb..aae89890 100644 --- a/src/content/docs/docs/aws-integration/lambda-telemetry-extension/configuration.mdx +++ b/src/content/docs/docs/aws-integration/lambda-telemetry-extension/configuration.mdx @@ -43,7 +43,7 @@ Each metric is tagged with the request ID, a cold-start flag, and the invocation You can use these metrics to build dashboards that track your function's health and resource consumption over time. -![Lambda OTel Dashboard showing invocation trends, memory usage, billed duration, and cold start metrics](./images/telemetry-metrics-dashboard.png) +![A Lambda OTel Dashboard with Invocations, Cold Starts, Errors, and Throttles panels for two functions](./images/telemetry-metrics-dashboard.png) ## Logs and traces diff --git a/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-log-explorer.png b/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-log-explorer.png index d973baef..129b7d09 100644 Binary files a/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-log-explorer.png and b/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-log-explorer.png differ diff --git a/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-metrics-dashboard.png b/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-metrics-dashboard.png index 17d609bc..a53e426b 100644 Binary files a/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-metrics-dashboard.png and b/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-metrics-dashboard.png differ diff --git a/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-traces-detail.png b/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-traces-detail.png index 0711ac35..984d0be6 100644 Binary files a/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-traces-detail.png and b/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-traces-detail.png differ diff --git a/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-traces-list.png b/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-traces-list.png index 054a49fb..9c122792 100644 Binary files a/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-traces-list.png and b/src/content/docs/docs/aws-integration/lambda-telemetry-extension/images/telemetry-traces-list.png differ diff --git a/src/content/docs/docs/azure-integration/images/mongodb-monitoring-1.png b/src/content/docs/docs/azure-integration/images/mongodb-monitoring-1.png index 1efe3cdd..e78798d9 100644 Binary files a/src/content/docs/docs/azure-integration/images/mongodb-monitoring-1.png and b/src/content/docs/docs/azure-integration/images/mongodb-monitoring-1.png differ diff --git a/src/content/docs/docs/azure-integration/images/save-collector-config.png b/src/content/docs/docs/azure-integration/images/save-collector-config.png index bb96d7f3..cbace1cf 100644 Binary files a/src/content/docs/docs/azure-integration/images/save-collector-config.png and b/src/content/docs/docs/azure-integration/images/save-collector-config.png differ diff --git a/src/content/docs/docs/azure-integration/manual-integration-of-azure-monitor.mdx b/src/content/docs/docs/azure-integration/manual-integration-of-azure-monitor.mdx index 7e7e6436..19f85185 100644 --- a/src/content/docs/docs/azure-integration/manual-integration-of-azure-monitor.mdx +++ b/src/content/docs/docs/azure-integration/manual-integration-of-azure-monitor.mdx @@ -18,21 +18,42 @@ This document provides a step-by-step manual approach to integrating Azure Monit To enable authentication follow the document: [Enable Service Principal Azure.](../enable-service-principal-azure/) 2. KloudMate Agent installed on the server scraping Azure Monitor metrics (see agent installation for [Linux Agent](../../kloudmate-agent/installation/linux-agent/) and [Windows Agent](../../kloudmate-agent/installation/windows-agent/)). -**Step 1: Access Agents and OpenTelemetry Collector Configuration** - -- Navigate to the KloudMate platform and log in to your account. -- Go to **Settings** > **Agents & Pipelines** section. -- Here you can: - - View all installed agents. - - Access configuration settings for each agent. - - Review the default configurations provided by KloudMate. -- To edit an agent's collector configuration: - - Select the desired agent. - - Click the **Actions** menu (or Agent action tab). - - Choose **Collector Configuration**. -- A text editor UI will open, allowing you to edit the agent’s YAML configuration directly within the platform. - -![image](./images/mongodb-monitoring-1.png) +**Step 1: Open the agent's collector config** + +1. In KloudMate, go to **Settings** > **Agents & Pipelines**. +2. On the **Agents** tab, click the **⋮** menu next to the agent that will scrape Azure Monitor, then click **Configure**. +3. Open the **Collector Config** tab. + +![The Agents tab in Agents & Pipelines, with an agent's menu open and Configure highlighted](./images/mongodb-monitoring-1.png) + +In **Managed** config mode, the **Base configuration** is generated by KloudMate and is read-only. Add the Azure Monitor receiver in **Custom config override**, which is merged on top of the base configuration. Pipeline lists are merged too, so list only the additions: + +```yaml +receivers: + azuremonitor: + # Add the correct credentials as per Service Principal + subscription_id: "" + tenant_id: "" + client_id: "" + client_secret: "" + cloud: AzureCloud + collection_interval: 60s + initial_delay: 1s + # Uncomment and configure to monitor specific resource groups or services + # resource_groups: [] + # services: [] + +service: + pipelines: + metrics: + receivers: [azuremonitor] +``` + +:::info +To monitor specific resource groups or services, uncomment `resource_groups` and `services` and list the values you want. +::: + +If the agent is in **Manual** config mode, the full collector config is edited directly. In that case, set up the receiver, exporter, and pipeline yourself: 1\. In this configuration file, ensure the Azure Monitor receiver is set up to collect and send metrics. @@ -66,10 +87,6 @@ receivers: # services: [] ``` -:::info -*To monitor a specific service or resource group, the user can uncomment the `resource_groups[]` and `services[]` entries in the configuration file.* -::: - 2\. Set up the exporter as the KloudMate backend by specifying the endpoint and authorisation key in the agent configuration file, and configure the pipeline. ```yaml @@ -99,9 +116,9 @@ service: **Step 2: Save Configuration and Restart Agent** -After updating the configuration, click "**Save Configuration** " in the UI +After updating the configuration, click **Save override** (or save the configuration in **Manual** mode). -![image](./images/save-collector-config.png) +![The Collector Config tab with the Azure Monitor receiver in Custom config override and an arrow pointing to Save override](./images/save-collector-config.png) or, from your server’s console, run: diff --git a/src/content/docs/docs/database-monitoring/calling-services.mdx b/src/content/docs/docs/database-monitoring/calling-services.mdx index a6bba503..ef48ef28 100644 --- a/src/content/docs/docs/database-monitoring/calling-services.mdx +++ b/src/content/docs/docs/database-monitoring/calling-services.mdx @@ -7,7 +7,7 @@ sidebar: The **Calling services** tab lists the services that called the database in the selected time range, with their call and error counts. Use it to find which application is behind a load spike, then open that service in APM or its traces. -![The Calling services tab of a PostgreSQL instance, with query duration percentiles above a table of the calling services, their language, calls, and errors.](./images/calling-services.png) +![The Calling services tab of a PostgreSQL replica over the last hour, with query duration percentiles above a table of the calling services, their language, calls, and errors.](./images/calling-services.png) ## How services are matched diff --git a/src/content/docs/docs/database-monitoring/databases-list.mdx b/src/content/docs/docs/database-monitoring/databases-list.mdx index 774f5b67..99d136ab 100644 --- a/src/content/docs/docs/database-monitoring/databases-list.mdx +++ b/src/content/docs/docs/database-monitoring/databases-list.mdx @@ -7,7 +7,7 @@ sidebar: The **Databases** page lists every monitored database instance with its status, health, query load, and connections. Use it to spot the instances that have stopped reporting or are running hot, then click an instance to open its [details](../instance-overview/). -![The Databases list over the last three days, with status and engine filters above instances of eight engines. Clusters such as an Oracle container database, PostgreSQL streaming replication, and a Redis Cluster are grouped under their primary, and each instance shows its status, health, query rate, and connection trend.](./images/databases-list.png) +![The Databases list over the last hour, with status and engine filters above six instances of MySQL, Redis, MongoDB, and PostgreSQL. MySQL replication and a Redis Sentinel group are grouped under their primary, and each instance shows its status, health, query rate, and connection trend.](./images/databases-list.png) ## Status and health diff --git a/src/content/docs/docs/database-monitoring/images/calling-services.png b/src/content/docs/docs/database-monitoring/images/calling-services.png index 1b55fd49..0feeb991 100644 Binary files a/src/content/docs/docs/database-monitoring/images/calling-services.png and b/src/content/docs/docs/database-monitoring/images/calling-services.png differ diff --git a/src/content/docs/docs/database-monitoring/images/databases-list.png b/src/content/docs/docs/database-monitoring/images/databases-list.png index eb81946c..4b9635dd 100644 Binary files a/src/content/docs/docs/database-monitoring/images/databases-list.png and b/src/content/docs/docs/database-monitoring/images/databases-list.png differ diff --git a/src/content/docs/docs/database-monitoring/images/instance-overview.png b/src/content/docs/docs/database-monitoring/images/instance-overview.png index 9e86dd64..9b727574 100644 Binary files a/src/content/docs/docs/database-monitoring/images/instance-overview.png and b/src/content/docs/docs/database-monitoring/images/instance-overview.png differ diff --git a/src/content/docs/docs/database-monitoring/images/metrics-dashboard.png b/src/content/docs/docs/database-monitoring/images/metrics-dashboard.png index 00b327e4..8354494e 100644 Binary files a/src/content/docs/docs/database-monitoring/images/metrics-dashboard.png and b/src/content/docs/docs/database-monitoring/images/metrics-dashboard.png differ diff --git a/src/content/docs/docs/database-monitoring/images/query-drawer-explain-plan.png b/src/content/docs/docs/database-monitoring/images/query-drawer-explain-plan.png index ae497d32..c834c983 100644 Binary files a/src/content/docs/docs/database-monitoring/images/query-drawer-explain-plan.png and b/src/content/docs/docs/database-monitoring/images/query-drawer-explain-plan.png differ diff --git a/src/content/docs/docs/database-monitoring/images/query-patterns.png b/src/content/docs/docs/database-monitoring/images/query-patterns.png index f79a71ce..911f3631 100644 Binary files a/src/content/docs/docs/database-monitoring/images/query-patterns.png and b/src/content/docs/docs/database-monitoring/images/query-patterns.png differ diff --git a/src/content/docs/docs/database-monitoring/images/running-queries-blocking-chain.png b/src/content/docs/docs/database-monitoring/images/running-queries-blocking-chain.png index 1c5e2fb0..038df075 100644 Binary files a/src/content/docs/docs/database-monitoring/images/running-queries-blocking-chain.png and b/src/content/docs/docs/database-monitoring/images/running-queries-blocking-chain.png differ diff --git a/src/content/docs/docs/database-monitoring/images/running-queries-sessions.png b/src/content/docs/docs/database-monitoring/images/running-queries-sessions.png index 019730d0..3eb2d956 100644 Binary files a/src/content/docs/docs/database-monitoring/images/running-queries-sessions.png and b/src/content/docs/docs/database-monitoring/images/running-queries-sessions.png differ diff --git a/src/content/docs/docs/database-monitoring/images/running-queries.png b/src/content/docs/docs/database-monitoring/images/running-queries.png index 56e8a407..7c7e8ac1 100644 Binary files a/src/content/docs/docs/database-monitoring/images/running-queries.png and b/src/content/docs/docs/database-monitoring/images/running-queries.png differ diff --git a/src/content/docs/docs/database-monitoring/images/schema.png b/src/content/docs/docs/database-monitoring/images/schema.png index b61e87a6..2a5d5f3b 100644 Binary files a/src/content/docs/docs/database-monitoring/images/schema.png and b/src/content/docs/docs/database-monitoring/images/schema.png differ diff --git a/src/content/docs/docs/database-monitoring/images/topology-redis-sentinel.png b/src/content/docs/docs/database-monitoring/images/topology-redis-sentinel.png index af15eb8a..fa2f109c 100644 Binary files a/src/content/docs/docs/database-monitoring/images/topology-redis-sentinel.png and b/src/content/docs/docs/database-monitoring/images/topology-redis-sentinel.png differ diff --git a/src/content/docs/docs/database-monitoring/instance-overview.mdx b/src/content/docs/docs/database-monitoring/instance-overview.mdx index 4f9b1489..cd26feba 100644 --- a/src/content/docs/docs/database-monitoring/instance-overview.mdx +++ b/src/content/docs/docs/database-monitoring/instance-overview.mdx @@ -7,7 +7,7 @@ sidebar: Open an instance from the [Databases list](../databases-list/) to see everything KloudMate collects for it. The page opens on the tab you viewed last, and every tab uses the time range in the top-right corner. -![The Overview tab of a PostgreSQL primary, with the instance info card, connection utilization and buffer cache hit ratio gauges, and the Connections and Database Sizes panels.](./images/instance-overview.png) +![The Overview tab of a PostgreSQL replica, with the tab list on the left, the instance info card, connection utilization and buffer cache hit ratio gauges, and the Connections and Database Sizes panels.](./images/instance-overview.png) ## The instance header @@ -19,6 +19,8 @@ The health icon is the same one shown on the [Databases list](../databases-list/ ## Tabs and page controls +The tabs are listed on the left of the page. Click the arrow next to the list to collapse it and give the tab more room. + The tabs available depend on the engine. See [Supported engines](../#supported-engines) for the full list. - **Database** narrows the query, session, schema, and sensitive data tabs to one database on the instance. It appears for PostgreSQL, where databases are discovered from their size metric, and for Oracle container databases, where you pick a container. An Oracle CDB has no **All databases** option; its own container is selected by default. @@ -31,7 +33,7 @@ The Overview tab brings together the numbers you usually check first. ### Instance info and gauges -The info card shows the instance's status, connections, query rate, database size, uptime, and host. When the database doesn't run on the agent's host, the host row is labelled **Monitored from** and shows the agent's host. The card also lists engine settings when the engine reports them: +The info card shows the instance's status, connections, query rate, database size, uptime, host, and service name. When the database doesn't run on the agent's host, the host row is labelled **Monitored from** and shows the agent's host. The card also lists engine settings when the engine reports them: | Engine | Settings | |---|---| diff --git a/src/content/docs/docs/database-monitoring/metrics.mdx b/src/content/docs/docs/database-monitoring/metrics.mdx index 802119c9..d12420af 100644 --- a/src/content/docs/docs/database-monitoring/metrics.mdx +++ b/src/content/docs/docs/database-monitoring/metrics.mdx @@ -7,7 +7,7 @@ sidebar: The **Metrics** tab is a prebuilt dashboard for the instance's engine. Stat tiles across the top show the headline numbers, and the panels below are grouped into collapsible rows such as **Throughput**, **Locks**, and **Replication**. -![The Metrics tab of a PostgreSQL instance, with stat tiles for backends, max connections, database count, database size, and table count above the Resource Utilization row.](./images/metrics-dashboard.png) +![The Metrics tab of a PostgreSQL instance, with stat tiles for database count, max connections, backends, database size, and table count above the Resource Utilization row and its table size, index size, and live and dead row panels.](./images/metrics-dashboard.png) Collapse the rows you don't need. A collapsed row doesn't load its panels, and it stays collapsed the next time you open an instance of the same engine. diff --git a/src/content/docs/docs/database-monitoring/query-performance.mdx b/src/content/docs/docs/database-monitoring/query-performance.mdx index 4339ddc3..724e7ead 100644 --- a/src/content/docs/docs/database-monitoring/query-performance.mdx +++ b/src/content/docs/docs/database-monitoring/query-performance.mdx @@ -47,7 +47,7 @@ Below the table, **Query Volume** and **Total Duration by Query** chart the ten Click a query in **Query patterns** to open its details in a side panel over the list. The panel shows the full query text and tabs for **Explain plan**, **Metrics**, and **Calling services**. To share a query with a teammate, copy the page URL while the panel is open. -![The query details panel for a MySQL query, showing the plan cost, node count, and depth above a map of the execution plan.](./images/query-drawer-explain-plan.png) +![The query details panel for a MySQL join query, with a warning about a sequential scan over 10k or more rows above the plan cost, node count, and depth, and a map of the six-node execution plan.](./images/query-drawer-explain-plan.png) ### Explain plan diff --git a/src/content/docs/docs/database-monitoring/running-queries.mdx b/src/content/docs/docs/database-monitoring/running-queries.mdx index 2aae9300..8e7a9883 100644 --- a/src/content/docs/docs/database-monitoring/running-queries.mdx +++ b/src/content/docs/docs/database-monitoring/running-queries.mdx @@ -9,7 +9,7 @@ The **Running queries** tab shows the sessions that were active on the database, The tab is available for PostgreSQL, MySQL, MariaDB, SQL Server, Oracle, and MongoDB. Session snapshots need the **Query performance (samples + top queries)** coverage turned on for the instance. See [Engines and coverages](../../kloudmate-agent/database-monitoring/engines-and-coverages/). -![The Running queries tab of a PostgreSQL instance during lock contention, with the Sessions by Wait Type chart dominated by Lock waits, a banner reporting 8 blocked sessions and 3 root blockers, and the start of the blocking chain.](./images/running-queries.png) +![The Running queries tab of a MySQL primary, with the Sessions by Wait Type chart over the last hour, a notice that only the newest 500 session rows are loaded, and the newest snapshot with its active sessions, Blocking only switch, and session table.](./images/running-queries.png) ## What sessions were waiting on diff --git a/src/content/docs/docs/database-monitoring/schema.mdx b/src/content/docs/docs/database-monitoring/schema.mdx index 518d2494..7527a0c8 100644 --- a/src/content/docs/docs/database-monitoring/schema.mdx +++ b/src/content/docs/docs/database-monitoring/schema.mdx @@ -11,7 +11,7 @@ The **Schema** tab lists the tables in the database with their size and structur The **Schema** tab is available for PostgreSQL, MySQL, MariaDB, SQL Server, and Oracle. It shows the newest schema scan from the last 24 hours, and needs the **Schema catalog** coverage turned on for the instance in the agent's database monitoring settings. -![The Schema tab of a PostgreSQL instance, with the public.users table expanded to show its columns, its primary key index, and its primary key constraint.](./images/schema.png) +![The Schema tab of a PostgreSQL replica, listing three tables with the public.users table expanded to show its columns, its primary key index, and its primary key constraint.](./images/schema.png) Each table shows its type, an estimated row count, its total size including indexes, and its table size. The row estimate comes from the database's optimizer statistics, so it can lag behind the real count until the statistics are refreshed. On PostgreSQL, an estimate of `-1` means the table hasn't been analyzed yet. Run `ANALYZE` on the table to fill it in. diff --git a/src/content/docs/docs/images/aws-account-setup-connect.png b/src/content/docs/docs/images/aws-account-setup-connect.png index 38f67eea..ae80895f 100644 Binary files a/src/content/docs/docs/images/aws-account-setup-connect.png and b/src/content/docs/docs/images/aws-account-setup-connect.png differ diff --git a/src/content/docs/docs/images/aws-account-setup-data-sources.png b/src/content/docs/docs/images/aws-account-setup-data-sources.png index 4e821006..803416ac 100644 Binary files a/src/content/docs/docs/images/aws-account-setup-data-sources.png and b/src/content/docs/docs/images/aws-account-setup-data-sources.png differ diff --git a/src/content/docs/docs/images/aws-account-setup-edit-details.png b/src/content/docs/docs/images/aws-account-setup-edit-details.png index 3df41411..cbf2bc92 100644 Binary files a/src/content/docs/docs/images/aws-account-setup-edit-details.png and b/src/content/docs/docs/images/aws-account-setup-edit-details.png differ diff --git a/src/content/docs/docs/images/aws-account-setup-edit.png b/src/content/docs/docs/images/aws-account-setup-edit.png index 8496664b..0fbf771d 100644 Binary files a/src/content/docs/docs/images/aws-account-setup-edit.png and b/src/content/docs/docs/images/aws-account-setup-edit.png differ diff --git a/src/content/docs/docs/images/aws-account-setup-name.png b/src/content/docs/docs/images/aws-account-setup-name.png index 5b55bd30..954ff060 100644 Binary files a/src/content/docs/docs/images/aws-account-setup-name.png and b/src/content/docs/docs/images/aws-account-setup-name.png differ diff --git a/src/content/docs/docs/incident-management/escalation-policy/adding-escalation-policy.mdx b/src/content/docs/docs/incident-management/escalation-policy/adding-escalation-policy.mdx index 8ebd43fc..62c1f351 100644 --- a/src/content/docs/docs/incident-management/escalation-policy/adding-escalation-policy.mdx +++ b/src/content/docs/docs/incident-management/escalation-policy/adding-escalation-policy.mdx @@ -13,7 +13,7 @@ This page walks through building a policy from scratch — the policy-level sett ## Create the policy -1. Open **Incidents → Escalation policies** and click **Add Escalation Policy**. +1. Open **Incident Management → Escalation policies** and click **Add escalation policy**. 2. Enter a **name** and **description**. @@ -32,15 +32,17 @@ Each step names its recipients and how long to wait before escalating. 1. In a step, add one or more **recipients**: - **Users** — pick a user, then choose how to notify them. Select at least one method. **Email** is always available. **SMS** and **voice** appear only when your plan includes them, and they need a verified phone number for the user. - **On-call schedule** — pick a schedule; the step notifies whoever is on call when it fires — possibly several people. Requires the Pro plan. - - **Slack channel** — click **Add Slack Channel** and pick a connected channel. A step can post to one shared channel, and it posts there every time the step runs. Per-user Slack DMs aren't supported. Connect Slack first under [Slack Integration](../../slack-integration/). + - **Channel** — click **Add Channel** and pick a connected Slack or Microsoft Teams channel. A step can post to one shared channel, and it posts there every time the step runs. Per-user Slack DMs aren't supported. Connect Slack first under [Slack Integration](../../slack-integration/). -2. Set **Escalate after** — minutes to wait for an acknowledgement before the next step fires. +2. *(Optional)* Select **Start War Room on this step** under **Incident War Room** to open a [war room](../../war-rooms/) when the step fires. -3. *(Optional)* Turn on **retries** for the step: set a **retry interval** and a **max retries** count to re-page the same recipients until someone acknowledges. +3. Set **Escalate after** — minutes to wait for an acknowledgement before the next step fires. -4. Add more steps as needed. The connector between steps spells out what happens next — "Escalate after 10 minutes • then escalate to step 2", or "then repeat the policy from step 1", or "then stop". +4. *(Optional)* Turn on **Re-notify if unacknowledged** for the step: set a **retry interval** and a **max retries** count to re-page the same recipients until someone acknowledges. -5. Click **Save**. +5. Add more steps as needed. The connector between steps spells out what happens next — "Escalate after 10 minutes • then escalate to step 2", or "then repeat the policy from step 1", or "then stop". + +6. Click **Save**. ![Escalation step with mixed recipients](./images/escalation-step-recipients.png) diff --git a/src/content/docs/docs/incident-management/escalation-policy/images/escalation-policy-1.jpeg b/src/content/docs/docs/incident-management/escalation-policy/images/escalation-policy-1.jpeg index 9a351120..a38b5244 100644 Binary files a/src/content/docs/docs/incident-management/escalation-policy/images/escalation-policy-1.jpeg and b/src/content/docs/docs/incident-management/escalation-policy/images/escalation-policy-1.jpeg differ diff --git a/src/content/docs/docs/incident-management/escalation-policy/images/escalation-policy-detail.png b/src/content/docs/docs/incident-management/escalation-policy/images/escalation-policy-detail.png index 02959ad7..1d58c51f 100644 Binary files a/src/content/docs/docs/incident-management/escalation-policy/images/escalation-policy-detail.png and b/src/content/docs/docs/incident-management/escalation-policy/images/escalation-policy-detail.png differ diff --git a/src/content/docs/docs/incident-management/escalation-policy/images/escalation-policy-form.png b/src/content/docs/docs/incident-management/escalation-policy/images/escalation-policy-form.png index 51b83352..acd17815 100644 Binary files a/src/content/docs/docs/incident-management/escalation-policy/images/escalation-policy-form.png and b/src/content/docs/docs/incident-management/escalation-policy/images/escalation-policy-form.png differ diff --git a/src/content/docs/docs/incident-management/escalation-policy/images/escalation-step-recipients.png b/src/content/docs/docs/incident-management/escalation-policy/images/escalation-step-recipients.png index ecdc5e27..665edb87 100644 Binary files a/src/content/docs/docs/incident-management/escalation-policy/images/escalation-step-recipients.png and b/src/content/docs/docs/incident-management/escalation-policy/images/escalation-step-recipients.png differ diff --git a/src/content/docs/docs/incident-management/escalation-policy/images/escalation-step-retry.png b/src/content/docs/docs/incident-management/escalation-policy/images/escalation-step-retry.png index 44bf2488..7a9f201f 100644 Binary files a/src/content/docs/docs/incident-management/escalation-policy/images/escalation-step-retry.png and b/src/content/docs/docs/incident-management/escalation-policy/images/escalation-step-retry.png differ diff --git a/src/content/docs/docs/incident-management/images/what-is-incident-management_-1.jpeg b/src/content/docs/docs/incident-management/images/what-is-incident-management_-1.jpeg index 6373bc95..09a69b96 100644 Binary files a/src/content/docs/docs/incident-management/images/what-is-incident-management_-1.jpeg and b/src/content/docs/docs/incident-management/images/what-is-incident-management_-1.jpeg differ diff --git a/src/content/docs/docs/incident-management/incidents/creating-an-incident.mdx b/src/content/docs/docs/incident-management/incidents/creating-an-incident.mdx index 7498a629..caceee4f 100644 --- a/src/content/docs/docs/incident-management/incidents/creating-an-incident.mdx +++ b/src/content/docs/docs/incident-management/incidents/creating-an-incident.mdx @@ -8,7 +8,7 @@ sidebar: Use the steps below to create an incident manually. -1. Open **Incidents → Incidents** and click **Create Incident**. +1. Open **Incident Management → Incidents** and click **Create Incident**. ![Create Incident button on the Incidents tab](./images/creating-an-incident-1.png) diff --git a/src/content/docs/docs/incident-management/incidents/images/creating-an-incident-1.png b/src/content/docs/docs/incident-management/incidents/images/creating-an-incident-1.png index 7919a2e9..1101b15e 100644 Binary files a/src/content/docs/docs/incident-management/incidents/images/creating-an-incident-1.png and b/src/content/docs/docs/incident-management/incidents/images/creating-an-incident-1.png differ diff --git a/src/content/docs/docs/incident-management/incidents/images/creating-an-incident-2.png b/src/content/docs/docs/incident-management/incidents/images/creating-an-incident-2.png index 3ae3988b..26739f64 100644 Binary files a/src/content/docs/docs/incident-management/incidents/images/creating-an-incident-2.png and b/src/content/docs/docs/incident-management/incidents/images/creating-an-incident-2.png differ diff --git a/src/content/docs/docs/incident-management/incidents/images/creating-an-incident-3.png b/src/content/docs/docs/incident-management/incidents/images/creating-an-incident-3.png index c6caaa30..7e056f83 100644 Binary files a/src/content/docs/docs/incident-management/incidents/images/creating-an-incident-3.png and b/src/content/docs/docs/incident-management/incidents/images/creating-an-incident-3.png differ diff --git a/src/content/docs/docs/incident-management/incidents/images/incident-activity-timeline.png b/src/content/docs/docs/incident-management/incidents/images/incident-activity-timeline.png index 2d9cb2b5..b3f8678c 100644 Binary files a/src/content/docs/docs/incident-management/incidents/images/incident-activity-timeline.png and b/src/content/docs/docs/incident-management/incidents/images/incident-activity-timeline.png differ diff --git a/src/content/docs/docs/incident-management/incidents/images/incident-details-1.png b/src/content/docs/docs/incident-management/incidents/images/incident-details-1.png index acdb8a3a..b81a35e5 100644 Binary files a/src/content/docs/docs/incident-management/incidents/images/incident-details-1.png and b/src/content/docs/docs/incident-management/incidents/images/incident-details-1.png differ diff --git a/src/content/docs/docs/incident-management/incidents/images/incident-linked-slos.png b/src/content/docs/docs/incident-management/incidents/images/incident-linked-slos.png index d33b24e0..6897d6f4 100644 Binary files a/src/content/docs/docs/incident-management/incidents/images/incident-linked-slos.png and b/src/content/docs/docs/incident-management/incidents/images/incident-linked-slos.png differ diff --git a/src/content/docs/docs/incident-management/incidents/images/incident-publish-status-page.png b/src/content/docs/docs/incident-management/incidents/images/incident-publish-status-page.png index 063b6fa8..e3b27a50 100644 Binary files a/src/content/docs/docs/incident-management/incidents/images/incident-publish-status-page.png and b/src/content/docs/docs/incident-management/incidents/images/incident-publish-status-page.png differ diff --git a/src/content/docs/docs/incident-management/incidents/images/incident-responders.png b/src/content/docs/docs/incident-management/incidents/images/incident-responders.png index 56009a83..3b109197 100644 Binary files a/src/content/docs/docs/incident-management/incidents/images/incident-responders.png and b/src/content/docs/docs/incident-management/incidents/images/incident-responders.png differ diff --git a/src/content/docs/docs/incident-management/incidents/images/incident-war-room-panel.png b/src/content/docs/docs/incident-management/incidents/images/incident-war-room-panel.png index c54ee1e1..921c8dbe 100644 Binary files a/src/content/docs/docs/incident-management/incidents/images/incident-war-room-panel.png and b/src/content/docs/docs/incident-management/incidents/images/incident-war-room-panel.png differ diff --git a/src/content/docs/docs/incident-management/incidents/images/incidents-list-filters.png b/src/content/docs/docs/incident-management/incidents/images/incidents-list-filters.png index 5ebd05a2..32a5df10 100644 Binary files a/src/content/docs/docs/incident-management/incidents/images/incidents-list-filters.png and b/src/content/docs/docs/incident-management/incidents/images/incidents-list-filters.png differ diff --git a/src/content/docs/docs/incident-management/integrations/adding-integrations.mdx b/src/content/docs/docs/incident-management/integrations/adding-integrations.mdx index cd8dae0a..e42e3344 100644 --- a/src/content/docs/docs/incident-management/integrations/adding-integrations.mdx +++ b/src/content/docs/docs/incident-management/integrations/adding-integrations.mdx @@ -13,7 +13,7 @@ An alert source receives alerts and turns them into incidents on a service. This ## Create an alert source -1. Open **Incidents → Alert sources** and click **Add Source**. +1. Open **Incident Management → Alert sources** and click **Add Source**. 2. Choose a **type**: KloudMate Alert group, CloudWatch Alarm, or Webhook. diff --git a/src/content/docs/docs/incident-management/integrations/images/adding-integrations-1.png b/src/content/docs/docs/incident-management/integrations/images/adding-integrations-1.png index d66a6cee..8f3270a4 100644 Binary files a/src/content/docs/docs/incident-management/integrations/images/adding-integrations-1.png and b/src/content/docs/docs/incident-management/integrations/images/adding-integrations-1.png differ diff --git a/src/content/docs/docs/incident-management/integrations/images/alert-sources-list.png b/src/content/docs/docs/incident-management/integrations/images/alert-sources-list.png index d94de364..ee822cb2 100644 Binary files a/src/content/docs/docs/incident-management/integrations/images/alert-sources-list.png and b/src/content/docs/docs/incident-management/integrations/images/alert-sources-list.png differ diff --git a/src/content/docs/docs/incident-management/integrations/images/cloudwatch-alert-source-1.png b/src/content/docs/docs/incident-management/integrations/images/cloudwatch-alert-source-1.png index 4c38144b..e16579ac 100644 Binary files a/src/content/docs/docs/incident-management/integrations/images/cloudwatch-alert-source-1.png and b/src/content/docs/docs/incident-management/integrations/images/cloudwatch-alert-source-1.png differ diff --git a/src/content/docs/docs/incident-management/integrations/images/cloudwatch-alert-source-2.png b/src/content/docs/docs/incident-management/integrations/images/cloudwatch-alert-source-2.png index 3fd528a0..3a156ea2 100644 Binary files a/src/content/docs/docs/incident-management/integrations/images/cloudwatch-alert-source-2.png and b/src/content/docs/docs/incident-management/integrations/images/cloudwatch-alert-source-2.png differ diff --git a/src/content/docs/docs/incident-management/integrations/images/kloudmate-incidents-channel-form.png b/src/content/docs/docs/incident-management/integrations/images/kloudmate-incidents-channel-form.png index ddfaf538..a8a4bf52 100644 Binary files a/src/content/docs/docs/incident-management/integrations/images/kloudmate-incidents-channel-form.png and b/src/content/docs/docs/incident-management/integrations/images/kloudmate-incidents-channel-form.png differ diff --git a/src/content/docs/docs/incident-management/integrations/images/routing-rule-km-incidents.png b/src/content/docs/docs/incident-management/integrations/images/routing-rule-km-incidents.png index 6f4d150e..c614dd65 100644 Binary files a/src/content/docs/docs/incident-management/integrations/images/routing-rule-km-incidents.png and b/src/content/docs/docs/incident-management/integrations/images/routing-rule-km-incidents.png differ diff --git a/src/content/docs/docs/incident-management/integrations/images/webhook-liquid-reference.png b/src/content/docs/docs/incident-management/integrations/images/webhook-liquid-reference.png index d7fa6953..e129498f 100644 Binary files a/src/content/docs/docs/incident-management/integrations/images/webhook-liquid-reference.png and b/src/content/docs/docs/incident-management/integrations/images/webhook-liquid-reference.png differ diff --git a/src/content/docs/docs/incident-management/integrations/images/webhook-template-fields.png b/src/content/docs/docs/incident-management/integrations/images/webhook-template-fields.png index c3c20075..5f20e0b2 100644 Binary files a/src/content/docs/docs/incident-management/integrations/images/webhook-template-fields.png and b/src/content/docs/docs/incident-management/integrations/images/webhook-template-fields.png differ diff --git a/src/content/docs/docs/incident-management/integrations/images/webhook-template-tester.png b/src/content/docs/docs/incident-management/integrations/images/webhook-template-tester.png index f6782ef7..6dbb1359 100644 Binary files a/src/content/docs/docs/incident-management/integrations/images/webhook-template-tester.png and b/src/content/docs/docs/incident-management/integrations/images/webhook-template-tester.png differ diff --git a/src/content/docs/docs/incident-management/integrations/index.mdx b/src/content/docs/docs/incident-management/integrations/index.mdx index d3d98038..8e5b5ada 100644 --- a/src/content/docs/docs/incident-management/integrations/index.mdx +++ b/src/content/docs/docs/incident-management/integrations/index.mdx @@ -26,7 +26,7 @@ KloudMate Alert group and CloudWatch Alarm sources use built-in templates. To in ## The alert sources list -Open **Incidents → Alert sources** to see every source with its name, description, type, service, and escalation policy. +Open **Incident Management → Alert sources** to see every source with its name, description, type, service, and escalation policy. ![The Alert sources tab listing each source with its description, type, service, escalation policy, and an actions menu](./images/alert-sources-list.png) diff --git a/src/content/docs/docs/incident-management/integrations/integrating-with-aws-cloudwatch.mdx b/src/content/docs/docs/incident-management/integrations/integrating-with-aws-cloudwatch.mdx index c1f5bfca..95e219e1 100644 --- a/src/content/docs/docs/incident-management/integrations/integrating-with-aws-cloudwatch.mdx +++ b/src/content/docs/docs/incident-management/integrations/integrating-with-aws-cloudwatch.mdx @@ -23,7 +23,7 @@ Before you start, make sure you have: Create a unique ingestion endpoint in KloudMate to receive your CloudWatch alerts. -1. Log into the KloudMate Console and open **Incidents → Alert sources**. +1. Log into the KloudMate Console and open **Incident Management → Alert sources**. 2. Click **Add Source** (or open a specific [service](../../services/) and click **Add Source** in its **Alert Sources** section). diff --git a/src/content/docs/docs/incident-management/integrations/integrating-with-kloudmate-alerts.mdx b/src/content/docs/docs/incident-management/integrations/integrating-with-kloudmate-alerts.mdx index 32795fba..c89b4f97 100644 --- a/src/content/docs/docs/incident-management/integrations/integrating-with-kloudmate-alerts.mdx +++ b/src/content/docs/docs/incident-management/integrations/integrating-with-kloudmate-alerts.mdx @@ -13,7 +13,7 @@ To open an Incident Management incident whenever an alert fires, you wire two th This replaces the older "webhook channel + notification policy with Alarm condition" flow. The KloudMate Incidents channel handles the bridge plumbing for you; routing rules give you label-level control over which alerts trigger which IM services. :::note -The **Routing Rule** on this page is an [Alerts routing rule](../../../alerts/routing-rules/). It routes alert *notifications* to channels. Don't confuse it with [Incidents → Routing rules](../../routing-rules/), which decides how an alert becomes an incident once it has reached IM. +The **Routing Rule** on this page is an [Alerts routing rule](../../../alerts/routing-rules/). It routes alert *notifications* to channels. Don't confuse it with [Incident Management → Routing rules](../../routing-rules/), which decides how an alert becomes an incident once it has reached IM. ::: ## Prerequisites diff --git a/src/content/docs/docs/incident-management/oncall/creating-a-schedule.mdx b/src/content/docs/docs/incident-management/oncall/creating-a-schedule.mdx index 2fe0b205..ca749ee2 100644 --- a/src/content/docs/docs/incident-management/oncall/creating-a-schedule.mdx +++ b/src/content/docs/docs/incident-management/oncall/creating-a-schedule.mdx @@ -17,7 +17,7 @@ On-call schedules are a paid Incident Management feature. If you don't see an ** ## Create a schedule -1. Open **Incidents → On-call** and click **New schedule**. +1. Open **Incident Management → On-call** and click **New schedule**. 2. Pick a starting point from the **Quick start** template picker (see below). For a single weekly rotation, choose **Weekly handoff**. diff --git a/src/content/docs/docs/incident-management/oncall/images/oncall-schedules-tab.png b/src/content/docs/docs/incident-management/oncall/images/oncall-schedules-tab.png index 1ce04bdc..58c80854 100644 Binary files a/src/content/docs/docs/incident-management/oncall/images/oncall-schedules-tab.png and b/src/content/docs/docs/incident-management/oncall/images/oncall-schedules-tab.png differ diff --git a/src/content/docs/docs/incident-management/oncall/images/override-dialog.png b/src/content/docs/docs/incident-management/oncall/images/override-dialog.png index 51c7e0d3..cdbdb62f 100644 Binary files a/src/content/docs/docs/incident-management/oncall/images/override-dialog.png and b/src/content/docs/docs/incident-management/oncall/images/override-dialog.png differ diff --git a/src/content/docs/docs/incident-management/oncall/images/rotation-coverage-settings.png b/src/content/docs/docs/incident-management/oncall/images/rotation-coverage-settings.png index 6ea3fba5..07c7b24c 100644 Binary files a/src/content/docs/docs/incident-management/oncall/images/rotation-coverage-settings.png and b/src/content/docs/docs/incident-management/oncall/images/rotation-coverage-settings.png differ diff --git a/src/content/docs/docs/incident-management/oncall/images/schedule-calendar-editor.png b/src/content/docs/docs/incident-management/oncall/images/schedule-calendar-editor.png index b6910ca1..fc0f1984 100644 Binary files a/src/content/docs/docs/incident-management/oncall/images/schedule-calendar-editor.png and b/src/content/docs/docs/incident-management/oncall/images/schedule-calendar-editor.png differ diff --git a/src/content/docs/docs/incident-management/oncall/images/schedule-calendar-preview.png b/src/content/docs/docs/incident-management/oncall/images/schedule-calendar-preview.png index 15cf61a9..ad826578 100644 Binary files a/src/content/docs/docs/incident-management/oncall/images/schedule-calendar-preview.png and b/src/content/docs/docs/incident-management/oncall/images/schedule-calendar-preview.png differ diff --git a/src/content/docs/docs/incident-management/oncall/images/schedule-overrides-list.png b/src/content/docs/docs/incident-management/oncall/images/schedule-overrides-list.png index c6dae717..60e669ec 100644 Binary files a/src/content/docs/docs/incident-management/oncall/images/schedule-overrides-list.png and b/src/content/docs/docs/incident-management/oncall/images/schedule-overrides-list.png differ diff --git a/src/content/docs/docs/incident-management/oncall/images/schedule-quick-start.png b/src/content/docs/docs/incident-management/oncall/images/schedule-quick-start.png index 98a9d1ed..a6d18c6f 100644 Binary files a/src/content/docs/docs/incident-management/oncall/images/schedule-quick-start.png and b/src/content/docs/docs/incident-management/oncall/images/schedule-quick-start.png differ diff --git a/src/content/docs/docs/incident-management/oncall/images/schedule-rotation-drawer.png b/src/content/docs/docs/incident-management/oncall/images/schedule-rotation-drawer.png index 306453d2..1fbca49f 100644 Binary files a/src/content/docs/docs/incident-management/oncall/images/schedule-rotation-drawer.png and b/src/content/docs/docs/incident-management/oncall/images/schedule-rotation-drawer.png differ diff --git a/src/content/docs/docs/incident-management/oncall/images/schedule-split-rotations.png b/src/content/docs/docs/incident-management/oncall/images/schedule-split-rotations.png index c2c1dfbc..deaab4a2 100644 Binary files a/src/content/docs/docs/incident-management/oncall/images/schedule-split-rotations.png and b/src/content/docs/docs/incident-management/oncall/images/schedule-split-rotations.png differ diff --git a/src/content/docs/docs/incident-management/oncall/index.mdx b/src/content/docs/docs/incident-management/oncall/index.mdx index 1626c442..3f470c7b 100644 --- a/src/content/docs/docs/incident-management/oncall/index.mdx +++ b/src/content/docs/docs/incident-management/oncall/index.mdx @@ -42,7 +42,7 @@ When two rotations' coverage windows overlap, both current responders are on cal ## See who's on call -Open **Incidents → On-call** and switch between these views: +Open **Incident Management → On-call** and switch between these views: - **My on-call** — your personal, cross-schedule view: whether you're on call right now and your upcoming shifts across *every* schedule you belong to. This is the page to check before you log off for the day. - **Schedules** — a compact list of every schedule, each showing who's on call now, a roughly two-week coverage timeline, and the timezone the times are shown in. Use it to scan coverage at a glance and spot windows where no one is rostered. diff --git a/src/content/docs/docs/incident-management/routing-rules/images/rule-action-picker.png b/src/content/docs/docs/incident-management/routing-rules/images/rule-action-picker.png index 3707f128..b8a69af9 100644 Binary files a/src/content/docs/docs/incident-management/routing-rules/images/rule-action-picker.png and b/src/content/docs/docs/incident-management/routing-rules/images/rule-action-picker.png differ diff --git a/src/content/docs/docs/incident-management/routing-rules/images/rule-editor-conditions.png b/src/content/docs/docs/incident-management/routing-rules/images/rule-editor-conditions.png index 78a17f7f..f83a6194 100644 Binary files a/src/content/docs/docs/incident-management/routing-rules/images/rule-editor-conditions.png and b/src/content/docs/docs/incident-management/routing-rules/images/rule-editor-conditions.png differ diff --git a/src/content/docs/docs/incident-management/routing-rules/images/rule-tester.png b/src/content/docs/docs/incident-management/routing-rules/images/rule-tester.png index dda9f6f0..28384645 100644 Binary files a/src/content/docs/docs/incident-management/routing-rules/images/rule-tester.png and b/src/content/docs/docs/incident-management/routing-rules/images/rule-tester.png differ diff --git a/src/content/docs/docs/incident-management/routing-rules/index.mdx b/src/content/docs/docs/incident-management/routing-rules/index.mdx index 16459d42..8aa7d51f 100644 --- a/src/content/docs/docs/incident-management/routing-rules/index.mdx +++ b/src/content/docs/docs/incident-management/routing-rules/index.mdx @@ -106,13 +106,13 @@ Use it to confirm a new rule does what you expect — and that it doesn't accide ## Create a routing rule -1. Open **Incidents → Routing rules** and click **Add Rule**. +1. Open **Incident Management → Routing rules** and click **Add Rule**. 2. Name the rule, set its **scope** (workspace-wide or a single service), and set a **priority** (lower wins). 3. Choose a **match mode** — All events, All conditions, or Any condition — and add conditions. -4. Add **actions**: assign a service or escalation policy, set severity, suppress, add responders, or notify on-call schedules. +4. Add **actions**: assign a service or escalation policy, set severity, suppress, add responders, notify on-call schedules, or start a [war room](../war-rooms/). 5. **Test** the rule against a sample payload and confirm the decision. diff --git a/src/content/docs/docs/incident-management/services/creating-services.mdx b/src/content/docs/docs/incident-management/services/creating-services.mdx index 54316f4e..a669aa49 100644 --- a/src/content/docs/docs/incident-management/services/creating-services.mdx +++ b/src/content/docs/docs/incident-management/services/creating-services.mdx @@ -11,7 +11,7 @@ import { Steps } from '@astrojs/starlight/components'; Use the steps below to create a new service. -1. Open **Incidents → Services** and click **Create Service**. +1. Open **Incident Management → Services** and click **Create Service**. 2. Enter the **service name**. A **description** is optional. diff --git a/src/content/docs/docs/incident-management/services/images/creating-services-1.png b/src/content/docs/docs/incident-management/services/images/creating-services-1.png index 70120588..8863c629 100644 Binary files a/src/content/docs/docs/incident-management/services/images/creating-services-1.png and b/src/content/docs/docs/incident-management/services/images/creating-services-1.png differ diff --git a/src/content/docs/docs/incident-management/services/images/service-detail.png b/src/content/docs/docs/incident-management/services/images/service-detail.png index d41bb4ed..a493f98d 100644 Binary files a/src/content/docs/docs/incident-management/services/images/service-detail.png and b/src/content/docs/docs/incident-management/services/images/service-detail.png differ diff --git a/src/content/docs/docs/incident-management/services/images/services-1.jpeg b/src/content/docs/docs/incident-management/services/images/services-1.jpeg index 6c0e3a4c..ccb5a561 100644 Binary files a/src/content/docs/docs/incident-management/services/images/services-1.jpeg and b/src/content/docs/docs/incident-management/services/images/services-1.jpeg differ diff --git a/src/content/docs/docs/incident-management/services/index.mdx b/src/content/docs/docs/incident-management/services/index.mdx index 42501125..1860a9d8 100644 --- a/src/content/docs/docs/incident-management/services/index.mdx +++ b/src/content/docs/docs/incident-management/services/index.mdx @@ -12,7 +12,7 @@ To track a service against a reliability target, define a [Service Level Objecti ![image](./images/services-1.jpeg) -**Incidents → Services** lists each service with its name, description, owner, default escalation policy, and current health. +**Incident Management → Services** lists each service with its name, description, owner, default escalation policy, and current health. :::note A service can own several alert sources. The escalation policy on the service is the default — an alert source uses it unless it sets its own override, and a [routing rule](../routing-rules/) can override it per incident. diff --git a/src/content/docs/docs/incident-management/slack-integration.mdx b/src/content/docs/docs/incident-management/slack-integration.mdx index caa89877..3bc68d09 100644 --- a/src/content/docs/docs/incident-management/slack-integration.mdx +++ b/src/content/docs/docs/incident-management/slack-integration.mdx @@ -10,19 +10,19 @@ KloudMate uses a single unified Slack app for both notification delivery and IM - Threaded notifications on alert groups and incidents (replies stay attached to the parent message). - Per-user ChatOps actions: acknowledge, resolve, or comment on incidents without leaving Slack. -- Cross-surface visibility: the same install shows up under both **Settings → Notification Channels** and **Incidents → Settings**. +- Cross-surface visibility: the same install shows up under both **Settings → Notification Channels** and **Incident Management → Settings**. You can start the install from either place, and it shows up in both. ## Connect Slack from Incident Management -1. Open **Incidents → Settings** and click **Connect** on the **Slack** panel of the **ChatOps** card. You need the **Developer** role for this step. +1. Open **Incident Management → Settings** and click **Connect** on the **Slack** panel of the **ChatOps** card. You need the **Developer** role for this step. 2. Complete the Slack OAuth flow: pick the Slack workspace and channel KloudMate should post into. 3. KloudMate returns you to the Settings tab, and the Slack panel shows the linked workspace. If Slack is already installed for notifications, the button reads **Add ChatOps channel** instead. To stop incident actions from Slack, click **Remove ChatOps channel**. Slack stays connected for alert notifications. -The new Slack row appears under both **Settings → Notification Channels** and **Incidents → Settings**. You can use it as a notification destination on a [Routing Rule](../../alerts/routing-rules/) immediately. +The new Slack row appears under both **Settings → Notification Channels** and **Incident Management → Settings**. You can use it as a notification destination on a [Routing Rule](../../alerts/routing-rules/) immediately. ## Per-user account linking diff --git a/src/content/docs/docs/incident-management/status-pages/images/status-page-branding.png b/src/content/docs/docs/incident-management/status-pages/images/status-page-branding.png index e6c8fde0..53382899 100644 Binary files a/src/content/docs/docs/incident-management/status-pages/images/status-page-branding.png and b/src/content/docs/docs/incident-management/status-pages/images/status-page-branding.png differ diff --git a/src/content/docs/docs/incident-management/status-pages/images/status-page-components-tab.png b/src/content/docs/docs/incident-management/status-pages/images/status-page-components-tab.png index 150225da..63537ce6 100644 Binary files a/src/content/docs/docs/incident-management/status-pages/images/status-page-components-tab.png and b/src/content/docs/docs/incident-management/status-pages/images/status-page-components-tab.png differ diff --git a/src/content/docs/docs/incident-management/status-pages/images/status-page-custom-domain.png b/src/content/docs/docs/incident-management/status-pages/images/status-page-custom-domain.png index be0b2f08..c39b1bc0 100644 Binary files a/src/content/docs/docs/incident-management/status-pages/images/status-page-custom-domain.png and b/src/content/docs/docs/incident-management/status-pages/images/status-page-custom-domain.png differ diff --git a/src/content/docs/docs/incident-management/status-pages/images/status-page-general-settings.png b/src/content/docs/docs/incident-management/status-pages/images/status-page-general-settings.png index ac3b061e..755ffb4c 100644 Binary files a/src/content/docs/docs/incident-management/status-pages/images/status-page-general-settings.png and b/src/content/docs/docs/incident-management/status-pages/images/status-page-general-settings.png differ diff --git a/src/content/docs/docs/incident-management/status-pages/images/status-page-incident-composer.png b/src/content/docs/docs/incident-management/status-pages/images/status-page-incident-composer.png index 0b6099b5..2d1f0939 100644 Binary files a/src/content/docs/docs/incident-management/status-pages/images/status-page-incident-composer.png and b/src/content/docs/docs/incident-management/status-pages/images/status-page-incident-composer.png differ diff --git a/src/content/docs/docs/incident-management/status-pages/images/status-page-public.png b/src/content/docs/docs/incident-management/status-pages/images/status-page-public.png index 46d27fbd..6a436eae 100644 Binary files a/src/content/docs/docs/incident-management/status-pages/images/status-page-public.png and b/src/content/docs/docs/incident-management/status-pages/images/status-page-public.png differ diff --git a/src/content/docs/docs/incident-management/status-pages/images/status-pages-list.png b/src/content/docs/docs/incident-management/status-pages/images/status-pages-list.png index b87ef0f5..31d393c0 100644 Binary files a/src/content/docs/docs/incident-management/status-pages/images/status-pages-list.png and b/src/content/docs/docs/incident-management/status-pages/images/status-pages-list.png differ diff --git a/src/content/docs/docs/incident-management/status-pages/index.mdx b/src/content/docs/docs/incident-management/status-pages/index.mdx index dd871ce8..96b20b26 100644 --- a/src/content/docs/docs/incident-management/status-pages/index.mdx +++ b/src/content/docs/docs/incident-management/status-pages/index.mdx @@ -24,7 +24,7 @@ A published status page shows: - A **history** view for browsing past months. - **RSS and Atom feeds** so people can subscribe to changes. -![Public status page](./images/status-page-public.png) +![Public status page with degraded performance and an active incident](./images/status-page-public.png) ## The editor @@ -37,7 +37,7 @@ You manage everything from one editor with three tabs: ## Create a status page -1. Open **Incidents → Status pages** and click **Create Status Page**. +1. Open **Incident Management → Status pages** and click **Create status page**. 2. Enter a **name** — the title visitors see. diff --git a/src/content/docs/docs/incident-management/war-rooms/images/war-room-chatops-card.png b/src/content/docs/docs/incident-management/war-rooms/images/war-room-chatops-card.png index 86278a81..5438fef0 100644 Binary files a/src/content/docs/docs/incident-management/war-rooms/images/war-room-chatops-card.png and b/src/content/docs/docs/incident-management/war-rooms/images/war-room-chatops-card.png differ diff --git a/src/content/docs/docs/incident-management/war-rooms/images/war-room-conference-call.png b/src/content/docs/docs/incident-management/war-rooms/images/war-room-conference-call.png index a961dc25..2a6593de 100644 Binary files a/src/content/docs/docs/incident-management/war-rooms/images/war-room-conference-call.png and b/src/content/docs/docs/incident-management/war-rooms/images/war-room-conference-call.png differ diff --git a/src/content/docs/docs/incident-management/war-rooms/images/war-room-settings.png b/src/content/docs/docs/incident-management/war-rooms/images/war-room-settings.png index 3d8fce14..b62079dd 100644 Binary files a/src/content/docs/docs/incident-management/war-rooms/images/war-room-settings.png and b/src/content/docs/docs/incident-management/war-rooms/images/war-room-settings.png differ diff --git a/src/content/docs/docs/incident-management/war-rooms/setup.mdx b/src/content/docs/docs/incident-management/war-rooms/setup.mdx index 05491613..d5e91931 100644 --- a/src/content/docs/docs/incident-management/war-rooms/setup.mdx +++ b/src/content/docs/docs/incident-management/war-rooms/setup.mdx @@ -10,7 +10,7 @@ import { Steps } from '@astrojs/starlight/components'; War rooms run on the chat connection you already use for incident notifications. Point them at a Slack or Microsoft Teams channel, decide who gets invited, and optionally let KloudMate create a conference call for each incident. -The settings live on **Incidents → Settings**, under **War rooms**, below the **ChatOps** card where Slack and Microsoft Teams are connected. You need the **Developer** role to change them. Everyone else sees them read-only. +The settings live on **Incident Management → Settings**, under **War rooms**, below the **ChatOps** card where Slack and Microsoft Teams are connected. You need the **Developer** role to change them. Everyone else sees them read-only. **Where rooms open** lists every connected Slack workspace and every Teams team channel, each named with its app, such as **Slack · Acme**. A room opens in the app of the one you pick. @@ -22,7 +22,7 @@ The settings live on **Incidents → Settings**, under **War rooms**, below the ## Connect ChatOps -The **ChatOps** card on **Incidents → Settings** connects Slack and Microsoft Teams to Incident Management, so responders can act on incidents from chat. War rooms open in the workspaces and channels connected here, so set this up first. +The **ChatOps** card on **Incident Management → Settings** connects Slack and Microsoft Teams to Incident Management, so responders can act on incidents from chat. War rooms open in the workspaces and channels connected here, so set this up first. ![The ChatOps card with the Slack panel, showing the Add ChatOps channel button, and the Microsoft Teams panel, showing the Manage teams button](./images/war-room-chatops-card.png) @@ -40,7 +40,7 @@ Slack needs more permissions to open a war room than it does to post a notificat 3. Click **Reconnect** beside the connection and approve the Slack install again. Approving again only adds permissions, so you don't lose what Slack already had. -4. Open **Incidents → Settings** and pick your Slack workspace under **Where rooms open**. +4. Open **Incident Management → Settings** and pick your Slack workspace under **Where rooms open**. KloudMate checks the channel's permissions as soon as you pick it. If anything is missing, a **Reconnect Slack to open war rooms** banner lists the exact scopes, and **Start war room** stays disabled until you fix it. These are the ones it checks: @@ -59,7 +59,7 @@ A Teams room is a new standard channel in a team connected through the KloudMate 1. Connect the team and add one of its channels in KloudMate. See [Microsoft Teams Integration](../../microsoft-teams-integration/). -2. Open **Incidents → Settings** and pick that channel under **Where rooms open**. Rooms open as new channels in its team. +2. Open **Incident Management → Settings** and pick that channel under **Where rooms open**. Rooms open as new channels in its team. 3. Set **After the incident resolves** to a delay. Teams rooms can't use **Keep the room open**. diff --git a/src/content/docs/docs/infrastructure/hosts.mdx b/src/content/docs/docs/infrastructure/hosts.mdx index a441d006..85f82686 100644 --- a/src/content/docs/docs/infrastructure/hosts.mdx +++ b/src/content/docs/docs/infrastructure/hosts.mdx @@ -8,48 +8,29 @@ sidebar: The **Hosts** module provides a centralized view for monitoring the health, performance, and resource utilization of your infrastructure. This view automatically populates with data once the KloudMate Agent is installed on your Linux or Windows servers. -From this view, you can navigate from a fleet-wide overview down to the metrics and logs of an individual host or its associated containers. +From this view, you can move from a fleet-wide overview down to the metrics, processes, containers, and logs of an individual host. -## Overview +## The host list -To access the Hosts module, open **Hosts**. +Open **Hosts** to see every physical or virtual machine running the KloudMate Agent. Each host shows: -The view is divided into two primary resource types: -- **Hosts:** Physical or virtual machines running the KloudMate Agent. -- **Containers:** Docker or containerd instances running on the monitored hosts. +- **Host:** the detected name of the machine, with a green dot while it's reporting. +- **OS:** the operating system type and version, for example `linux` or `windows`. +- **CPU**, **Memory**, and **Disk:** the percentage in use, with a bar that turns orange as usage climbs. +- **Uptime:** how long the host has been running continuously. +- **Last seen:** when the host last sent data. -## List View +![The Hosts list with Active selected, showing each host's OS, CPU, memory, and disk usage, uptime, and last seen time](./images/hosts-list.png) -The default table view provides a high-level summary of your active resources. +### Search and filter hosts -### Host Metrics -For hosts, the following default metrics are displayed: -- **Host Name:** The detected name of the machine. -- **OS:** The operating system type and version (e.g., Linux, Windows). -- **CPU:** The percentage of CPU utilization. -- **Memory:** The percentage of memory used, along with total absolute usage. -- **Disk Used:** The absolute amount of filesystem storage used. -- **Uptime:** The duration the host has been running continuously. - -### Container Metrics -For containers, the following default metrics are displayed: -- **Container Name:** The name of the container. -- **Image:** The container image being run. -- **Runtime:** The runtime environment (e.g., docker, containerd). -- **CPU:** The percentage of CPU utilization. -- **Memory:** The percentage of memory used, along with total absolute usage. - -### Searching and Filtering -You can filter the list view to narrow down the resources you are monitoring: -- **Search:** Search for specific host names or container names. -- **OS Filter:** Filter the host list by Operating System (e.g., linux, windows, darwin). -- **Time Range:** Adjust the global time picker to view resource utilization averages over a specific period. +- **Search:** type part of a host name to narrow the list. +- **Active**, **Inactive**, or **All:** **Active** (the default) lists hosts that are reporting now. **Inactive** lists hosts that have stopped reporting, with a gray dot and dashes in place of their metrics. +- **Auto-refresh:** click the refresh button to reload the list, or pick an interval from the menu beside it, from **5s** to **30m**. **Off** turns auto-refresh off. ## Drill-down View -Clicking on any Host or Container row opens a detailed drill-down drawer. This allows you to investigate the resource without leaving the context of your fleet view. - -The drill-down drawer contains the following tabs depending on the resource type: +Click a host to open its details in a drawer. The drawer header shows the number of active alerts for the host. A host that is also a Kubernetes node is labeled **Kubernetes Node**. ### Metrics Tab Displays interactive time-series charts for the resource. @@ -58,19 +39,26 @@ Displays interactive time-series charts for the resource. ![The Metrics tab of a host, with tiles for memory, CPU, file system, inode, and disk IO, and charts for memory usage, CPU utilisation, CPU idle, and average CPU load](./images/hosts-metrics-tab.png) -### Logs Tab -Provides immediate access to the logs generated by the selected resource. -- You can search, filter, and analyze logs specific to that host or container directly within the drawer. +### Processes Tab (Hosts Only) +Lists the processes that use the most CPU and memory on the host, with **CPU by process** and **Memory by process** charts over the selected time range. + +Process monitoring is off by default. To turn it on for a host, go to **Settings** > **Agents & Pipelines**, click **Configure** for the host's agent, and open **Processes**. + +![The Processes tab of a host, with processes ranked by CPU and by memory, and CPU and memory charts per process](./images/hosts-processes-tab.png) ### Containers Tab (Hosts Only) When inspecting a Host, this tab lists all the active containers running on that specific machine, displaying their individual CPU, Memory, Image, and Runtime metrics. Clicking a container in this list updates the drawer to show the details for that container. +### Logs Tab +Provides immediate access to the logs generated by the selected resource. +- You can search, filter, and analyze logs specific to that host or container directly within the drawer. + ### Topology Tab (Hosts Only) -The last tab in the host drawer lists the services and databases that run on the host, what it talks with, and the EC2 instance it runs on. When the host runs on an EC2 instance, the tab also lists that instance's security groups, subnet, volumes, and target groups. +The last tab in the host drawer lists the containers, services, and databases that run on the host, what it talks with, and the EC2 instance it runs on. When the host runs on an EC2 instance, the tab also lists that instance's security groups, subnet, volumes, and target groups. Each group shows how many of its resources are alerting. Hover over a resource's **firing** count to see its alerts, and click an alert to open its rule in a new tab. -![The Topology tab of a host, listing the databases and services that run on it](./images/hosts-topology-tab.png) +![The Topology tab of a host, with Runs here expanded to list the containers and services on it](./images/hosts-topology-tab.png) Linking a host to its EC2 instance needs KloudMate agent 2.2.0 or later. If an AWS account is connected and the host runs an older agent, the tab asks you to [upgrade the agent](../../kloudmate-agent/upgrade/). diff --git a/src/content/docs/docs/infrastructure/images/hosts-list.png b/src/content/docs/docs/infrastructure/images/hosts-list.png new file mode 100644 index 00000000..1846d00c Binary files /dev/null and b/src/content/docs/docs/infrastructure/images/hosts-list.png differ diff --git a/src/content/docs/docs/infrastructure/images/hosts-metrics-tab.png b/src/content/docs/docs/infrastructure/images/hosts-metrics-tab.png index 0a4a35c0..58686dae 100644 Binary files a/src/content/docs/docs/infrastructure/images/hosts-metrics-tab.png and b/src/content/docs/docs/infrastructure/images/hosts-metrics-tab.png differ diff --git a/src/content/docs/docs/infrastructure/images/hosts-processes-tab.png b/src/content/docs/docs/infrastructure/images/hosts-processes-tab.png new file mode 100644 index 00000000..f4de854d Binary files /dev/null and b/src/content/docs/docs/infrastructure/images/hosts-processes-tab.png differ diff --git a/src/content/docs/docs/infrastructure/images/hosts-topology-tab.png b/src/content/docs/docs/infrastructure/images/hosts-topology-tab.png index eaa292e6..ca3b9e0c 100644 Binary files a/src/content/docs/docs/infrastructure/images/hosts-topology-tab.png and b/src/content/docs/docs/infrastructure/images/hosts-topology-tab.png differ diff --git a/src/content/docs/docs/infrastructure/images/inventory-by-type-aws.png b/src/content/docs/docs/infrastructure/images/inventory-by-type-aws.png index 1783d28b..0b180585 100644 Binary files a/src/content/docs/docs/infrastructure/images/inventory-by-type-aws.png and b/src/content/docs/docs/infrastructure/images/inventory-by-type-aws.png differ diff --git a/src/content/docs/docs/infrastructure/images/inventory-by-type.png b/src/content/docs/docs/infrastructure/images/inventory-by-type.png index 9d42125a..4add3698 100644 Binary files a/src/content/docs/docs/infrastructure/images/inventory-by-type.png and b/src/content/docs/docs/infrastructure/images/inventory-by-type.png differ diff --git a/src/content/docs/docs/infrastructure/images/nvidia-gpu-dashboard-full.png b/src/content/docs/docs/infrastructure/images/nvidia-gpu-dashboard-full.png new file mode 100644 index 00000000..04e020d5 Binary files /dev/null and b/src/content/docs/docs/infrastructure/images/nvidia-gpu-dashboard-full.png differ diff --git a/src/content/docs/docs/infrastructure/images/nvidia-gpu-dashboard.png b/src/content/docs/docs/infrastructure/images/nvidia-gpu-dashboard.png new file mode 100644 index 00000000..a67eb3bb Binary files /dev/null and b/src/content/docs/docs/infrastructure/images/nvidia-gpu-dashboard.png differ diff --git a/src/content/docs/docs/infrastructure/index.mdx b/src/content/docs/docs/infrastructure/index.mdx index 9a2ee6cc..8233b6e1 100644 --- a/src/content/docs/docs/infrastructure/index.mdx +++ b/src/content/docs/docs/infrastructure/index.mdx @@ -19,16 +19,19 @@ The fastest way to start collecting host and Kubernetes metrics is the KloudMate - Kubernetes clusters and workloads - Prometheus-exported metrics - VMware vCenter environments +- NVIDIA GPUs through dcgm-exporter - Cloud resources through AWS and Azure integrations ## Guides - [Inventory](./inventory/) +- [Topology](./topology/) - [Hosts & Containers](./hosts/) - [Advanced Host Configuration](./server-metrics-to-kloudmate/) - [Kubernetes Monitoring](./kubernetes/) - [Prometheus Integration](./integrations/prometheus-integration/) - [vCenter Integration](./integrations/vcenter-integration/) +- [NVIDIA GPU Monitoring](./integrations/nvidia-gpu-integration/) - [Kafka Integration](./integrations/kafka-integration/) - [Keycloak Integration](./integrations/keycloak-integration/) - [AWS Integration](../../aws-integration/) diff --git a/src/content/docs/docs/infrastructure/integrations/kafka-integration.mdx b/src/content/docs/docs/infrastructure/integrations/kafka-integration.mdx index 9433a77e..fc6f931a 100644 --- a/src/content/docs/docs/infrastructure/integrations/kafka-integration.mdx +++ b/src/content/docs/docs/infrastructure/integrations/kafka-integration.mdx @@ -83,7 +83,7 @@ After the Agent restarts: KloudMate provides prebuilt Kafka dashboards through [dashboard templates](https://templates.kloudmate.com/kafka/index.html). These dashboards help you visualize broker availability, topic partitions, consumer lag, offsets, and replication health. -To import and start using these templates, follow the steps described in [Importing a Dashboard](../../../visualize-data/dashboards/#importing-a-dashboard). Alternatively, use [From Template](../../../visualize-data/dashboards/create-a-dashboard/#from-template) when creating a new dashboard to pick from KloudMate's built-in templates. +To use one, create a dashboard with [From Template](../../../visualize-data/dashboards/create-a-dashboard/#from-template) and pick it from KloudMate's built-in templates. ## Default Kafka Metrics diff --git a/src/content/docs/docs/infrastructure/integrations/kafka-prometheus-servicemonitor-integration.mdx b/src/content/docs/docs/infrastructure/integrations/kafka-prometheus-servicemonitor-integration.mdx index 3f53a503..7888bf8f 100644 --- a/src/content/docs/docs/infrastructure/integrations/kafka-prometheus-servicemonitor-integration.mdx +++ b/src/content/docs/docs/infrastructure/integrations/kafka-prometheus-servicemonitor-integration.mdx @@ -95,7 +95,7 @@ kafka_consumergroup_lag ## Standard Kafka Dashboards -To import and start using a template, follow the steps described in [Importing a Dashboard](../../../visualize-data/dashboards/#importing-a-dashboard). Alternatively, use [From Template](../../../visualize-data/dashboards/create-a-dashboard/#from-template) when creating a new dashboard to pick from KloudMate's built-in templates. +To use one, create a dashboard with [From Template](../../../visualize-data/dashboards/create-a-dashboard/#from-template) and pick it from KloudMate's built-in templates. ## Metrics Collected diff --git a/src/content/docs/docs/infrastructure/integrations/nvidia-gpu-integration.mdx b/src/content/docs/docs/infrastructure/integrations/nvidia-gpu-integration.mdx new file mode 100644 index 00000000..d4a72c6b --- /dev/null +++ b/src/content/docs/docs/infrastructure/integrations/nvidia-gpu-integration.mdx @@ -0,0 +1,114 @@ +--- +title: "NVIDIA GPU Monitoring" +description: "Monitor NVIDIA GPU utilization, memory, temperature, power, tensor core activity, and XID errors with NVIDIA dcgm-exporter and the KloudMate Agent." +sidebar: + label: "NVIDIA GPU" + order: 5 +--- + +Track the utilization, memory, temperature, power draw, and health of every NVIDIA GPU on a Linux host. NVIDIA's [dcgm-exporter](https://github.com/NVIDIA/dcgm-exporter) reads each GPU through the Data Center GPU Manager (DCGM) and serves the readings as Prometheus metrics. The KloudMate Agent on the same host scrapes them and sends them to KloudMate, where the **NVIDIA GPU (DCGM)** dashboard shows them per host and per GPU. + +![The NVIDIA GPU (DCGM) dashboard for one host with a Tesla T4: fleet utilization, memory, power and tensor core figures with sparklines, health tiles for the hottest GPU and XID errors, a temperature gauge, and a heatmap of utilization across the fleet](../images/nvidia-gpu-dashboard.png) + +## Before you start + +- A Linux host with an NVIDIA GPU and the NVIDIA driver installed. `nvidia-smi` should list the GPU. +- Docker with the [NVIDIA Container Toolkit](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html), so containers can reach the GPU. +- The [KloudMate Agent](../../../kloudmate-agent/installation/linux-agent/) installed on the same host. + +## Step 1: Run dcgm-exporter + +Start dcgm-exporter as a container on the GPU host: + +```bash +docker run -d --name dcgm-exporter \ + --hostname "$(hostname)" \ + --gpus all --cap-add SYS_ADMIN \ + --restart unless-stopped \ + -p 9400:9400 \ + nvcr.io/nvidia/k8s/dcgm-exporter:4.5.2-4.8.1-ubuntu22.04 +``` + +`--hostname` sets the exporter's `Hostname` label to the host's name. Without it, the label carries the container ID. + +Check that the exporter serves metrics: + +```bash +curl -s localhost:9400/metrics | grep DCGM_FI_DEV_GPU_UTIL +``` + +Each GPU returns one line, labeled with its index, UUID, and model, for example `DCGM_FI_DEV_GPU_UTIL{gpu="0",UUID="GPU-451f…",modelName="Tesla T4",…} 87`. + +## Step 2: Add the scrape to the agent + +1. Go to **Settings → Agents & Pipelines** and open the agent on the GPU host. +2. Open the **Collector Config** tab. +3. In **Custom config override**, add the following and click **Save override**: + +```yaml +receivers: + prometheus/dcgm: + config: + scrape_configs: + - job_name: dcgm + scrape_interval: 15s + static_configs: + - targets: ["localhost:9400"] +service: + pipelines: + metrics: + receivers: [prometheus/dcgm] +``` + +This adds the receiver to the agent's existing `metrics` pipeline, so every GPU metric carries the same `host_name` and cloud attributes as the host's own metrics. The agent picks up the change on its next check-in, usually within a minute. If the agent runs in manual mode, add the same receiver to the collector configuration directly. See [Custom config override](../../../kloudmate-agent/custom-config-override/) for how the override merges. + +## Step 3: Check the data in Explore + +Open [Explore](../../../visualize-data/explore/), choose the metrics dataset, and query `DCGM_FI_DEV_GPU_UTIL` grouped by `host_name` and `gpu`. Metric names keep dcgm-exporter's upper case, so search for `DCGM_FI`, not `dcgm_fi`. + +## Install the dashboard + +Install the **NVIDIA GPU (DCGM)** dashboard from the [gallery](../../../platform/gallery/): click **Import** on the **Dashboards** list and paste the ID `nvidia-gpu-dcgm`. After installing, pick the hosts to show in **Host**. It lists every host that reports DCGM metrics. + +![The full NVIDIA GPU (DCGM) dashboard: fleet and health tiles, temperature gauge, utilization heatmap, eight per-GPU charts, and the GPU inventory table](../images/nvidia-gpu-dashboard-full.png) + +| Panel | Metric | What to look for | +|---|---|---| +| GPU fleet | `DCGM_FI_DEV_GPU_UTIL`, `DCGM_FI_DEV_FB_USED`, `DCGM_FI_DEV_POWER_USAGE`, `DCGM_FI_PROF_PIPE_TENSOR_ACTIVE` | Average utilization, total memory used, total power draw, and average tensor core activity across the selected GPUs, each with a sparkline. | +| GPU health | `DCGM_FI_DEV_GPU_TEMP`, `DCGM_FI_DEV_XID_ERRORS` | The hottest GPU turns amber at 75 °C and red at 85 °C. XID errors turns red when any GPU reports one. | +| Temperature per GPU | `DCGM_FI_DEV_GPU_TEMP` | A gauge per GPU. Above the card's slowdown threshold, the GPU lowers its clocks. | +| Utilization across the fleet | `DCGM_FI_DEV_GPU_UTIL` | How many GPUs ran at each utilization level over time. A dark band at the bottom is idle capacity. | +| GPU utilization | `DCGM_FI_DEV_GPU_UTIL` | Share of time a kernel was running. A GPU stuck at 0% while a job is scheduled on it points to a stalled job or a data loading bottleneck. | +| GPU memory used | `DCGM_FI_DEV_FB_USED` | Framebuffer memory in use, in MiB. A job that runs out of GPU memory fails, so watch the headroom against the card's total. | +| Temperature | `DCGM_FI_DEV_GPU_TEMP` | Core temperature in °C. The dashed line marks 85 °C. | +| Power draw | `DCGM_FI_DEV_POWER_USAGE` | Watts drawn per GPU, for rack power planning. | +| Tensor core activity | `DCGM_FI_PROF_PIPE_TENSOR_ACTIVE` | Share of cycles the tensor cores were busy. Mixed-precision training and inference run on them. | +| SM clock | `DCGM_FI_DEV_SM_CLOCK` | A clock that drops while utilization stays high means the GPU is throttling for power or heat. | +| PCIe throughput | `DCGM_FI_PROF_PCIE_TX_BYTES`, `DCGM_FI_PROF_PCIE_RX_BYTES` | Bytes per second between the host and each GPU. | +| Memory bandwidth utilization | `DCGM_FI_DEV_MEM_COPY_UTIL` | Share of time GPU memory was being read or written. High bandwidth with low utilization means the job is memory bound. | +| GPU inventory | | Every GPU reporting, with its host, model, and current utilization, temperature, memory, and power. | + +dcgm-exporter only sends `DCGM_FI_DEV_XID_ERRORS` after a GPU has reported an XID error, so the **XID errors** tile reads **0** on a healthy host. To find the code a GPU reported, query `DCGM_FI_DEV_XID_ERRORS` in Explore grouped by `host_name` and `gpu`, and look it up in [NVIDIA's XID catalog](https://docs.nvidia.com/deploy/xid-errors/). + +The `DCGM_FI_PROF_*` profiling metrics need a GPU that supports DCGM profiling, such as the data center T4, A100, and H100. On a GPU without profiling support, the tensor core and PCIe panels stay empty. + +## Alert on GPU problems + +Useful [alerts](../../../alerts/create-alerts/) to start with: + +- **XID error reported:** `DCGM_FI_DEV_XID_ERRORS` above 0 for any `host_name` and `gpu`. Most XID errors need a driver reset or a hardware check. +- **GPU running hot:** `DCGM_FI_DEV_GPU_TEMP` above the slowdown temperature that `nvidia-smi -q -d TEMPERATURE` reports for the card. +- **GPU memory almost full:** `DCGM_FI_DEV_FB_USED` above 90% of the card's memory. +- **GPU host stopped reporting:** turn on [absence detection](../../../alerts/instance-absence-detection/) for `DCGM_FI_DEV_GPU_TEMP`, grouped by `host_name`, to catch an exporter or host that goes silent. + +## Troubleshooting + +**`curl localhost:9400/metrics` returns nothing.** Check the exporter's logs with `docker logs dcgm-exporter`. If the container can't find a GPU, the NVIDIA Container Toolkit isn't installed or Docker wasn't restarted after installing it. Run `docker run --rm --gpus all ubuntu nvidia-smi` to test GPU access from a container. + +**The exporter works but no `DCGM_FI` metrics appear in KloudMate.** Confirm the override was saved on the agent running on the GPU host, then check the agent's logs with `journalctl -u kmagent` for errors mentioning `prometheus/dcgm`. The scrape target is `localhost`, so the agent and the exporter must run on the same host. + +## Related + +- [Prometheus Integration](../prometheus-integration/): the general pattern for scraping any Prometheus endpoint. +- [Custom config override](../../../kloudmate-agent/custom-config-override/): how overrides merge into a managed agent's configuration. +- [AI Observability](../../../ai-observability/): requests, tokens, cost, and errors for the LLM applications running on these GPUs. diff --git a/src/content/docs/docs/infrastructure/inventory-export.mdx b/src/content/docs/docs/infrastructure/inventory-export.mdx new file mode 100644 index 00000000..8ee7f0a3 --- /dev/null +++ b/src/content/docs/docs/infrastructure/inventory-export.mdx @@ -0,0 +1,167 @@ +--- +title: "Export the Inventory" +description: "Pull a workspace's resources and the relationships between them as JSON or CSV, to fill a CMDB such as ManageEngine ServiceDesk Plus or any other tool that keeps its own copy." +sidebar: + order: 0.6 +--- + +The inventory export API returns the resources in a workspace's [Inventory](../inventory/) and the relationships between them: what runs on what, what contains what, and what calls what. Use it to fill a CMDB, such as ManageEngine ServiceDesk Plus or ServiceNow, or any tool that keeps its own list of your infrastructure. + +Two endpoints, each in two formats: + +| Endpoint | Returns | +| --- | --- | +| `GET /inventory/resources` | Cloud resources, hosts, Kubernetes objects, services, and databases | +| `GET /inventory/relationships` | The links between those resources | + +- **JSON** returns a page at a time, with a cursor for the next page. Use it from a script or a scheduled job. +- **CSV** returns the whole export in one file. Use it to import into a spreadsheet or a CMDB's import wizard. + +## Before you start + +Use the base URL for your organization's region: + +| Region | Base URL | +| --- | --- | +| US | `https://api.kloudmate.com` | +| India | `https://api.in.kloudmate.com` | + +Send a [personal API key](../../platform/settings/api-keys/) in the `x-api-key` header. A tool that can't send a custom header, such as ServiceNow's file import, can send the key as the password of HTTP basic authentication, with any user name. The key acts as you, so it can export any workspace you are a member of, with any role. Every request names the workspace in the `workspace_id` query parameter. + +## What the export holds + +The export lists the resources Inventory lists: + +- A cloud resource until its account's sync no longer finds it. +- A host, Kubernetes object, or service while KloudMate still sees its telemetry. One not seen for two hours drops out. +- Containers, network endpoints, and storage mounts are left out, because their names are ids. Name one of these kinds in `kind` to export it anyway. + +A relationship is exported only when the resources at both ends are, so every relationship names resources the resource export also returns. + +## Query parameters + +Both endpoints take the same parameters. + +| Parameter | Description | +| --- | --- | +| `workspace_id` | Required. The workspace to export. | +| `kind` | Only these kinds, comma-separated, such as `aws.ec2.instance,host`. For relationships, both ends must be one of them. | +| `account_id` | Only the resources of one connected cloud account, by its KloudMate account id. | +| `tags` | Only resources carrying every one of these tags, as a JSON object: `{"team":"payments","env":"prod"}`. URL-encode it. | +| `format` | `json` (the default) or `csv`. | +| `limit` | JSON only. Rows per page, from 1 to 1000. The default is 500. | +| `cursor` | JSON only. The `next_cursor` of the page before. | +| `tag_columns` | Resources CSV only. Tag keys that each get their own column, comma-separated, such as `team,env`. | + +## Export resources + +```bash +curl "https://api.kloudmate.com/inventory/resources?workspace_id=YOUR_WORKSPACE_ID&kind=aws.ec2.instance,host" \ + -H "x-api-key: YOUR_API_KEY" +``` + +```json +{ + "resources": [ + { + "id": "0c2f6f1e-6a4b-4d0e-9b1f-6f0d2a7c9e11", + "urn": "arn:aws:ec2:us-east-1:123456789012:instance/i-0abc123", + "kind": "aws.ec2.instance", + "name": "web-1", + "account": { "id": "acc_Xy12AbCdEf34", "name": "prod" }, + "cloud": "aws", + "cloud_account_id": "123456789012", + "region": "us-east-1", + "tags": { "team": "payments", "env": "prod" }, + "first_seen": "2026-10-02T08:15:00Z", + "last_seen": "2026-11-25T09:00:00Z" + } + ], + "next_cursor": "eyJkIjoibmV4dCIsInYiOiIwYzJm..." +} +``` + +| Field | Description | +| --- | --- | +| `id` | KloudMate's id for the resource. It stays the same while the resource exists, so use it to match the resource on the next export. | +| `urn` | A readable unique name: a cloud resource's ARN, or the kind and identity of a host, Kubernetes object, or service, such as `k8s.deployment:prod/payments/checkout`. | +| `kind` | The resource type, such as `aws.ec2.instance`, `host`, `k8s.deployment`, or `service`. | +| `account` | The connected cloud account, or `null` for a resource from telemetry. | +| `cloud`, `cloud_account_id`, `region` | Where a cloud resource lives. `null` for a resource from telemetry. | +| `tags` | The resource's tags. Kubernetes objects carry their cluster and namespace here. | +| `first_seen`, `last_seen` | When KloudMate first and last saw the resource. | + +## Export relationships + +```bash +curl "https://api.kloudmate.com/inventory/relationships?workspace_id=YOUR_WORKSPACE_ID" \ + -H "x-api-key: YOUR_API_KEY" +``` + +```json +{ + "relationships": [ + { + "from": { "id": "5d1e...", "urn": "host:web-1", "kind": "host", "name": "web-1" }, + "type": "runs_on", + "class": "placement", + "to": { "id": "0c2f...", "urn": "arn:aws:ec2:us-east-1:123456789012:instance/i-0abc123", "kind": "aws.ec2.instance", "name": "web-1" }, + "first_seen": "2026-10-02T08:20:00Z", + "last_seen": "2026-11-25T09:00:00Z" + } + ], + "next_cursor": null +} +``` + +A relationship reads as a sentence from `from` to `to`: the host `runs_on` the instance, a VPC `contains` a subnet, a service `calls` another. `class` groups the types: + +| Class | Types | Meaning | +| --- | --- | --- | +| `placement` | `runs_on`, `instance_of`, and similar | Where something runs or what it is an instance of | +| `ownership` | `contains`, `member_of`, and similar | A parent or group | +| `dependency` | `calls`, `talks_to`, `reads_from`, `attached_to`, `associated`, and similar | Something it uses or talks to | + +## Page through the results + +A JSON response holds `next_cursor` while there may be more. Send it back as `cursor` with the same other parameters, and stop when `next_cursor` is `null`. A page can hold fewer rows than `limit`, or none, and still have a `next_cursor`, so stop on the cursor, not on the row count. + +A cursor that can't be read gets a `400` response. Start again from the first page. + +## Download CSV + +Add `format=csv` to get the whole export as one file: + +```bash +curl -G "https://api.kloudmate.com/inventory/resources" \ + -H "x-api-key: YOUR_API_KEY" \ + --data-urlencode "workspace_id=YOUR_WORKSPACE_ID" \ + --data-urlencode "format=csv" \ + --data-urlencode "tag_columns=team,env" \ + -o resources.csv + +curl -G "https://api.kloudmate.com/inventory/relationships" \ + -H "x-api-key: YOUR_API_KEY" \ + --data-urlencode "workspace_id=YOUR_WORKSPACE_ID" \ + --data-urlencode "format=csv" \ + -o relationships.csv +``` + +The resources file has the JSON fields as columns, with `account` as the account name, `tags` as JSON, and a `tag:` column for each key in `tag_columns`. The relationships file has `from_id`, `from_urn`, `from_kind`, `from_name`, `type`, `class`, `to_id`, `to_urn`, `to_kind`, `to_name`, `first_seen`, and `last_seen`. + +A value that starts with `=`, `+`, `-`, or `@` is written with a leading `'`, so a spreadsheet shows it as text instead of running it as a formula. + +## Import into ManageEngine ServiceDesk Plus + +ServiceDesk Plus imports configuration items (CIs) and their relationships from CSV in two steps. + +1. Download `resources.csv` with the kinds you want as CIs, for example `kind=aws.ec2.instance,aws.rds.dbinstance,host`. Download `relationships.csv` with the same `kind`, so every relationship names CIs from the first file. +2. In ServiceDesk Plus, open **CMDB**, import CIs from the resources file into the matching CI type, and map `name` and the `tag:` columns to CI fields. ServiceDesk Plus matches an imported CI to an existing one by name, so a later import updates it. Map `id` to a custom field as well, to keep KloudMate's id on each CI. +3. Import CI relationships from the relationships file, mapping `from_name` to the source CI, `to_name` to the destination CI, and `type` to the relationship type. + +To keep the CMDB current, call the JSON endpoints from a ServiceDesk Plus scheduled custom function, or from your own scheduled job, and add or update CIs through the ServiceDesk Plus CMDB API. + +## Related + +- [Inventory](../inventory/): browse the resources the export returns. +- [API Keys](../../platform/settings/api-keys/): create the personal key the export authenticates with. diff --git a/src/content/docs/docs/infrastructure/inventory.mdx b/src/content/docs/docs/infrastructure/inventory.mdx index 6fb1971b..8c02398b 100644 --- a/src/content/docs/docs/infrastructure/inventory.mdx +++ b/src/content/docs/docs/infrastructure/inventory.mdx @@ -5,19 +5,19 @@ sidebar: order: 0.5 --- -**Inventory** lists everything KloudMate knows about in your workspace: cloud resources, hosts, Kubernetes objects, services, and databases. Use it to find a resource, see where it runs, and check what it connects to. To see how a resource performs, open it in Kubernetes, Hosts, APM, or Databases. +**Inventory** lists everything KloudMate knows about in your workspace: cloud resources, hosts, Kubernetes objects, services, and databases. Use it to find a resource, see where it runs, and check what it connects to. To see how your resources fit together, open [Topology](../topology/). To see how a resource performs, open it in Kubernetes, Hosts, APM, or Databases. You don't need an AWS account to use Inventory. The [KloudMate agent](../../kloudmate-agent/) adds your hosts, Kubernetes objects, services, and databases. [Connect an AWS account](../../aws-integration/account-setup/) to add its resources too. ## Browse by type -Open **Inventory**. The **By type** tab shows a card for each resource type with its count, grouped into **AWS**, **Kubernetes**, **Hosts and services**, **Databases**, and **Other**. Click a card to list the resources of that type on the **All resources** tab. +Open **Inventory**. The **By type** view shows a card for each resource type with its count, grouped into **AWS**, **Kubernetes**, **Hosts and services**, **Databases**, and **Other**. Click a card to list the resources of that type in the **All resources** view. Switch between **By type**, **All resources**, and **Topology** from the sidebar. -![The By type tab of Inventory, with cards for Kubernetes, Hosts and services, and Databases resource types](./images/inventory-by-type.png) +![The By type view of Inventory, with cards for Kubernetes, Hosts and services, and Databases resource types](./images/inventory-by-type.png) AWS resources get their own group after you connect an AWS account. -![The AWS group on the By type tab, with cards for EC2 security groups, Lambda functions, S3 buckets, and other AWS resource types](./images/inventory-by-type-aws.png) +![The AWS group on the By type view, with cards for EC2 security groups, Lambda functions, S3 buckets, and other AWS resource types](./images/inventory-by-type-aws.png) ## Filter by source @@ -27,13 +27,13 @@ When the workspace has a cloud account, use the **Source** filter to choose wher - **A cloud account:** the resources of one connected account. - **Telemetry:** the resources the KloudMate agent reports, such as hosts, Kubernetes objects, and services. -The filter applies to both tabs. Without a cloud account, every resource comes from telemetry, so the filter doesn't show. +The filter applies to both views. Without a cloud account, every resource comes from telemetry, so the filter doesn't show. If you pick an AWS account that has regions turned off, some of its resources may be missing. Click **Review** on the warning to turn those regions back on. See [Region sync status](../../platform/settings/data-sources/#region-sync-status). ## Find a resource -The **All resources** tab lists each resource with its **Name**, **Type**, **Where**, **Tags**, and **Last seen**. Search by name or key to find one. +The **All resources** view lists each resource with its **Name**, **Type**, **Where**, **Tags**, and **Last seen**. Search by name or key to find one. **Where** shows where the resource lives: @@ -65,7 +65,7 @@ Click a resource to open its details. Every resource has these tabs: AWS resources also have **Alerts**, **Metrics**, and **Config** tabs, with the resource's active alerts, its CloudWatch metrics, and its AWS configuration. -When a resource has its own page elsewhere in KloudMate, a button takes you there: **Open in Kubernetes**, **Open in Hosts**, **Open in APM**, or **Open in Databases**. +When a resource has its own page elsewhere in KloudMate, a link takes you there: **Open in Kubernetes**, **Open in Hosts**, **Open in APM**, or **Open in Databases**. **View in Topology** opens the resource on the [Topology](../topology/) map with what's directly connected to it. ## When Inventory is empty @@ -73,6 +73,8 @@ If Inventory shows **No resources yet**, nothing has reported to the workspace. ## Related +- [Topology](../topology/): the workspace as a map, with services over their hosts, the calls between them, and network cables. - [Kubernetes Monitoring](../kubernetes/): how clusters, nodes, and workloads perform, and a map of the traffic between workloads. - [Hosts & Containers](../hosts/): host metrics and logs, and what each host connects to. - [Alert Groups](../../alerts/alert-groups/): the resources an alert group affects, and what else is alerting around them. +- [Export the Inventory](../inventory-export/): pull resources and their relationships as JSON or CSV, for a CMDB or another tool. diff --git a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-jobs-tab.png b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-jobs-tab.png index c87de565..47241ba0 100644 Binary files a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-jobs-tab.png and b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-jobs-tab.png differ diff --git a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-map-tab.png b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-map-tab.png index 85b2ceef..23fa29fb 100644 Binary files a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-map-tab.png and b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-map-tab.png differ diff --git a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-nodes-tab.png b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-nodes-tab.png index d8801ff9..5b58e7b3 100644 Binary files a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-nodes-tab.png and b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-nodes-tab.png differ diff --git a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-reporting-filter.png b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-reporting-filter.png index 6d97d145..d9f2014d 100644 Binary files a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-reporting-filter.png and b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-reporting-filter.png differ diff --git a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-storage-tab.png b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-storage-tab.png index c9be9758..ce948e04 100644 Binary files a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-storage-tab.png and b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-storage-tab.png differ diff --git a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-topology-tab.png b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-topology-tab.png index 39876cfb..f467abbf 100644 Binary files a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-topology-tab.png and b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-topology-tab.png differ diff --git a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-workloads-tab.png b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-workloads-tab.png index cec8dfb0..2b8f0835 100644 Binary files a/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-workloads-tab.png and b/src/content/docs/docs/infrastructure/kubernetes/images/kubernetes-workloads-tab.png differ diff --git a/src/content/docs/docs/infrastructure/kubernetes/index.mdx b/src/content/docs/docs/infrastructure/kubernetes/index.mdx index c5f444d1..08a206d3 100644 --- a/src/content/docs/docs/infrastructure/kubernetes/index.mdx +++ b/src/content/docs/docs/infrastructure/kubernetes/index.mdx @@ -7,7 +7,7 @@ sidebar: --- Kubernetes Monitoring in KloudMate gives you visibility into cluster health, workload availability, resource usage, pod behavior, and related telemetry collected by the KloudMate Agent. -KloudMate organizes Kubernetes data into tabs for clusters, nodes, namespaces, pods, storage, workloads, and jobs, plus a map of the traffic between workloads, so you can move from fleet-level health to pod-level troubleshooting quickly. +KloudMate organizes Kubernetes data into views for clusters, nodes, namespaces, pods, storage, workloads, and jobs, plus a map of the traffic between workloads. Switch between them from the sidebar on the **Kubernetes** page, so you can move from fleet-level health to pod-level troubleshooting quickly. ## What This Covers @@ -55,43 +55,43 @@ KloudMate provides visibility into all major Kubernetes components: ### Clusters -The **Clusters** tab lists every connected cluster, with overall health, capacity, and scale at a glance. Use it as the starting point before drilling into a specific node, namespace, or workload. +The **Clusters** view lists every connected cluster, with overall health, capacity, and scale at a glance. Use it as the starting point before drilling into a specific node, namespace, or workload. ### Nodes -The **Nodes** tab lists every node across your clusters, showing node health and infrastructure-level resource usage: allocatable CPU and memory alongside current usage for each. Use it to spot nodes running hot before they affect scheduling. +The **Nodes** view lists every node across your clusters, showing node health and infrastructure-level resource usage: allocatable CPU and memory alongside current usage for each. Use it to spot nodes running hot before they affect scheduling. -![Nodes tab in Kubernetes, showing CPU and memory allocatable capacity and usage per node](./images/kubernetes-nodes-tab.png) +![The Nodes view in Kubernetes, showing CPU and memory allocatable capacity and usage per node](./images/kubernetes-nodes-tab.png) ### Namespaces -The **Namespaces** tab breaks resource distribution down by namespace, so you can see how CPU, memory, and workload counts spread across the teams, applications, or environments sharing a cluster. +The **Namespaces** view breaks resource distribution down by namespace, so you can see how CPU, memory, and workload counts spread across the teams, applications, or environments sharing a cluster. ### Pods -The **Pods** tab lists every pod across your clusters, with its performance, restart count, and resource consumption. Use it to find pods that are restarting frequently or running hot before they affect the workloads they belong to. +The **Pods** view lists every pod across your clusters, with its performance, restart count, and resource consumption. Use it to find pods that are restarting frequently or running hot before they affect the workloads they belong to. ### Storage -The **Storage** tab lists Persistent Volumes across your clusters, with their status, claim, storage class, and capacity. Use it to see what's provisioned and bound without checking each cluster individually. To list Persistent Volume Claims instead, select **Persistent Volume Claim** as the storage type. +The **Storage** view lists Persistent Volumes across your clusters, with their status, claim, storage class, and capacity. Use it to see what's provisioned and bound without checking each cluster individually. To list Persistent Volume Claims instead, select **Persistent Volume Claim** as the storage type. -![Storage tab in Kubernetes, listing Persistent Volumes with their cluster, status, claim, storage class, and capacity](./images/kubernetes-storage-tab.png) +![The Storage view in Kubernetes, listing Persistent Volumes with their cluster, status, claim, storage class, and capacity](./images/kubernetes-storage-tab.png) ### Workloads -The **Workloads** tab lists deployments, daemonsets, statefulsets, and other workload types across your clusters, showing their health and availability alongside pod counts and CPU and memory requests and limits. Filter by workload type, namespace, or cluster to narrow the list. +The **Workloads** view lists deployments, daemonsets, statefulsets, and other workload types across your clusters, showing their health and availability alongside pod counts and CPU and memory requests and limits. Filter by workload type, namespace, or cluster to narrow the list. -![Workloads tab in Kubernetes, listing deployments with pod counts and CPU/memory request and limit values](./images/kubernetes-workloads-tab.png) +![The Workloads view in Kubernetes, listing deployments with pod counts and CPU/memory request and limit values](./images/kubernetes-workloads-tab.png) ### Jobs -The **Jobs** tab lists Jobs across your clusters, with their status, completions (succeeded out of desired, the same count `kubectl` shows), and active, failed, and parallelism counts. Filter by cluster, namespace, or status to find Jobs that failed or haven't completed. To list CronJobs instead, select **CronJob** as the job type. Each CronJob shows its cluster, namespace, and number of active jobs. +The **Jobs** view lists Jobs across your clusters, with their status, completions (succeeded out of desired, the same count `kubectl` shows), and active, failed, and parallelism counts. Filter by cluster, namespace, or status to find Jobs that failed or haven't completed. To list CronJobs instead, select **CronJob** as the job type. Each CronJob shows its cluster, namespace, and number of active jobs. -![Jobs tab in Kubernetes](./images/kubernetes-jobs-tab.png) +![The Jobs view in Kubernetes, listing a completed Job with its completions, active, failed, and parallelism counts](./images/kubernetes-jobs-tab.png) ### Map -The **Map** tab shows how the workloads in a cluster talk to each other. Pick a cluster, then pick a namespace or keep **All namespaces**. +The **Map** view shows how the workloads in a cluster talk to each other. Pick a cluster, then pick a namespace or keep **All namespaces**. - **All namespaces** shows one box per namespace, with how many workloads and Services it has and how many of them are alerting. A line joins two namespaces whose workloads talk to each other. Click a namespace to open its map. - **A single namespace** shows its Deployments, StatefulSets, DaemonSets, and Services, with a line between each pair that talks. Workloads and Services in other namespaces that they talk to are dimmed. Click one to open its namespace. @@ -102,7 +102,7 @@ The map draws workloads and Services that sent data in the last 2 hours, up to 2 The lines come from network flow data that the KloudMate agent collects with eBPF, so the nodes need a kernel that supports it. See [eBPF requirements](../../kloudmate-agent/ebpf-observability/#deployment-modes-and-requirements). Without flow data, the map draws no lines and notes that the cluster sends no traffic data. -![The Map tab in Kubernetes, with one box per namespace, their workload and Service counts, alerting counts, and lines between namespaces that talk to each other](./images/kubernetes-map-tab.png) +![The Map view in Kubernetes, with one box per namespace, their workload and Service counts, alerting counts, and lines between namespaces that talk to each other](./images/kubernetes-map-tab.png) ## See what a resource connects to @@ -114,11 +114,11 @@ Each group shows how many of its resources are alerting, and a group with alerti ## Find resources that stopped reporting -Every tab includes a **Last seen** column. A resource stays in the list for seven days after it last reported, and its **Last seen** dot turns from green to gray once it has gone 15 minutes without reporting. If a resource reported nothing in the selected time range, its metric cells show a dash. +Every list includes a **Last seen** column. A resource stays in the list for seven days after it last reported, and its **Last seen** dot turns from green to gray once it has gone 15 minutes without reporting. If a resource reported nothing in the selected time range, its metric cells show a dash. Set the **Reporting** filter to **Reporting now** to list only live resources, or to **Stopped reporting** to find resources that stopped sending data. When the filter is empty, the pod, ReplicaSet, and Job lists show only resources that are reporting now, and every other list shows everything seen in the last seven days. -![Reporting filter in Kubernetes](./images/kubernetes-reporting-filter.png) +![The Reporting filter open on the Jobs view, with Stopped reporting highlighted](./images/kubernetes-reporting-filter.png) ## Validation Checklist diff --git a/src/content/docs/docs/infrastructure/topology.mdx b/src/content/docs/docs/infrastructure/topology.mdx new file mode 100644 index 00000000..cb7b1eaf --- /dev/null +++ b/src/content/docs/docs/infrastructure/topology.mdx @@ -0,0 +1,120 @@ +--- +title: "Topology" +description: "See your workspace as one map: services over the hosts they run on, the calls between them, network devices and their cables, and where a problem starts." +sidebar: + order: 0.55 +--- + +**Topology** draws your workspace as a map. Services sit over the hosts they run on, calls run between services, network devices sit beside the hosts cabled to them, and the APIs and AWS services you call sit on a ring outside. Use it to see how your system fits together, find what a resource depends on, and trace an alert back to where it likely started. + +Topology reads the same resources as [Inventory](../inventory/). The [KloudMate agent](../../kloudmate-agent/) adds hosts, Kubernetes workloads, and services, traces add the calls between them, and [SNMP monitoring](../../network-monitoring/) adds network devices and their cables. + +## Open the map + +Open **Inventory** and select **Topology** in the sidebar. The map opens with: + +- Services and the calls between them. +- The hosts those services run on. +- Kubernetes workloads that run a service. +- Network devices and their cables, when the workspace monitors any. + +A resource shows on the map when it calls, is called by, or is cabled to another resource in the workspace. A service with no calls still shows, so you can spot one that has gone quiet. + +Regions and networks place hosts and devices on the map, but they don't draw until you turn them on. External services, workloads that run no service, and network flows start off too. + +## Move around the map + +- **Zoom:** scroll over the map, or use **−**, **Fit**, and **+** in the corner. **Fit** fits everything that's drawn. +- **Pan:** drag the map. +- **Names:** the most important resources are named first. Services are named at every zoom. Network devices, hosts, and workloads get their names as you zoom in. +- **Hover:** point at any resource or line to see a card with its numbers, such as a service's requests per minute, error rate, and p95 latency, or a call's rate and errors. + +When you zoom out, a network with six or more hosts draws as one bubble. The bubble shows how many hosts it holds and how many of them are alerting. Click it to zoom in and open it. + +Colors follow the resource's category: blue for hosts, violet for Kubernetes, teal for services, and orange for databases, caches, and queues. Red always means alerting. + +## Choose what the map draws + +The panel on the left of the map lists each layer with a switch, how many resources it has, and how many of them are alerting. + +| Layer | What it draws | +| --- | --- | +| **Services** | Services, including those with no calls (**With no calls**) | +| **Workloads** | Kubernetes workloads, and those that run no service (**With no service**) | +| **Hosts** | Hosts and Kubernetes nodes | +| **Network devices** | Switches, routers, and firewalls you monitor over SNMP | +| **Networks** | VPCs and the networks hosts sit in | +| **Regions** | Cloud regions | +| **Calls** | Calls between services, from traces | +| **Network flows** | Flows between resources | +| **Cables** | Links between network devices, and between a switch and the hosts cabled to it | +| **External services** | APIs and AWS services that your services call but that aren't in the workspace | + +Click a layer's row to turn it on and zoom in until its resources are named. + +When a workload is the only one behind the only service it runs, the map draws the service and not the workload. The **Workloads** row says how many it shows that way. + +To narrow the map, use **Filter by tag** at the top of the panel. To find one resource, type in **Find a resource** at the bottom and press **Enter** to select the first match. + +## Inspect a resource + +Click a resource to open its side panel. Press **Escape** to close it. + +The panel shows whether the resource is alerting and a link to its own page, such as **Open in APM** for a service or **Open in Hosts** for a host. Below that you'll find its last hour of metrics: + +| Resource | Metrics | +| --- | --- | +| Service | Requests per minute, error rate, and p95 latency | +| Host | CPU, memory, and disk use | +| Kubernetes node | CPU, memory, and disk use, against what the node can allocate | +| Workload | CPU (in cores, or millicores under one core), memory, and pods | +| Network device | CPU, memory, and throughput | + +If a resource sends no metrics, the panel shows **Metrics not available**. + +The rest of the panel lists: + +- **Where it runs:** the hosts, network, and region under the resource. +- What runs on it, such as the workloads and services on a host. +- **Links:** for a network device, its cables, with down links and links above 80% use called out. +- **If it fails:** what loses its only path, for example the hosts behind a switch with no backup link. +- **Calls** and **Called by:** the services this one calls and the ones that call it. + +Selecting a resource highlights its stack and what it talks to, and fades the rest of the map. + +## Read the lines + +- **Calls** are arcs from caller to callee. With a resource selected, its calls take the accent color. +- **Cables** always draw solid. A down cable is dashed red, and a cable above 80% use is amber. + +## Find where a problem starts + +Switch the map from **All** to **Problems**. The map keeps the alerting services, the calls that join them, and down cables. The line above the map counts the alerting services and names the likely origin: the alerting service that the others call into and that doesn't call another alerting service itself. + +If the line ends with **Alert counts are a minimum**, the workspace has more alerting resources than the map counted. + +## Focus on one resource + +Click **Focus** in a resource's side panel to see only that resource and what's directly connected to it. Click **Show 2 hops** to widen it to the next ring of connections. Click **Topology** in the breadcrumb to go back to the map. + +## Open Topology from other pages + +Look for **View in Topology** on: + +- A resource's details in [Inventory](../inventory/#open-a-resource). +- A host's related resources in [Hosts & Containers](../hosts/). +- An [alert group's](../../alerts/alert-groups/) affected resources. Topology opens with that group's affected resources and what they run on and depend on. + +## Limits + +- On a large workspace, the map draws the resources it can and says how many it left out, for example **120 more resources are not drawn**. Use **Filter by tag** to narrow it. +- Calls come from traces, so a service that isn't instrumented shows no calls. +- Cables come from the LLDP and CDP neighbor tables of the devices you monitor over SNMP. A host appears at the end of a cable only when it's also monitored by the agent. +- The map updates as often as Inventory does. See [How often Inventory updates](../inventory/#how-often-inventory-updates). + +## Related + +- [Inventory](../inventory/): every resource in the workspace, by type or in one list. +- [Kubernetes Monitoring](../kubernetes/): the traffic map between workloads in a cluster. +- [Network monitoring](../../network-monitoring/): add switches, routers, and firewalls over SNMP. +- [Alert Groups](../../alerts/alert-groups/): related alerts grouped into one problem. diff --git a/src/content/docs/docs/issues/images/issue-details.png b/src/content/docs/docs/issues/images/issue-details.png index f77bc8a0..903e9d5d 100644 Binary files a/src/content/docs/docs/issues/images/issue-details.png and b/src/content/docs/docs/issues/images/issue-details.png differ diff --git a/src/content/docs/docs/issues/images/issues-list.png b/src/content/docs/docs/issues/images/issues-list.png index 63340b7b..4825aaba 100644 Binary files a/src/content/docs/docs/issues/images/issues-list.png and b/src/content/docs/docs/issues/images/issues-list.png differ diff --git a/src/content/docs/docs/issues/images/issues-notification-settings.png b/src/content/docs/docs/issues/images/issues-notification-settings.png index 8235cf00..46a84f1d 100644 Binary files a/src/content/docs/docs/issues/images/issues-notification-settings.png and b/src/content/docs/docs/issues/images/issues-notification-settings.png differ diff --git a/src/content/docs/docs/issues/index.mdx b/src/content/docs/docs/issues/index.mdx index b5476218..3a351a79 100644 --- a/src/content/docs/docs/issues/index.mdx +++ b/src/content/docs/docs/issues/index.mdx @@ -19,7 +19,7 @@ To open the list, click **Issues** in the left navigation menu. ## Find the issues that need attention -![Issue list filtered to RUM issues, with the Trend, Events, Last seen, and Assigned columns](./images/issues-list.png) +![Issue list filtered to trace issues, with the Source, Trend (24h), Events, Last seen, and Assigned columns](./images/issues-list.png) The figures in the list cover different time ranges. The event count is the total since the issue was first seen, while the trend and the count under it cover the last 24 hours. For example, an issue with 5,000 events and none in the last 24 hours has probably stopped happening. Sort by **Last seen** to find what's failing now. @@ -33,7 +33,7 @@ To resolve or ignore several issues at once, select them in the list and choose ## Investigate an issue -![RUM issue details: tags, summary tiles, actions, context bar, event navigator, stack trace, Tags, and Affected users](./images/issue-details.png) +![Trace issue details: tags, event counts, first and last seen, actions, context bar, stack trace, and request](./images/issue-details.png) Log, trace, and RUM issues all show how often the error happens and its stack trace. The rest of a RUM issue comes from what the RUM SDKs report with each error: the user, the session, and what happened before it. Users and sessions, **Before the error**, **Tags**, and **Affected users** appear on RUM issues only. @@ -104,7 +104,6 @@ The event list holds up to 100 of the latest events: from the last 14 days for a - **Mark as resolved** moves the issue to **Resolved**. If the error happens again, the issue reopens. - **Ignore** stops notifications for the issue and moves it to **Ignored**, out of the unresolved list. Click it again to stop ignoring the issue. - **Ask Assistant** opens the [KloudMate Assistant](../kloudmate-assistant/) with a prompt about the issue already written. Nothing is sent until you send it. -- **Create in Jira** needs a [Jira integration](../platform/settings/notification-channels/#jira). - Team members are notified when you assign an issue to them. ## Comment on an issue diff --git a/src/content/docs/docs/issues/notification-routing.mdx b/src/content/docs/docs/issues/notification-routing.mdx index bd27668c..89f3a170 100644 --- a/src/content/docs/docs/issues/notification-routing.mdx +++ b/src/content/docs/docs/issues/notification-routing.mdx @@ -6,19 +6,19 @@ sidebar: order: 2 --- -Configure where issue notifications land — by service, by occurrence type (new vs. regression), and across the channels you've set up. +Configure where issue notifications land: by service, by occurrence type (new vs. regression), and across the channels you've set up. ## Where to find it -Open the **Issues** list page. The header has a **Notification settings** button. +In **Issues**, click **Notifications** in the Issues panel. The page lists your issue notification policies with their conditions and destinations, and whether each one is enabled. -![Issues list with Notification settings button](./images/issues-notification-settings.png) +![Issues Notifications page listing issue notification policies with their conditions, destinations, and Enabled toggles](./images/issues-notification-settings.png) -Clicking it opens the Issues-scoped notification settings page: +The notification settings have these URLs: -- `/issues/notifications` — list of all issue notification policies. -- `/issues/notifications/create` — create a new policy. -- `/issues/notifications/` — edit a policy. +- `/issues/notifications`: the list of all issue notification policies. +- `/issues/notifications/create`: create a new policy. +- `/issues/notifications/`: edit a policy. ## Anatomy of a policy @@ -34,7 +34,7 @@ A **Disabled** toggle lets you save the policy without activating it. ## Create an issue notification policy -1. Open **Issues → Notification settings** and click **New policy**. +1. Open **Issues → Notifications** and click **New policy**. 2. Name the policy. 3. Add one or more conditions. Select the **Issue type** (`New issues` or `New and regression`) and one or more **Target services** from the autocomplete (suggestions come from services emitting telemetry). 4. Select one or more **Notification channels** from the multi-select. @@ -42,10 +42,10 @@ A **Disabled** toggle lets you save the policy without activating it. ## Forward-looking note -This page is a dedicated settings surface for issues because the grouping engine and Routing Rules currently handle alert signals only. Issues may converge onto the routing-rules engine in a future release; if that happens, existing issue notification policies will migrate automatically — no recreation required. +This page is a dedicated settings surface for issues because the grouping engine and Routing Rules currently handle alert signals only. Issues may converge onto the routing-rules engine in a future release; if that happens, existing issue notification policies will migrate automatically, so you won't need to recreate them. ## Related -- [Issues](../) — the error-tracking surface this routes from. -- [Routing Rules](../../alerts/routing-rules/) — separate surface for alert notifications. -- [Notification Channels](../../platform/settings/notification-channels/) — set up where notifications land. +- [Issues](../): the error-tracking page these notifications come from. +- [Routing Rules](../../alerts/routing-rules/): notification routing for alerts. +- [Notification Channels](../../platform/settings/notification-channels/): set up where notifications are sent. diff --git a/src/content/docs/docs/kloudmate-agent/auto-instrumentation/images/discovered-services-status-chips.png b/src/content/docs/docs/kloudmate-agent/auto-instrumentation/images/discovered-services-status-chips.png index 26871a65..d8ae2aa9 100644 Binary files a/src/content/docs/docs/kloudmate-agent/auto-instrumentation/images/discovered-services-status-chips.png and b/src/content/docs/docs/kloudmate-agent/auto-instrumentation/images/discovered-services-status-chips.png differ diff --git a/src/content/docs/docs/kloudmate-agent/auto-instrumentation/images/kubernetes-apm-list.png b/src/content/docs/docs/kloudmate-agent/auto-instrumentation/images/kubernetes-apm-list.png index e7d975aa..8be1f385 100644 Binary files a/src/content/docs/docs/kloudmate-agent/auto-instrumentation/images/kubernetes-apm-list.png and b/src/content/docs/docs/kloudmate-agent/auto-instrumentation/images/kubernetes-apm-list.png differ diff --git a/src/content/docs/docs/kloudmate-agent/concepts/config-model.mdx b/src/content/docs/docs/kloudmate-agent/concepts/config-model.mdx index 6ba17e22..f99eb125 100644 --- a/src/content/docs/docs/kloudmate-agent/concepts/config-model.mdx +++ b/src/content/docs/docs/kloudmate-agent/concepts/config-model.mdx @@ -24,7 +24,7 @@ Every agent runs in one of two configuration modes. - In **managed mode**, the configuration is generated from your enabled integrations every time. The YAML editor shows a read-only preview of what was generated. Toggling a feature regenerates the configuration. To add receivers, processors, or exporters on top, use the **Custom config override** editor below the preview. It's kept when the integrations change. See [Custom config override](../../custom-config-override/). -![Managed mode: the Config mode toggle set to Managed, with a read-only preview of the generated base configuration and an editable custom config override below it.](./images/config-model-managed-mode.png) +![The Collector Config tab in managed mode: the Config mode toggle set to Managed, a read-only preview of the generated base configuration, and an editable custom config override with a Save override button, beside the Agent version and Agent health cards.](./images/config-model-managed-mode.png) - In **manual mode**, you own the YAML blob. The integration toggles are disabled, and the YAML editor is writable. This is for advanced setups that need hand-tuned configuration. diff --git a/src/content/docs/docs/kloudmate-agent/concepts/images/config-model-managed-mode.png b/src/content/docs/docs/kloudmate-agent/concepts/images/config-model-managed-mode.png index 00f108bf..d29df326 100644 Binary files a/src/content/docs/docs/kloudmate-agent/concepts/images/config-model-managed-mode.png and b/src/content/docs/docs/kloudmate-agent/concepts/images/config-model-managed-mode.png differ diff --git a/src/content/docs/docs/kloudmate-agent/concepts/images/config-model-manual-mode.png b/src/content/docs/docs/kloudmate-agent/concepts/images/config-model-manual-mode.png index eb885668..ff6b4722 100644 Binary files a/src/content/docs/docs/kloudmate-agent/concepts/images/config-model-manual-mode.png and b/src/content/docs/docs/kloudmate-agent/concepts/images/config-model-manual-mode.png differ diff --git a/src/content/docs/docs/kloudmate-agent/concepts/images/discovery-services-list.png b/src/content/docs/docs/kloudmate-agent/concepts/images/discovery-services-list.png index ec6a5b56..714e9b07 100644 Binary files a/src/content/docs/docs/kloudmate-agent/concepts/images/discovery-services-list.png and b/src/content/docs/docs/kloudmate-agent/concepts/images/discovery-services-list.png differ diff --git a/src/content/docs/docs/kloudmate-agent/database-monitoring/images/advanced-query-performance.png b/src/content/docs/docs/kloudmate-agent/database-monitoring/images/advanced-query-performance.png index 42ccfd40..c74f9531 100644 Binary files a/src/content/docs/docs/kloudmate-agent/database-monitoring/images/advanced-query-performance.png and b/src/content/docs/docs/kloudmate-agent/database-monitoring/images/advanced-query-performance.png differ diff --git a/src/content/docs/docs/kloudmate-agent/database-monitoring/images/agent-databases-tab.png b/src/content/docs/docs/kloudmate-agent/database-monitoring/images/agent-databases-tab.png index 2b4196a9..22c093f8 100644 Binary files a/src/content/docs/docs/kloudmate-agent/database-monitoring/images/agent-databases-tab.png and b/src/content/docs/docs/kloudmate-agent/database-monitoring/images/agent-databases-tab.png differ diff --git a/src/content/docs/docs/kloudmate-agent/database-monitoring/images/wizard-add-database.png b/src/content/docs/docs/kloudmate-agent/database-monitoring/images/wizard-add-database.png index c42bfb23..504b636d 100644 Binary files a/src/content/docs/docs/kloudmate-agent/database-monitoring/images/wizard-add-database.png and b/src/content/docs/docs/kloudmate-agent/database-monitoring/images/wizard-add-database.png differ diff --git a/src/content/docs/docs/kloudmate-agent/database-monitoring/overview.mdx b/src/content/docs/docs/kloudmate-agent/database-monitoring/overview.mdx index 8b6bad20..58b95fdc 100644 --- a/src/content/docs/docs/kloudmate-agent/database-monitoring/overview.mdx +++ b/src/content/docs/docs/kloudmate-agent/database-monitoring/overview.mdx @@ -53,7 +53,7 @@ The wizard is one form, top to bottom: Click **Save and apply**. The change reaches the agent within a minute. -![The "Add database monitoring" wizard for MySQL, top to bottom: the engine picker and coverages with Query performance turned on, the setup steps it needs, the connection fields with the credential mode selector (environment variable or entered value), and the collapsed Advanced section with Save and apply.](./images/wizard-add-database.png) +![The "Add database monitoring" wizard for MySQL, top to bottom: the engine picker and coverages with Query performance turned on, the setup steps it needs, the connection fields for an Orders DB instance with the credential mode selector (environment variable or entered value), and the collapsed Advanced section with Save and apply.](./images/wizard-add-database.png) ## What's checked when you save @@ -95,7 +95,7 @@ query_sample_collection: max_rows_per_query: 200 ``` -![The Advanced section of the edit wizard with the Query performance coverage selected and the YAML above in the editor.](./images/advanced-query-performance.png) +![The Advanced section of the database wizard with the Query performance coverage selected and the YAML above in the editor.](./images/advanced-query-performance.png) - **Query samples follow the standard metrics interval.** The receivers don't support a separate interval for samples. Don't set a top-level `collection_interval` in this override: query performance shares a receiver with standard metrics, so it would slow those down too. - **Connection poolers produce many idle samples.** An idle session is sampled once after each query it finishes, which is how short queries are captured at all. Behind a pooler such as PgBouncer, most connections are idle at any moment, so most samples are idle sessions. Samples can't be filtered by session state, so lower `max_rows_per_query` to send fewer of them. diff --git a/src/content/docs/docs/kloudmate-agent/images/agent-runbook-scripts-tab.png b/src/content/docs/docs/kloudmate-agent/images/agent-runbook-scripts-tab.png index 97bb5c89..67d48c34 100644 Binary files a/src/content/docs/docs/kloudmate-agent/images/agent-runbook-scripts-tab.png and b/src/content/docs/docs/kloudmate-agent/images/agent-runbook-scripts-tab.png differ diff --git a/src/content/docs/docs/kloudmate-agent/images/log-monitoring-add-source.png b/src/content/docs/docs/kloudmate-agent/images/log-monitoring-add-source.png index 4c83b6f3..04b15609 100644 Binary files a/src/content/docs/docs/kloudmate-agent/images/log-monitoring-add-source.png and b/src/content/docs/docs/kloudmate-agent/images/log-monitoring-add-source.png differ diff --git a/src/content/docs/docs/kloudmate-agent/images/log-monitoring-preview-results.png b/src/content/docs/docs/kloudmate-agent/images/log-monitoring-preview-results.png index 5e2a8bae..424920da 100644 Binary files a/src/content/docs/docs/kloudmate-agent/images/log-monitoring-preview-results.png and b/src/content/docs/docs/kloudmate-agent/images/log-monitoring-preview-results.png differ diff --git a/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-1.png b/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-1.png index 868b432b..14a4e580 100644 Binary files a/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-1.png and b/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-1.png differ diff --git a/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-2.png b/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-2.png index 9c068463..05f5f4b1 100644 Binary files a/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-2.png and b/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-2.png differ diff --git a/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-3.png b/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-3.png index d0a61f0e..3e96bb2b 100644 Binary files a/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-3.png and b/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-3.png differ diff --git a/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-4.png b/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-4.png index 6a6cb5cf..1cf8e839 100644 Binary files a/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-4.png and b/src/content/docs/docs/kloudmate-agent/images/managing-kloudmate-agents-4.png differ diff --git a/src/content/docs/docs/kloudmate-agent/images/process-monitoring-1.png b/src/content/docs/docs/kloudmate-agent/images/process-monitoring-1.png index 318ab5a6..a5c72271 100644 Binary files a/src/content/docs/docs/kloudmate-agent/images/process-monitoring-1.png and b/src/content/docs/docs/kloudmate-agent/images/process-monitoring-1.png differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/docker-agent.mdx b/src/content/docs/docs/kloudmate-agent/installation/docker-agent.mdx index 81b53718..e266f7e5 100644 --- a/src/content/docs/docs/kloudmate-agent/installation/docker-agent.mdx +++ b/src/content/docs/docs/kloudmate-agent/installation/docker-agent.mdx @@ -67,11 +67,9 @@ View all collected data in these KloudMate sections: **Step 3:** Copy and run the Docker agent install command in your terminal to download and install the agent. -![image](./images/docker-agent-1.png) +![The Install step of the wizard, showing the Docker install command with the ingest key and collector endpoint embedded](./images/docker-agent-1.png) -**Step 4:** Run the following command to verify the agent is running correctly. - -![image](./images/docker-agent-2.png) +**Step 4:** Click **Continue**. The **Verify** step waits for the agent to connect, which usually takes under a minute. When it shows **Agent connected**, click **Configure agent** to set up application instrumentation, database monitoring, and log collection, or click **Go to agents** to return to the agents list. ## **Log Integration** @@ -114,6 +112,8 @@ The agent reads the policy when it starts, so recreate the agent container after ## Uninstall Agent -Run the following command to uninstall the agent. +In **Settings → Agents & Pipelines**, open the agent's actions menu (⋮) and select **Uninstall**. Run the command it shows on the Docker host. It removes the agent container and image. + +![The Docker uninstall command, which runs install_docker.sh with the uninstall argument](./images/docker-agent-3.png) -![image](./images/docker-agent-3.png) +Once the agent is removed, it stops checking in. Delete it from the agents list to clear its configuration. diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/agent-install-api-key.png b/src/content/docs/docs/kloudmate-agent/installation/images/agent-install-api-key.png index 01de7708..ac31da8c 100644 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/agent-install-api-key.png and b/src/content/docs/docs/kloudmate-agent/installation/images/agent-install-api-key.png differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/docker-agent-1.png b/src/content/docs/docs/kloudmate-agent/installation/images/docker-agent-1.png index e6dae0f1..749fb17e 100644 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/docker-agent-1.png and b/src/content/docs/docs/kloudmate-agent/installation/images/docker-agent-1.png differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/docker-agent-2.png b/src/content/docs/docs/kloudmate-agent/installation/images/docker-agent-2.png deleted file mode 100644 index 3699dafa..00000000 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/docker-agent-2.png and /dev/null differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/docker-agent-3.png b/src/content/docs/docs/kloudmate-agent/installation/images/docker-agent-3.png index 7b16dc26..84d50c2d 100644 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/docker-agent-3.png and b/src/content/docs/docs/kloudmate-agent/installation/images/docker-agent-3.png differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/kubernetes-agent-1.png b/src/content/docs/docs/kloudmate-agent/installation/images/kubernetes-agent-1.png index e7d975aa..8be1f385 100644 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/kubernetes-agent-1.png and b/src/content/docs/docs/kloudmate-agent/installation/images/kubernetes-agent-1.png differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-1.png b/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-1.png index d2381464..da26f300 100644 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-1.png and b/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-1.png differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-2.png b/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-2.png index 715ba315..88ffd8cc 100644 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-2.png and b/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-2.png differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-3.png b/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-3.png deleted file mode 100644 index 06351a1c..00000000 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-3.png and /dev/null differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-4.png b/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-4.png index f2d80987..8d46ce5e 100644 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-4.png and b/src/content/docs/docs/kloudmate-agent/installation/images/linux-agent-4.png differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-1.png b/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-1.png index 7a58a0ca..d301886b 100644 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-1.png and b/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-1.png differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-2.png b/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-2.png index d2359575..f1977e6b 100644 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-2.png and b/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-2.png differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-3.png b/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-3.png deleted file mode 100644 index 9da66699..00000000 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-3.png and /dev/null differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-4.png b/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-4.png index 95fa3295..f74b6038 100644 Binary files a/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-4.png and b/src/content/docs/docs/kloudmate-agent/installation/images/windows-agent-4.png differ diff --git a/src/content/docs/docs/kloudmate-agent/installation/kubernetes-agent.mdx b/src/content/docs/docs/kloudmate-agent/installation/kubernetes-agent.mdx index d5271206..f05db864 100644 --- a/src/content/docs/docs/kloudmate-agent/installation/kubernetes-agent.mdx +++ b/src/content/docs/docs/kloudmate-agent/installation/kubernetes-agent.mdx @@ -186,7 +186,7 @@ There are two ways to enable **Application Performance Monitoring (APM)** in you - The agent lists the workloads it discovered, grouped by namespace, with each workload's detected language. Use the namespace filter or the search box to find one in a large cluster. - For each workload, choose **Off**, **eBPF**, or **SDK**, then apply. eBPF starts tracing on the next check-in with no restart; SDK rolls that workload's pods. Workloads with no SDK injector — Go, Ruby, or an unrecognized runtime — offer **Off** or **eBPF** only. -![The cluster's APM tab, with the Application Performance Monitoring card listing workloads grouped by namespace, each with Off, eBPF, and SDK options or Off and eBPF for Go workloads, an Instrumented badge on traced workloads, and the Apply button](./images/kubernetes-agent-1.png) +![The cluster's APM tab, with the Application Performance Monitoring card, a namespace filter and search box, and workloads grouped by namespace. Each workload shows its language and version, an Instrumented badge when it's traced, and Off, eBPF, and SDK options, or Off and eBPF for Go and unrecognized runtimes](./images/kubernetes-agent-1.png) - After you turn a workload on, wait a few minutes for its traces to start, then verify them on the dashboard. diff --git a/src/content/docs/docs/kloudmate-agent/installation/linux-agent.mdx b/src/content/docs/docs/kloudmate-agent/installation/linux-agent.mdx index a821321d..e124e29c 100644 --- a/src/content/docs/docs/kloudmate-agent/installation/linux-agent.mdx +++ b/src/content/docs/docs/kloudmate-agent/installation/linux-agent.mdx @@ -62,19 +62,15 @@ View all data in these KloudMate sections: **Step 2:** Click **Add Agent**, select **Linux**, and click **Continue**. On the **API key** step, click **Create backend key**, or select **Use existing key** and paste your backend ingest key. Then click **Continue**. -![API key step when adding an agent](./images/agent-install-api-key.png) +![The API key step of the Install KloudMate Agent wizard, with Create new key selected, a note for the backend ingest key, and the Create backend key button](./images/agent-install-api-key.png) **Step 3:** Copy and run the Linux agent install command in your terminal to download and install the agent. -![image](./images/linux-agent-1.png) +![The Install step of the wizard, showing the Linux install command with the ingest key and collector endpoint embedded](./images/linux-agent-1.png) -**Step 4:** Run the agent status command to check if the agent is active. +**Step 4:** Click **Continue**. The **Verify** step waits for the agent to connect, which usually takes under a minute. When it shows **Agent connected**, click **Configure agent** to set up application instrumentation, database monitoring, and log collection, or click **Go to agents** to return to the agents list. -![image](./images/linux-agent-2.png) - -**Step 5:** Execute the "Check Logs" command to confirm the agent is functioning correctly. - -![image](./images/linux-agent-3.png) +![The Verify step of the wizard showing Agent connected, with the host name, agent version, and the number of apps and databases the agent found on the host](./images/linux-agent-2.png) ## Check a host before installing @@ -143,6 +139,8 @@ After the agent is running, confirm what it collects and explore what it found: ## Uninstall Agent -Run the provided uninstall command to remove the agent. +In **Settings → Agents & Pipelines**, open the agent's actions menu (⋮) and select **Uninstall**. Run the command it shows on the host. It stops the service and removes the package, config, and logs. + +![The Linux uninstall command, which runs uninstall_linux.sh](./images/linux-agent-4.png) -![image](./images/linux-agent-4.png) +Once the agent is removed, it stops checking in. Delete it from the agents list to clear its configuration. diff --git a/src/content/docs/docs/kloudmate-agent/installation/windows-agent.mdx b/src/content/docs/docs/kloudmate-agent/installation/windows-agent.mdx index 7aaf8d79..d8ca5702 100644 --- a/src/content/docs/docs/kloudmate-agent/installation/windows-agent.mdx +++ b/src/content/docs/docs/kloudmate-agent/installation/windows-agent.mdx @@ -82,17 +82,15 @@ On a host that's already configured, the script keeps the existing configuration **Step 2:** Click **Add Agent**, select **Windows**, and click **Continue**. On the **API key** step, click **Create backend key**, or select **Use existing key** and paste your backend ingest key. Then click **Continue**. -**Step 3:** Download the Windows executable using the provided link. +**Step 3:** Click **Download the Windows executable** and run it. -![image](./images/windows-agent-1.png) +![The Install step of the wizard, showing the PowerShell install command with the ingest key and collector endpoint embedded, and a link to download the Windows executable](./images/windows-agent-1.png) -**Step 4:** After installation completes, enter the API key and Collector Endpoint when prompted. +**Step 4:** When the installer asks, enter the API key and collector endpoint from the command on the **Install** step. -![image](./images/windows-agent-2.png) +**Step 5:** Click **Continue**. The **Verify** step waits for the agent to connect, which usually takes under a minute. When it shows **Agent connected**, click **Configure agent** to set up application instrumentation, database monitoring, and log collection, or click **Go to agents** to return to the agents list. -**Step 5:** Run the command under **Check service status** in PowerShell to verify the service is running. - -![image](./images/windows-agent-3.png) +![The Verify step of the wizard showing Agent connected for a Windows host, with the agent version and the number of apps and databases the agent found](./images/windows-agent-2.png) ## Silent install @@ -136,6 +134,8 @@ The agent installs as a Windows service running as Local System. It needs that p ## Uninstall Agent -Run the following command to uninstall the agent. +In **Settings → Agents & Pipelines**, open the agent's actions menu (⋮) and select **Uninstall**. Run the command it shows in PowerShell as Administrator, or remove **KloudMate Agent** from **Settings > Apps** in Windows. + +![The PowerShell command that runs the agent uninstaller, unins000.exe, silently](./images/windows-agent-4.png) -![image](./images/windows-agent-4.png) +Once the agent is removed, it stops checking in. Delete it from the agents list to clear its configuration. diff --git a/src/content/docs/docs/kloudmate-agent/log-monitoring.mdx b/src/content/docs/docs/kloudmate-agent/log-monitoring.mdx index 5ecaf622..ec132428 100644 --- a/src/content/docs/docs/kloudmate-agent/log-monitoring.mdx +++ b/src/content/docs/docs/kloudmate-agent/log-monitoring.mdx @@ -41,7 +41,7 @@ You add each source through the wizard on the Logs tab. -![The "Add log source" wizard, top to bottom: the source name, the folder and file-name pattern, the log format picker, the attributes section with discovered services, and the Preview results and Save and apply buttons.](./images/log-monitoring-add-source.png) +![The Add log source panel, top to bottom: the source name orders-api, the folder /var/log/orders-api with the pattern *.log, the log format picker with Plain text selected and multiline entries turned on, a service.name attribute, and the Preview results and Save and apply buttons.](./images/log-monitoring-add-source.png) ## Choose how to parse diff --git a/src/content/docs/docs/kloudmate-agent/management.mdx b/src/content/docs/docs/kloudmate-agent/management.mdx index adfc401b..5ce8e2df 100644 --- a/src/content/docs/docs/kloudmate-agent/management.mdx +++ b/src/content/docs/docs/kloudmate-agent/management.mdx @@ -74,7 +74,7 @@ To undo a managed change, turn the toggle back. There is no separate history or The **Runbook Scripts** tab decides whether a [workflow](../../workflows/) can run commands on this host with the [Run Command on Host](../../workflows/actions/#run-command-on-host) step. Scripts are off until someone with the **Admin** role turns on **Allow runbook scripts on this host**. The agent picks up the change within a minute. Only Linux host agents have this setting. -![The Runbook Scripts tab with Allow runbook scripts on this host turned on](./images/agent-runbook-scripts-tab.png) +![The Runbook Scripts tab for a Linux host, with the warning that scripts reach anything the host can already reach and Allow runbook scripts on this host turned on](./images/agent-runbook-scripts-tab.png) Scripts run as root and can access anything the host can already access, such as a kubeconfig, a cloud instance profile, or an SSH key on disk. Allow them only on hosts where that's acceptable. diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/create-a-rule.mdx b/src/content/docs/docs/kloudmate-agent/pipeline-rules/create-a-rule.mdx index 4c9803bf..94ba895c 100644 --- a/src/content/docs/docs/kloudmate-agent/pipeline-rules/create-a-rule.mdx +++ b/src/content/docs/docs/kloudmate-agent/pipeline-rules/create-a-rule.mdx @@ -35,7 +35,7 @@ The **Preview on real data** panel fetches recent records from one agent and sho 2. Click **Test conditions**. The agent answers on its next check-in, usually within a minute. 3. Review the matches. Matching records are marked with a check, and you can show all records, only matching ones, or only the ones that don't match. -![A tested drop rule: 8 of 83 sampled records match the condition](./images/drop-test.png) +![A drop rule tested on one agent: 8 of 83 sampled records match both conditions](./images/drop-test.png) The agent masks the sample with every built-in detector before sending it, so the preview never shows raw card numbers, emails, or tokens. Values that were masked are marked with a lock. diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/agent-groups.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/agent-groups.png index 80bcf70b..b948c9ee 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/agent-groups.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/agent-groups.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/agent-rules-panel.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/agent-rules-panel.png index fc1fb68c..753b3813 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/agent-rules-panel.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/agent-rules-panel.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/apply-to.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/apply-to.png index aa91911e..b408e709 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/apply-to.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/apply-to.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/conditions.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/conditions.png index fb2c044b..cc4c78f9 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/conditions.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/conditions.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/drop-test.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/drop-test.png index 717ab13c..fe87bc63 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/drop-test.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/drop-test.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/edit-attributes.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/edit-attributes.png index b20ce3bd..2409c683 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/edit-attributes.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/edit-attributes.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/edit-metric-attributes.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/edit-metric-attributes.png index bdab134b..b564a014 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/edit-metric-attributes.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/edit-metric-attributes.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/group-page.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/group-page.png index b0e77e37..6c851f8f 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/group-page.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/group-page.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/mask-detectors.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/mask-detectors.png index 9c360e1b..bd95ea6f 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/mask-detectors.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/mask-detectors.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/mask-rule.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/mask-rule.png index 5ec2d1a0..e911aa0c 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/mask-rule.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/mask-rule.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/new-group.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/new-group.png index bcad33d8..2014916d 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/new-group.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/new-group.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/publish-dialog.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/publish-dialog.png index 4bc05a2d..1ca9c948 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/publish-dialog.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/publish-dialog.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/rule-activity.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/rule-activity.png index 8f7f175b..6265f126 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/rule-activity.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/rule-activity.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/rules-list.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/rules-list.png index 1a95295b..2af056c9 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/rules-list.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/rules-list.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/sample-record.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/sample-record.png index 1b3d7e0a..93fc0a10 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/sample-record.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/sample-record.png differ diff --git a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/sample-rule.png b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/sample-rule.png index 5f4c807a..35835c58 100644 Binary files a/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/sample-rule.png and b/src/content/docs/docs/kloudmate-agent/pipeline-rules/images/sample-rule.png differ diff --git a/src/content/docs/docs/kloudmate-agent/platform-notes/images/docker-apm-tab.png b/src/content/docs/docs/kloudmate-agent/platform-notes/images/docker-apm-tab.png index f412dd9c..3f468f87 100644 Binary files a/src/content/docs/docs/kloudmate-agent/platform-notes/images/docker-apm-tab.png and b/src/content/docs/docs/kloudmate-agent/platform-notes/images/docker-apm-tab.png differ diff --git a/src/content/docs/docs/kloudmate-agent/process-monitoring.mdx b/src/content/docs/docs/kloudmate-agent/process-monitoring.mdx index 83412ae0..2b6866f7 100644 --- a/src/content/docs/docs/kloudmate-agent/process-monitoring.mdx +++ b/src/content/docs/docs/kloudmate-agent/process-monitoring.mdx @@ -18,7 +18,7 @@ Process monitoring tracks CPU and memory usage for well-known processes on a hos 3. Turn on **Enable process monitoring**. 4. Click **Apply**. -![The Processes tab on a Linux host's Configure page, with Enable process monitoring turned on and fields for Monitor top processes, Additional processes to track, and Ignored processes.](./images/process-monitoring-1.png) +![The Processes tab on a Linux host's Configure page, with Enable process monitoring turned on, Monitor top processes set to 5, nginx, postgres, and backup-* as additional processes to track, sshd and cron as ignored processes, and the Apply button.](./images/process-monitoring-1.png) - **Monitor top processes:** The number of heaviest processes to track, on top of the well-known set. - **Additional processes to track:** Comma-separated process names to always track. `*` works as a wildcard, for example `backup-*, ffmpeg`. diff --git a/src/content/docs/docs/kloudmate-assistant/chat-modes.mdx b/src/content/docs/docs/kloudmate-assistant/chat-modes.mdx index f6d4825d..dc212b21 100644 --- a/src/content/docs/docs/kloudmate-assistant/chat-modes.mdx +++ b/src/content/docs/docs/kloudmate-assistant/chat-modes.mdx @@ -10,7 +10,7 @@ Chat Modes let you choose how KloudMate Assistant should respond before you send To choose a chat mode, click the sparkle icon in the top-right corner of the Assistant interface. -![image](./images/chat-modes-14.png) +![The Assistant panel open next to the Investigations page, with the sparkle icon highlighted and the mode selector listing KloudMate Assistant, Builder, Docs, and Investigator](./images/chat-modes-14.png) Once the Assistant panel opens, use the mode selector in the chat input bar to switch between the available modes. @@ -24,17 +24,17 @@ This mode is best suited for: - Asking questions about recent errors or issues - Getting quick explanations without launching a background investigation -In this example, the Assistant analyzes a service for errors and root cause. It checks current health, logs, traces, and issues, then surfaces relevant observations along with a root cause recommendation. +In this example, the Assistant analyzes a service for errors and root cause. It checks current health, logs, traces, and issues, then surfaces relevant observations along with a root cause recommendation. Click **Ran 14 tools** to see which tools the Assistant called, or click a **Follow-up** suggestion to continue the conversation. -![image](./images/chat-modes-13.png) +![A KloudMate Assistant reply analyzing payments service errors, with the tools it ran, the current status, observations, a root cause recommendation, and follow-up suggestions](./images/chat-modes-13.png) ## KloudMate Builder -KloudMate Builder is designed for drafting dashboards and alarms before you apply them. Use this mode when you want help creating or modifying alerting and dashboard configurations from natural-language instructions. +KloudMate Builder drafts dashboards, alert rules, and workflows before you apply them. Use this mode when you want help creating or modifying dashboards, alerting, or workflow configurations from natural-language instructions. In this example, KloudMate Builder interprets the request as a dashboard creation task and drafts a dashboard with relevant panels based on that intent. -![image](./images/chat-modes-15.png) +![A KloudMate Builder reply that drafts a VM Performance Dashboard, listing the tools it ran and the panels it added](./images/chat-modes-15.png) This helps users move from a natural-language request to a structured dashboard draft without manually configuring every panel from scratch. The Builder selects appropriate metrics, applies relevant variables and filters, and lays out the panels into a reviewable dashboard that can be refined and saved. @@ -43,7 +43,7 @@ This helps users move from a natural-language request to a structured dashboard KloudMate Docs is optimized for documentation search and platform reference questions. Use this mode when you want answers grounded in the KloudMate documentation rather than a general operational conversation. :::note[Free usage] -The Docs agent is **free** and does not consume credits. KloudMate Assistant runs on credits. A chat message costs 1 credit, a full investigation costs 5 credits, and an [Ask KloudMate Assistant](/workflows/actions/#ask-kloudmate-assistant) step in a workflow costs 1 credit. Every plan includes a monthly allowance: 5 credits on Free and 20 on Pro, and prepaid credits can be purchased anytime. Enterprise teams can bring their own AI provider key instead of using credits. +The Docs agent is **free** and does not consume credits. KloudMate Assistant runs on credits. A chat message costs 1 credit, an investigation costs 5 credits on its first message, with follow-up messages in the same investigation free, and an [Ask KloudMate Assistant](/workflows/actions/#ask-kloudmate-assistant) step in a workflow costs 1 credit. Every plan includes a monthly allowance, listed on [kloudmate.com/pricing](https://www.kloudmate.com/pricing), and prepaid credits can be purchased anytime. Enterprise teams can bring their own AI provider key instead of using credits. ::: This mode is useful for: @@ -54,7 +54,7 @@ This mode is useful for: The Docs mode searches the indexed documentation and returns an answer based on the documented product behavior. -![image](./images/chat-modes-5.png) +![A KloudMate Docs reply explaining how to instrument a PHP application with OpenTelemetry, with prerequisites, install commands, and environment variables](./images/chat-modes-5.png) ## KloudMate Investigator @@ -66,6 +66,6 @@ This mode is appropriate when you need: - Correlation across logs, metrics, and traces - A structured summary of findings for an active issue -In this example, the Investigator launches a background investigation, tracks its progress, and returns a completed report with overall health status, severity, top suspects, likely causes, affected resources, and recommended fixes. +In this example, the Investigator launches a background investigation, tracks its progress, and returns a completed report with the overall health, severity, suspects, ranked hypotheses, recommended fixes, and a timeline of events. -![image](./images/chat-modes-11.png) +![A completed investigation report with the root cause summary, Health, Severity, Suspects, and Time window, a high-confidence hypothesis with recommended fixes, and the timeline](./images/chat-modes-11.png) diff --git a/src/content/docs/docs/kloudmate-assistant/images/chat-modes-11.png b/src/content/docs/docs/kloudmate-assistant/images/chat-modes-11.png index ac578f20..ed6d5f76 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/chat-modes-11.png and b/src/content/docs/docs/kloudmate-assistant/images/chat-modes-11.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/chat-modes-13.png b/src/content/docs/docs/kloudmate-assistant/images/chat-modes-13.png index 0af17d23..3a1da9dc 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/chat-modes-13.png and b/src/content/docs/docs/kloudmate-assistant/images/chat-modes-13.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/chat-modes-14.png b/src/content/docs/docs/kloudmate-assistant/images/chat-modes-14.png index 36d42979..0dfa47a7 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/chat-modes-14.png and b/src/content/docs/docs/kloudmate-assistant/images/chat-modes-14.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/chat-modes-15.png b/src/content/docs/docs/kloudmate-assistant/images/chat-modes-15.png index 922fe454..dacef5ed 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/chat-modes-15.png and b/src/content/docs/docs/kloudmate-assistant/images/chat-modes-15.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/chat-modes-5.png b/src/content/docs/docs/kloudmate-assistant/images/chat-modes-5.png index de24f584..5056160f 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/chat-modes-5.png and b/src/content/docs/docs/kloudmate-assistant/images/chat-modes-5.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/investigations-1.jpeg b/src/content/docs/docs/kloudmate-assistant/images/investigations-1.jpeg index 9d8f367e..09ba3d4f 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/investigations-1.jpeg and b/src/content/docs/docs/kloudmate-assistant/images/investigations-1.jpeg differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/investigations-1.png b/src/content/docs/docs/kloudmate-assistant/images/investigations-1.png index b4d88d2a..4d82e97c 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/investigations-1.png and b/src/content/docs/docs/kloudmate-assistant/images/investigations-1.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/investigations-2.jpeg b/src/content/docs/docs/kloudmate-assistant/images/investigations-2.jpeg index 5838ad02..657dff77 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/investigations-2.jpeg and b/src/content/docs/docs/kloudmate-assistant/images/investigations-2.jpeg differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/investigations-2.png b/src/content/docs/docs/kloudmate-assistant/images/investigations-2.png index 9bccd882..9e81f505 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/investigations-2.png and b/src/content/docs/docs/kloudmate-assistant/images/investigations-2.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/mcp-integrations-tab.png b/src/content/docs/docs/kloudmate-assistant/images/mcp-integrations-tab.png index fa4e7d03..27aef0e7 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/mcp-integrations-tab.png and b/src/content/docs/docs/kloudmate-assistant/images/mcp-integrations-tab.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/mcp-integrations-tools.png b/src/content/docs/docs/kloudmate-assistant/images/mcp-integrations-tools.png index 2d9f6b78..a1f70d68 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/mcp-integrations-tools.png and b/src/content/docs/docs/kloudmate-assistant/images/mcp-integrations-tools.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/prompts-1.jpeg b/src/content/docs/docs/kloudmate-assistant/images/prompts-1.jpeg index 3c31b88f..ddfc675f 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/prompts-1.jpeg and b/src/content/docs/docs/kloudmate-assistant/images/prompts-1.jpeg differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/prompts-1.png b/src/content/docs/docs/kloudmate-assistant/images/prompts-1.png index 6ab514c9..2cfcffdb 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/prompts-1.png and b/src/content/docs/docs/kloudmate-assistant/images/prompts-1.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/skills-1.jpeg b/src/content/docs/docs/kloudmate-assistant/images/skills-1.jpeg index 7d9afca4..1e910c0d 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/skills-1.jpeg and b/src/content/docs/docs/kloudmate-assistant/images/skills-1.jpeg differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/skills-1.png b/src/content/docs/docs/kloudmate-assistant/images/skills-1.png index 0617da02..7f152019 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/skills-1.png and b/src/content/docs/docs/kloudmate-assistant/images/skills-1.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/skills-2.jpeg b/src/content/docs/docs/kloudmate-assistant/images/skills-2.jpeg index 4b7b12a9..5e10b862 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/skills-2.jpeg and b/src/content/docs/docs/kloudmate-assistant/images/skills-2.jpeg differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/skills-2.png b/src/content/docs/docs/kloudmate-assistant/images/skills-2.png index 59f7f7f0..2b20d05e 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/skills-2.png and b/src/content/docs/docs/kloudmate-assistant/images/skills-2.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/images/usage-1.png b/src/content/docs/docs/kloudmate-assistant/images/usage-1.png index d72d8bc7..b846a379 100644 Binary files a/src/content/docs/docs/kloudmate-assistant/images/usage-1.png and b/src/content/docs/docs/kloudmate-assistant/images/usage-1.png differ diff --git a/src/content/docs/docs/kloudmate-assistant/investigations.mdx b/src/content/docs/docs/kloudmate-assistant/investigations.mdx index 444211d3..8dbbabd3 100644 --- a/src/content/docs/docs/kloudmate-assistant/investigations.mdx +++ b/src/content/docs/docs/kloudmate-assistant/investigations.mdx @@ -6,17 +6,17 @@ sidebar: --- Investigations is your primary workspace for diagnosing issues, exploring anomalies, and uncovering insights. You can ask questions across metrics, logs, and traces, and iteratively troubleshoot problems in a conversational flow. -Opening **Assistant** lands you on the **Investigations** tab, which lists past and active investigations. Click **New investigation** to start one. The new investigation opens with quick-access cards to help you get started: +Opening **Assistant** lands you on the **Investigations** tab, which lists past and active investigations. Click **New investigation** to start one. The **Investigate an issue** page opens with quick-access cards above the chat input: -- **Previous investigations:** Returns you to the **Investigations** tab, where you can find and revisit completed or in-progress RCA reports. -- **Integration hub:** Opens the **MCP Integrations** tab, where you connect external systems to the Assistant. +- **Investigations:** Returns you to the **Investigations** tab, where you can find and revisit reports from earlier runs. +- **MCP Integrations:** Opens the **MCP Integrations** tab, where you connect tool servers for the Assistant. - **Skills:** Opens the **Skills** tab, where you can create and edit agent skills. -![The page New investigation opens: quick-access cards for Previous investigations, Integration hub, and Skills above the investigation chat input](./images/investigations-2.jpeg) +![The Investigate an issue page: quick-access cards for Investigations, MCP Integrations, and Skills above the chat input, with KloudMate Investigator selected](./images/investigations-2.jpeg) ## Adding Context to a Message -![image](./images/investigations-1.jpeg) +![The context picker opened from the + button in the chat input, with context categories on the left and resources on the right](./images/investigations-1.jpeg) The + button in the chat input bar opens a context picker that lets you attach relevant resources to your message before sending it. This helps the Assistant understand the scope of your query without requiring you to describe everything from scratch. Select a category on the left panel, then browse the available resources on the right and attach those relevant to your investigation. @@ -55,13 +55,12 @@ The Assistant analyzes the full context, including stack traces, attributes, and Open **Assistant → Investigations** to see the full investigations list. -![The investigations list with Title, Status, Time Range, Created, and Created By columns](./images/investigations-1.png) +![The investigations list with Title, Status, Created, and Created By columns and the New investigation button](./images/investigations-1.png) The list shows all past and active investigations in your workspace. Each row displays the following information: - **Title:** A brief summary or auto-generated description of the investigation. - **Status:** The current state of the investigation, typically shown as Completed or In Progress. -- **Time Range:** The observation window that was used when the investigation was run. - **Created:** The date and time the investigation was initiated. - **Created By:** The user who triggered the investigation. @@ -71,18 +70,24 @@ To start a new investigation, open **Assistant → Investigations** and click ** ## Viewing an Investigation -Click any investigation title to open the full investigation report. The report is structured to give you a clear picture of what was analyzed, what was found, and what the likely causes are. +Click any investigation title to open the full report. The report opens with a one-line summary of what the investigation found, followed by the evidence behind it. -![image](./images/investigations-2.png) +![An investigation report with the root cause summary, the Health, Severity, Suspects, and Time window panel, a hypothesis with its recommended fixes, and the timeline](./images/investigations-2.png) -At the top of the report, the Investigation Context panel summarizes the scope of the analysis, including the services or resources examined, the time range observed, and the symptom or trigger that was described. It also shows the number of **AI credits** consumed for the investigation and a status badge indicating whether it is **Completed** or still running. If the outcome could not be determined, the badge will show **Unknown**. +The summary panel at the top shows a status badge, such as **Root cause found**, and how long the investigation took. Next to the summary, it lists the overall **Health**, the **Severity**, the **Suspects** (the resources most likely at fault), and the **Time window** that was analyzed. -Below the context panel, the **Identified User Impact** section provides a plain-language summary of how the issue may be affecting end users or downstream systems. This is designed to give a quick understanding of the situation before diving into the technical detail. +Below the summary, each hypothesis gets its own card, ranked by how likely it is. Each card includes: -The main body of the report contains the **Active Hypotheses** section, which presents a ranked list of potential root causes uncovered during the investigation. Each hypothesis includes the following: +- **Cause:** A label for the type of cause, such as `capacity` or `dependency`, followed by a description of the suspected root cause. +- **Confidence:** How strongly the evidence supports the hypothesis, for example **High confidence** or **Low confidence**. +- **Explanation:** What was confirmed, what was ruled out against it, and any caveats. +- **Recommended fixes:** Steps to resolve the issue, each with the **Expected result** you should see once the fix works. Fixes are AI-generated, so verify any command before you run it. -- **Hypothesis Name:** A concise label for the suspected root cause. -- **Severity:** Indicates the likely impact level: High, Medium, or Low. -- **Description:** A detailed explanation of why this hypothesis was raised, what it implies for the system, and how it relates to the observed symptom. -- **Supporting Evidence:** A list of data points from traces, topology, logs, and metrics that validate the hypothesis. -- **Relevant Resources:** Tags that link to the specific services, pods, or other entities implicated in the hypothesis, making it easy to navigate directly to the affected components. +The rest of the report backs up the hypotheses: + +- **Timeline:** The key events in order, with the alert trigger highlighted. +- **Supporting evidence:** The individual findings from alerts, Kubernetes, metrics, logs, and traces. For a metric finding, click **Show chart** to see the data or **Open in Explore** to query it further. +- **Resources involved:** A map of the resources the report names, each marked as **Suspect** or **Affected**, with the number of firing alerts. Click **Show connected resources** to see related resources. +- **Ruled out:** Causes the investigation checked and rejected. +- **Gaps:** Checks the investigation couldn't answer from the available data. +- **Investigation steps:** Every probe the investigation ran, grouped by data source. diff --git a/src/content/docs/docs/kloudmate-assistant/mcp-server.mdx b/src/content/docs/docs/kloudmate-assistant/mcp-server.mdx index 84b51667..c583a966 100644 --- a/src/content/docs/docs/kloudmate-assistant/mcp-server.mdx +++ b/src/content/docs/docs/kloudmate-assistant/mcp-server.mdx @@ -251,6 +251,7 @@ If the connection works, the agent calls a KloudMate tool and answers from your - **Requests fail with an access error.** You no longer have access to the workspace the connection reads. KloudMate checks your access on every request. - **An API key fails to authenticate.** The key is wrong or deleted, or the `Authorization` header is missing the `Bearer ` prefix. - **An API key request is refused for a missing workspace.** Add the `x-workspace-id` header. +- **Requests fail with HTTP 429.** The connection went over its [request limit](#security-and-scope). Wait the number of seconds in the `Retry-After` header, then try again. ## Available tools @@ -309,6 +310,7 @@ For example, a triage prompt might read the open alert groups, check what change ## Security and scope - **Read-only.** The tools can't change anything in your workspace. +- **60 requests a minute.** Each user gets 60 requests a minute, and each API key gets its own 60. A request over the limit gets HTTP 429 with a `Retry-After` header that says how many seconds to wait. - **Your permissions, one workspace.** Every connection acts with your own permissions. An OAuth connection reads only the workspace you picked when you signed in. An API key connection reads the workspace in its `x-workspace-id` header. KloudMate checks your access on every request, so a connection can't read a workspace you can't. - **Disconnect from the app.** To disconnect an app that signed in with OAuth, remove the KloudMate server or connector in that app. KloudMate doesn't list the apps you've connected. - **Keep API keys secret.** Prefer the environment variable or prompted secret options above over pasting a key into a file, and add any config file that contains a key to `.gitignore`. If a key is exposed or no longer used, delete it from the **Personal API Keys** screen. Any client using it stops working immediately. diff --git a/src/content/docs/docs/kloudmate-assistant/settings.mdx b/src/content/docs/docs/kloudmate-assistant/settings.mdx index 3363cd81..f1807799 100644 --- a/src/content/docs/docs/kloudmate-assistant/settings.mdx +++ b/src/content/docs/docs/kloudmate-assistant/settings.mdx @@ -10,15 +10,15 @@ Prompts, skills, and MCP integrations control what appears in the Assistant expe Quickstart prompts are suggested questions displayed in the chat interface to help users get immediate value. Clicking a prompt inserts its text directly into the chat input, saving users from having to type common queries from scratch. Open **Assistant → Prompts** to create and manage them. -![The Prompts tab under Assistant: a list of prompts with Name, Prompt, Visibility, and Enabled columns, and the Create Prompt button](./images/prompts-1.png) +![The Prompts tab under Assistant: a list of prompts with Name, Prompt, Visibility, and Enabled columns, and the New prompt button](./images/prompts-1.png) The prompts list displays each prompt’s name, a preview of the prompt text, its visibility (Private or Shared), and whether it is currently enabled. The list can be filtered by All, Private, or Shared to quickly locate what you are looking for. -To create a new prompt, click **Create Prompt**. +To create a new prompt, click **New prompt**. ![The Create Prompt dialog with Title, Prompt, Private, and Enabled fields](./images/prompts-1.jpeg) -A dialog will appear with the following fields: +The **Create Prompt** dialog has the following fields: - **Title:** A short, scannable label for the prompt - **Prompt:** The actual text that gets inserted into the chat input when the prompt is selected. This field is required. @@ -50,9 +50,14 @@ To create a skill from scratch, click **New skill**. This opens the skill editor screen, which shows a **Title** field at the top and a **Content** editor below it. The content editor comes pre-populated with a structured template, it includes a metadata block at the top where you fill in the skill name and description, followed by a content section where you describe the steps the Assistant should follow in detail. -![The skill editor with a Title field, a Content editor pre-filled with the skill template, and the Private toggle](./images/skills-2.png) +![The skill editor with a Title field, a Content editor pre-filled with the skill template, and the Private and Use in investigations toggles](./images/skills-2.png) -Fill in the title, replace the template placeholders with your actual skill instructions, configure the **Private** toggle as needed, then click **Save** to create the skill. +Fill in the title, replace the template placeholders with your actual skill instructions, and configure the toggles below the editor: + +- **Private:** When on, only you can use the skill. Turn it off to share the skill with the workspace. +- **Use in investigations:** Lets the KloudMate Investigator use the skill. Share the skill first to turn this on. + +Click **Save** to create the skill. ### Importing a Skill from a Template @@ -100,7 +105,7 @@ If you can use two servers of the same provider, the Assistant uses one that you Open a server's row menu and click **Tools…** to see the tools the server offers and set how the Assistant uses each one. Click **Save** when you're done. To change the tools of a shared server, you need the **Developer** or **Admin** role. -![The Tools dialog for a custom MCP server, with quick actions, a search box, and each tool's labels, Enabled switch, and Approval mode](./images/mcp-integrations-tools.png) +![The Tools dialog for a ClickUp tool server, with quick actions, a search box, and each tool's labels, Enabled switch, and Approval mode](./images/mcp-integrations-tools.png) **Enabled** decides whether the Assistant can call a tool at all. Keep the list short: with more than 10 tools enabled, the Assistant can respond more slowly. diff --git a/src/content/docs/docs/kloudmate-assistant/usage.mdx b/src/content/docs/docs/kloudmate-assistant/usage.mdx index 5698e2a3..df58ab68 100644 --- a/src/content/docs/docs/kloudmate-assistant/usage.mdx +++ b/src/content/docs/docs/kloudmate-assistant/usage.mdx @@ -8,7 +8,7 @@ Open **Assistant → Usage** to see how many AI credits your workspace spent in A chat message costs 1 AI credit, an investigation costs 5, and an [Ask KloudMate Assistant](/workflows/actions/#ask-kloudmate-assistant) step in a workflow costs 1 each time it answers. They all use the same AI credits. -If your organization prepays for AI credits, the page also shows the credits available, and someone with the **Owner** role can click **Buy credits**. +If your organization prepays for AI credits, the page also shows the credits available, and an Owner or a Billing admin can click **Buy credits**. ![The Usage tab under Assistant, with the AI credits available, summary tiles, and charts of daily credit usage](./images/usage-1.png) diff --git a/src/content/docs/docs/logs/log-explorer/images/log-explorer-1.jpeg b/src/content/docs/docs/logs/log-explorer/images/log-explorer-1.jpeg index 9c4f0761..9fd414c4 100644 Binary files a/src/content/docs/docs/logs/log-explorer/images/log-explorer-1.jpeg and b/src/content/docs/docs/logs/log-explorer/images/log-explorer-1.jpeg differ diff --git a/src/content/docs/docs/logs/log-explorer/images/log-explorer-2.jpeg b/src/content/docs/docs/logs/log-explorer/images/log-explorer-2.jpeg index b793d96e..163c713f 100644 Binary files a/src/content/docs/docs/logs/log-explorer/images/log-explorer-2.jpeg and b/src/content/docs/docs/logs/log-explorer/images/log-explorer-2.jpeg differ diff --git a/src/content/docs/docs/logs/log-explorer/images/log-explorer-3.jpeg b/src/content/docs/docs/logs/log-explorer/images/log-explorer-3.jpeg index f54ff8c9..9d103149 100644 Binary files a/src/content/docs/docs/logs/log-explorer/images/log-explorer-3.jpeg and b/src/content/docs/docs/logs/log-explorer/images/log-explorer-3.jpeg differ diff --git a/src/content/docs/docs/logs/log-explorer/images/log-explorer-4.jpeg b/src/content/docs/docs/logs/log-explorer/images/log-explorer-4.jpeg index 15efba33..8685e654 100644 Binary files a/src/content/docs/docs/logs/log-explorer/images/log-explorer-4.jpeg and b/src/content/docs/docs/logs/log-explorer/images/log-explorer-4.jpeg differ diff --git a/src/content/docs/docs/logs/log-explorer/images/log-explorer-5.jpeg b/src/content/docs/docs/logs/log-explorer/images/log-explorer-5.jpeg index e485d106..ed2ef032 100644 Binary files a/src/content/docs/docs/logs/log-explorer/images/log-explorer-5.jpeg and b/src/content/docs/docs/logs/log-explorer/images/log-explorer-5.jpeg differ diff --git a/src/content/docs/docs/logs/log-explorer/images/log-explorer-6.jpeg b/src/content/docs/docs/logs/log-explorer/images/log-explorer-6.jpeg index 25e14afc..cf16834b 100644 Binary files a/src/content/docs/docs/logs/log-explorer/images/log-explorer-6.jpeg and b/src/content/docs/docs/logs/log-explorer/images/log-explorer-6.jpeg differ diff --git a/src/content/docs/docs/logs/log-explorer/images/log-explorer-7.jpeg b/src/content/docs/docs/logs/log-explorer/images/log-explorer-7.jpeg index 3daac951..6ba70c4a 100644 Binary files a/src/content/docs/docs/logs/log-explorer/images/log-explorer-7.jpeg and b/src/content/docs/docs/logs/log-explorer/images/log-explorer-7.jpeg differ diff --git a/src/content/docs/docs/logs/log-explorer/index.mdx b/src/content/docs/docs/logs/log-explorer/index.mdx index aa08ed8e..b72b4109 100644 --- a/src/content/docs/docs/logs/log-explorer/index.mdx +++ b/src/content/docs/docs/logs/log-explorer/index.mdx @@ -13,7 +13,7 @@ Log Explorer indexes logs from all connected services and applications. Use it t The main view lists log entries in a table. Each row represents a single log entry and shows the most useful attributes for quick triage. -![The Log Explorer main view, with the log volume graph above the field filters and a list of log entries showing time, service, and message.](./images/log-explorer-1.jpeg) +![The Logs page, with the log volume chart above a list of log entries showing time, service, and message, and the field filters on the left.](./images/log-explorer-1.jpeg) To see log volume over time, click the chart icon next to **Saved**. The **Log volume** chart stacks errors, warnings, and all other logs in each interval. @@ -25,7 +25,7 @@ Select any log entry to inspect its full payload, labels, and metadata. The search bar at the top of Log Explorer shows your search as chips. Each chip is one condition, and a log entry must match every chip to appear. -![The Log Explorer search bar highlighted at the top of the page.](./images/log-explorer-2.jpeg) +![The search bar highlighted at the top of the Logs page, above the log volume chart.](./images/log-explorer-2.jpeg) To search for text anywhere in a log entry, type it in the bar and press Enter. The text becomes a free-text chip that searches every string field, so `timeout` finds entries with that word in the message or in any text attribute. @@ -49,7 +49,7 @@ If the text doesn't parse, Log Explorer shows the reason and doesn't run the sea Use the sidebar filters to narrow the result set by relevant dimensions. Combine multiple filters to isolate a specific set of logs. -![The field filters highlighted in the Log Explorer sidebar, grouped into categories such as Common, Kubernetes, Host, and Container.](./images/log-explorer-3.jpeg) +![The field filters highlighted in the Logs sidebar, grouped into categories such as Common, Kubernetes, Host, and Container.](./images/log-explorer-3.jpeg) You can also filter from a log entry. In the log detail panel, click **Filter by value** (the filter icon) next to a field to add that field and value to the search. A filter added from the sidebar or the detail panel is combined with the current search using AND. @@ -63,7 +63,7 @@ Save, reuse, and browse queries from the **Saved** menu next to the search bar: - **Recent** lists the most recently saved queries. Click one to run it. - **All saved queries** opens every saved query, organized in folders. -![The Saved queries dialog, with a folder on the left and a list of saved queries showing each name and description.](./images/log-explorer-4.jpeg) +![The Saved queries dialog, listing each saved query's name and description, with the Add Folder button at the top.](./images/log-explorer-4.jpeg) Use folders to keep saved queries organized by service, team, or use case. @@ -77,7 +77,7 @@ Select any log entry to view detailed information and analysis. **Ask Assistant** opens KloudMate Assistant directly from the issue. It reviews the error log and its associated trace, generates a Log & Trace Summary, identifies the probable root cause, and suggests next steps for faster resolution. -![The log detail panel beside KloudMate Assistant, which shows the log it was asked about and a Log & Trace Summary.](./images/log-explorer-6.jpeg) +![The log detail panel for a load-generator error beside KloudMate Assistant, which shows the log it was asked about and its findings.](./images/log-explorer-6.jpeg) Refer to the [KloudMate Assistant](../../kloudmate-assistant/) documentation for more details. @@ -91,7 +91,7 @@ The **View log** link on a logs **Records** table builds this link for you. See Use **Stream** to watch logs as they are ingested into KloudMate. -![The Streaming button highlighted in Log Explorer while new log entries appear in the list.](./images/log-explorer-7.jpeg) +![The Streaming button highlighted at the top of the Logs page while new log entries appear in the list.](./images/log-explorer-7.jpeg) ## Search Archived Logs diff --git a/src/content/docs/docs/network-monitoring/images/device-drawer-interfaces.png b/src/content/docs/docs/network-monitoring/images/device-drawer-interfaces.png index 2c632de3..34d9a148 100644 Binary files a/src/content/docs/docs/network-monitoring/images/device-drawer-interfaces.png and b/src/content/docs/docs/network-monitoring/images/device-drawer-interfaces.png differ diff --git a/src/content/docs/docs/network-monitoring/images/device-events-tab.png b/src/content/docs/docs/network-monitoring/images/device-events-tab.png new file mode 100644 index 00000000..028cd73c Binary files /dev/null and b/src/content/docs/docs/network-monitoring/images/device-events-tab.png differ diff --git a/src/content/docs/docs/network-monitoring/images/reachability-path.png b/src/content/docs/docs/network-monitoring/images/reachability-path.png new file mode 100644 index 00000000..4160c7b5 Binary files /dev/null and b/src/content/docs/docs/network-monitoring/images/reachability-path.png differ diff --git a/src/content/docs/docs/network-monitoring/images/reachability-tab.png b/src/content/docs/docs/network-monitoring/images/reachability-tab.png index 78d57674..5c9bb959 100644 Binary files a/src/content/docs/docs/network-monitoring/images/reachability-tab.png and b/src/content/docs/docs/network-monitoring/images/reachability-tab.png differ diff --git a/src/content/docs/docs/network-monitoring/images/sla-and-capacity.png b/src/content/docs/docs/network-monitoring/images/sla-and-capacity.png new file mode 100644 index 00000000..05409772 Binary files /dev/null and b/src/content/docs/docs/network-monitoring/images/sla-and-capacity.png differ diff --git a/src/content/docs/docs/network-monitoring/images/topology.png b/src/content/docs/docs/network-monitoring/images/topology.png index 6fd2eb2d..81d45997 100644 Binary files a/src/content/docs/docs/network-monitoring/images/topology.png and b/src/content/docs/docs/network-monitoring/images/topology.png differ diff --git a/src/content/docs/docs/network-monitoring/network-page.mdx b/src/content/docs/docs/network-monitoring/network-page.mdx index ab081fd9..00ce361f 100644 --- a/src/content/docs/docs/network-monitoring/network-page.mdx +++ b/src/content/docs/docs/network-monitoring/network-page.mdx @@ -67,7 +67,7 @@ To find where a machine is plugged in, enter its MAC address in **Find a device The **Topology** tab draws a link map from LLDP and CDP neighbour data. Devices are nodes, neighbour links are edges, and both use the same status colors as the Overview. Gateways and routers sit at the top and access points at the bottom. A link whose port is down is drawn in red, and a lost link is dashed. Select a link to open its port. -![The Topology tab showing a monitored Chennai device linked to two unmonitored neighbour nodes, with a status legend for up, down, not reporting, and unmonitored](./images/topology.png) +![The Topology map with gateways, switches, and access points linked by neighbour data, a legend that includes Link down and Link lost, and the Link changes panel below it reporting 0 of 7 links lost](./images/topology.png) On agent 2.11.0 or later, the agent collects LLDP and CDP neighbours from every SNMP device, so the map fills in without any setup. Older agents collect only LLDP, and only from devices that were set up with the **LLDP neighbours** capability. A neighbour that isn't polled over SNMP still appears on the map as an **Unmonitored** node. @@ -89,6 +89,8 @@ A device's availability is the share of its polls that it answered over the peri Utilization above 60% is highlighted as a warning, and above 80% as an error. Because p95 ignores the busiest 5% of the period, a port with occasional bursts can show a low p95 while still saturating briefly. +![The SLA and capacity view with availability by site, where Ahmedabad is at 0.00% and the other sites are above 99.9%, and the start of the Availability by device list](./images/sla-and-capacity.png) + ## Device drawer Selecting a device opens its drawer. The header shows the device's status, and the tabs depend on what the device reports: @@ -101,7 +103,7 @@ Selecting a device opens its drawer. The header shows the device's status, and t ![The device drawer Overview tab: the device details and monitoring status, a port map with ports in use, an active-issues list, and the busiest inbound and outbound ports beside CPU and memory charts](./images/device-drawer-overview.png) -![The device drawer Interfaces tab: a table of interfaces with status, IP, speed, throughput, utilization, and errors, sorted with down ports first](./images/device-drawer-interfaces.png) +![The Interfaces tab of the delhi-switch-01 drawer, listing five ports with their status, speed, throughput, utilization, and errors, one of them Not connected](./images/device-drawer-interfaces.png) Select a port anywhere on the page to open the port drawer. It shows the port's details, what it's connected to, link uptime, traffic and utilization, errors, the flow through it, and who's on it. diff --git a/src/content/docs/docs/network-monitoring/reachability-checks.mdx b/src/content/docs/docs/network-monitoring/reachability-checks.mdx index 47e5decb..cadd42a4 100644 --- a/src/content/docs/docs/network-monitoring/reachability-checks.mdx +++ b/src/content/docs/docs/network-monitoring/reachability-checks.mdx @@ -43,7 +43,7 @@ The agent discovers and pings its own default gateway. Saving adds both probes a Open **Network Monitoring → Reachability**. Each probe is a row with its endpoint, site, role (gateway or internet), protocol, round-trip time, jitter, packet loss, status, and when it was last seen. Summary tiles at the top count how many checks are up, down, and not reporting. Select a row to open the site's drawer, with charts for reachability, round-trip time, packet loss, and jitter, and the traced path. -![The Reachability tab listing gateway and internet probes with their site, role, protocol, RTT, packet loss, and status](./images/reachability-tab.png) +![The Reachability view listing gateway and internet probes with their site, role, protocol, RTT, jitter, packet loss, and status. Jitter is filled in for the ICMP gateway probes and empty for the TCP internet probes](./images/reachability-tab.png) The agent emits these metrics per probe: @@ -82,6 +82,8 @@ Open the site's drawer from the **Reachability** tab. The **Path** panel at the - **RTT**: the mean round trip of the hop's answered probes. - **Loss**: the share of the hop's probes that got no answer. +![The Path panel in a site drawer: a trace to 8.8.8.8:443 marked Reached, with seven hops, their addresses, RTT, and loss, and one hop with No answer at 100% loss](./images/reachability-path.png) + A hop listed twice answered from two addresses, which usually means a load-balanced route. A router that rate-limits its own replies can show loss on its hop even though traffic through it, and to the target, isn't lost. Hops after the last one that answered are left out. The path is stored as metrics on the internet probe: diff --git a/src/content/docs/docs/network-monitoring/traps-and-syslog.mdx b/src/content/docs/docs/network-monitoring/traps-and-syslog.mdx index edf11f63..f8dd21de 100644 --- a/src/content/docs/docs/network-monitoring/traps-and-syslog.mdx +++ b/src/content/docs/docs/network-monitoring/traps-and-syslog.mdx @@ -62,6 +62,8 @@ To find events from devices that aren't polled over SNMP, search [Logs](/logs/lo Open a device from **Network Monitoring** and select the **Events** tab. It lists the traps and syslog messages that device sent in the selected time range, newest first, with the time, source, severity, and message, up to the latest 100. Select **Open in logs** to see every event in [Logs](/logs/log-explorer/) with the same filters. +![The Events tab of a switch drawer, listing link-down and config-change traps and syslog messages with their time, source, severity, and message, and an Open in logs action](./images/device-events-tab.png) + Events also feed the **Probable cause** panel on the Overview. When a device is down, its recent traps and syslog messages are listed as evidence. See [Using Network Monitoring](/network-monitoring/network-page/#probable-cause). ## Dropped events diff --git a/src/content/docs/docs/platform/config-as-code.mdx b/src/content/docs/docs/platform/config-as-code.mdx new file mode 100644 index 00000000..3b5c9aee --- /dev/null +++ b/src/content/docs/docs/platform/config-as-code.mdx @@ -0,0 +1,62 @@ +--- +title: "Config as code" +description: "Export dashboards, alert rules, workflows, and workspace variables as YAML, and import them into another workspace from the app or with the kmctl CLI." +sidebar: + label: "Config as code" + order: 2.7 +--- + +Dashboards, alert rules, workflows, and workspace variables can be exported as YAML and imported into another workspace. Use it to copy a setup from staging to production, to start a new workspace from an existing one, or to keep your configuration in git. + +Each dashboard, dashboard folder, alert rule, alert folder, workflow, and workspace variable is exported as its own YAML document. Anything that belongs to the source workspace, such as an AWS account, a connection, a notification channel, or a folder, is written as a named input instead of an ID. When you import the file into another workspace, each input is matched to what that workspace has: + +- **An AWS account** by its account number. **A connection** only when it's the same one, as when you import a file back into the workspace it came from. Either one also matches when the workspace has only one of its kind. +- **A notification channel** by name and type, and **a workflow variable** by name and whether it's secret. +- **A folder** by name. If no folder has that name, the import creates it. +- **A dashboard or a called workflow** only when it's the same one, either in the same file or imported earlier from the same source. + +## Export from the app + +Open the export from the resource you want to copy: + +- **A dashboard:** click **Share** and open the **Export** tab. +- **An alert rule or an alert folder:** select **Export…** from its menu. +- **A workflow:** select **Export…** from its menu. + +The export is a single YAML file, with one document per resource separated by `---`. Click **Copy** or **Download**. + +Smart Alerts rules aren't exported. Workspace variables are exported only with [kmctl](#keep-config-in-git-with-kmctl). + +## Import into a workspace + +1. Click **Import** on the **Dashboards**, **Alerts**, or **Workflows** list. +2. Paste the exported YAML, or click **Choose file**. To install an item from the [gallery](../gallery/), paste its ID or link instead. +3. Enter a value for each secret the file uses. Secret values are never stored in the file. +4. Click **Check**. Nothing is written yet. Each resource is listed with its action (**Create**, **Update**, **No change**, or **Skip**) and the fields that would change. +5. Resolve anything that isn't found in this workspace. For an account, a connection, or a channel with no match, select one of this workspace's own from the **Pick a match** list. For a workflow variable that's missing, click **Set value** to create it here. +6. Click **Apply**. + +### What the import changes + +- **Importing a resource that already exists updates it.** A resource is matched by its UID, not its name, so importing the same file twice updates the resources from the first import instead of creating copies. +- **If an account or connection is missing, a new resource is imported turned off.** A new alert rule is disabled, a new workflow isn't published, and a dashboard panel shows that its data source is missing. An existing resource isn't changed. +- **A workflow is imported as published** if the file says it's published. +- **Older export files aren't accepted.** A dashboard JSON or alerts JSON file from the previous export can't be imported, so export the resources again. + +## Keep config in git with kmctl + +[kmctl](https://github.com/kloudmate/kmctl) is a command-line tool for the same export and import. It writes one file per resource, so you can review changes in pull requests and apply them to a workspace from CI. A file downloaded from the app can go into a kmctl directory as it is. + +```bash +kmctl export --context dev --out ./config --bundle payments +kmctl plan ./config --context prod +kmctl apply ./config --context prod +``` + +`export` writes a workspace's resources to files, `plan` shows what applying them would change, and `apply` makes the changes. The [kmctl README](https://github.com/kloudmate/kmctl#readme) covers installation, contexts, bundles, per-workspace values, and deleting resources with `--prune`. + +kmctl uses the config API: `GET /workspaces/:workspaceId/config/export`, and `POST` to `config/plan` and `config/apply`. + +## Permissions + +Export needs read access to what it exports. Import needs permission to change each resource it creates or updates, and secret workflow variables also need the **Secrets** permission for workflows. See the [permission reference](../settings/roles/permission-reference/). diff --git a/src/content/docs/docs/platform/data-retention.mdx b/src/content/docs/docs/platform/data-retention.mdx index ab4ee571..4cb5b8ac 100644 --- a/src/content/docs/docs/platform/data-retention.mdx +++ b/src/content/docs/docs/platform/data-retention.mdx @@ -16,14 +16,14 @@ Logs, traces, RUM data and profiles are kept for the window your plan sets. This | Data | Retention | | --- | --- | -| Logs and traces | Free 7 days, Pro 14 days | +| Logs and traces | Set by your plan | | RUM sessions and replays | Same as traces, unless your plan sets RUM retention separately | -| Continuous profiling | 7 days, unless your plan sets profiling retention separately | -| Metrics | 1 year | +| Continuous profiling | Set by your plan | +| Metrics | Set by your plan: 7 days on Free, 1 year on Pro | -Metrics are billed by sample count rather than by how long they're kept, so they're kept for a year on every plan. +Metrics are billed by sample count, not by how long they're kept. -Logs, traces, RUM and profiling retention is set by your plan. See [Subscription & Billing](../settings/subscription-billing/). +Your organization's windows are listed in **Settings → [Organization](../settings/organization/)**, under **Data retention**. For what each plan includes, see [kloudmate.com/pricing](https://www.kloudmate.com/pricing). ## Metrics are tiered by resolution diff --git a/src/content/docs/docs/platform/gallery.mdx b/src/content/docs/docs/platform/gallery.mdx new file mode 100644 index 00000000..f63db2fc --- /dev/null +++ b/src/content/docs/docs/platform/gallery.mdx @@ -0,0 +1,59 @@ +--- +title: "Gallery" +description: "Install ready-made dashboards, alert rules, and workflows from the KloudMate gallery into a workspace by pasting an item's ID or link." +sidebar: + label: "Gallery" + order: 2.8 +--- + +The [KloudMate gallery](https://templates.kloudmate.com) has ready-made dashboards, alert rules, and workflows that you can install into any workspace. Installing an item adds a copy to your workspace. You can change the copy as you like, and a later version of the item doesn't change it unless you install it again. + +## Find an item + +Browse or search the gallery at [templates.kloudmate.com](https://templates.kloudmate.com). Each item's page lists the resources it contains, what it needs from your workspace if anything, and any setup steps. + +Items published by KloudMate carry the **Official** badge and are listed first. Any organization can publish, and its items show who published them. KloudMate doesn't review those items, so check what an item holds before you install it. + +## Install an item + +Every item has an ID, such as `aws-rds`, shown on its page with a button to copy it. To share an item with your team, send its ID or its link. + +1. Click **Import** on the **Dashboards**, **Alerts**, or **Workflows** list. +2. Paste the item's ID or its link. +3. Click **Check**. Nothing is written yet. Each resource is listed with its action and the fields that would change. +4. Resolve anything the item needs that isn't found in this workspace. For an AWS account, a connection, or a notification channel, select a match from this workspace in the **Pick a match** list. For a workflow variable that's missing, click **Set value** to create it here. +5. Click **Apply**. + +You can also click **Open in KloudMate** on an item's page in the gallery, then click **Install**. + +### Check the setup steps + +Some items need something in place before their data shows up, such as a minimum agent version, a collector setting, or a data source. The publisher lists these setup steps on the item's page, and the Import dialog shows them as soon as you paste the item's ID or link. + +### What installing changes + +- A dashboard or an alert rule is installed outside any folder, unless the item was published as a folder. In that case, the folder is created with everything in it. +- A workflow is installed as an unpublished draft, turned off. Open it, review its steps, then publish it and turn it on. +- Installing an item again, for example after a new version is published, updates the copy from the first install. **Check** shows each field that would change, including fields you edited yourself. For a workflow, the new version is saved as a draft, and the published version keeps running until you publish the draft. + +Installing works the same way as [importing a config file](../config-as-code/). Click **Download YAML** on an item's page in KloudMate to keep the item in a [kmctl](../config-as-code/#keep-config-in-git-with-kmctl) directory. + +## Publish an item + +1. Open **Export** on a dashboard (in its **Share** menu), on an alert rule or folder, or on a workflow, then click **Publish to gallery**. **Publish** alone is enough to open a dashboard's **Share** menu: without **Share**, it opens on **Export** and has no public link. +2. Pick what to publish: folders with everything in them, or single resources. +3. Give it a name and an ID. Anyone can install it with that ID, so it can't be changed later. An organization other than KloudMate gets an eight-digit number in front of its IDs, such as `48291307-api-latency`. +4. Add a description, setup steps, tags, and up to three screenshots, PNG or JPEG of up to 1 MB each. The first screenshot is the item's picture in the gallery. +5. Click **Publish**. + +Variables and secrets are never published. Each workspace that installs the item picks its own connections and accounts. + +To publish a new version, open the item in KloudMate and click **New version**. **Edit details** changes the listing and screenshots without a new version. **Unpublish** takes the item off the gallery; workspaces keep what they installed. + +An organization can publish up to 50 times a day, with up to 200 resources in one item. + +## Permissions + +Publishing needs **Publish** for each kind of resource the item holds, in the workspace you publish from: on dashboards, alerts, or workflows. Developers and Admins have it. To publish a new version, edit, or unpublish an item later, you need the same permissions in the workspace it was published from. + +Installing needs permission to change each kind of resource the item contains: **Manage** for dashboards, **Configure** for alerts, and **Configure** for workflows. See the [permission reference](../settings/roles/permission-reference/). diff --git a/src/content/docs/docs/platform/index.mdx b/src/content/docs/docs/platform/index.mdx index 81747273..49bca9d9 100644 --- a/src/content/docs/docs/platform/index.mdx +++ b/src/content/docs/docs/platform/index.mdx @@ -11,6 +11,8 @@ Use the Platform section to understand the core KloudMate workspace experience, - [Homepage](./homepage/) - [Search](./search/) +- [Config as code](./config-as-code/) +- [Gallery](./gallery/) - [Settings](./settings/) - [KloudMate Infinity](./infinity/) diff --git a/src/content/docs/docs/platform/settings/api-keys.mdx b/src/content/docs/docs/platform/settings/api-keys.mdx index cea97d96..7385b197 100644 --- a/src/content/docs/docs/platform/settings/api-keys.mdx +++ b/src/content/docs/docs/platform/settings/api-keys.mdx @@ -25,6 +25,12 @@ For the REST API, send the key in the `x-api-key` header: x-api-key: YOUR_API_KEY ``` +If a tool can send a user name and password but no custom header, such as a CMDB's file import, send the key as the password of HTTP basic authentication instead. The user name can be anything: + +```bash +curl -u "kloudmate:YOUR_API_KEY" "https://api.kloudmate.com/inventory/resources?workspace_id=YOUR_WORKSPACE_ID" +``` + The REST API doesn't accept the key as `Authorization: Bearer`. A request sent that way fails with `401 Invalid token`. The [MCP server](../../../kloudmate-assistant/mcp-server/) is different: it takes the key as a bearer token. Use it for any script or service that queries your observability data. A key can also create, update, and delete dashboards and add annotations, within the permissions you have. See [Dashboard JSON and API](../../../visualize-data/dashboards/dashboard-json-and-api/). It also connects the [KloudMate MCP server](../../../kloudmate-assistant/mcp-server/) to a client that can't sign in with OAuth. A client that supports OAuth, such as Claude, Cursor, or VS Code, can sign in to the MCP server instead, without a key. Because the key carries your access, treat it like a password. Anyone holding it can act as you. @@ -37,6 +43,8 @@ A personal key spans every workspace you can reach, so a tool that reads from ** Ingest keys send telemetry into a single workspace. A key belongs to the workspace it's created in, so create it in the workspace whose data you want to fill. Find them in that workspace under **Settings → Ingest Keys**. Developers and Admins can see the page, and only an Admin can add a key. +![The Ingest Keys list, showing each key's type, note, and created and updated dates](./images/ingest-keys-list.png) + There are two kinds. ### Ingest Key: Backend @@ -55,7 +63,7 @@ exporters: ### Ingest Key: Frontend -A Frontend ingest key is for telemetry sent straight from a browser or mobile app, such as [Real-User Monitoring](../../../rum/). Because the key ships in client code where anyone can read it, you must list the **allowed hosts** it can send from. Data from any other origin is rejected, which limits the damage if the key leaks. +A Frontend ingest key is for telemetry sent straight from a browser or mobile app, such as [Real-User Monitoring](../../../rum/). Because the key ships in client code where anyone can read it, you must list the **allowed hosts** it can send from. For a mobile app, add the app's ID under **Allowed app IDs**. Data from any other origin is rejected, which limits the damage if the key leaks. ## Create a key @@ -81,7 +89,9 @@ A Frontend ingest key is for telemetry sent straight from a browser or mobile ap 2. Choose **Ingest Key – Backend** or **Ingest Key – Frontend**. You can't change the type after the key is created, so pick the one that fits. -3. For a Frontend key, add at least one **allowed host**. Include the protocol and port if there is one, for example `https://app.example.com`. Data sent from any other origin is rejected. +3. For a Frontend key, add at least one **allowed host**. For example, `app.example.com` matches `https://app.example.com`. Add `*.example.com` to also match its subdomains. Data sent from any other origin is rejected. + + To let a mobile app send data with the key, click **Add app ID** under **Allowed app IDs**. 4. Add a **Note** that says what the key is for: `prod-otel-collector`, `rum-web`. @@ -89,6 +99,8 @@ A Frontend ingest key is for telemetry sent straight from a browser or mobile ap +![The Add API Key dialog for a Frontend ingest key, with one allowed host and the note rum-web](./images/ingest-key-frontend.png) + Either way, the key is shown **once**, right after you create it: > Please copy and save the API key below as it will not be shown again. diff --git a/src/content/docs/docs/platform/settings/cold-storage/archive-logs-to-s3.mdx b/src/content/docs/docs/platform/settings/cold-storage/archive-logs-to-s3.mdx index e7e1197a..5880a844 100644 --- a/src/content/docs/docs/platform/settings/cold-storage/archive-logs-to-s3.mdx +++ b/src/content/docs/docs/platform/settings/cold-storage/archive-logs-to-s3.mdx @@ -36,7 +36,7 @@ The bucket, region, and prefix can't be changed after you connect. To move the a - **KMS key ARN (optional)**: only if the bucket encrypts with SSE-KMS. - **Backfill logs already stored**: on by default. It also exports the logs already in the workspace's retention, not only new ones. Turn it off to start the archive from now. - ![The Connect S3 bucket dialog on the Bucket step, with Bucket name, Bucket region, and Prefix](./images/connect-bucket.png) + ![The Connect S3 bucket dialog on the Bucket step, with Bucket name, Bucket region, Prefix, KMS key ARN, and Backfill logs already stored](./images/connect-bucket.png) 3. Click **Open AWS Console**. The CloudFormation quick-create page opens in the bucket's region, with the template, bucket, prefix, KMS key, and external ID filled in. Leave **ExternalId** as it is. @@ -104,7 +104,7 @@ The **Archive** tab shows the connected bucket and its state: - **Setup incomplete**: the role hasn't been verified yet. Click **Finish setup** to continue where you left off. - **Disabled**: exports are turned off. -![The Archive tab: the connected bucket marked Archiving, a previous bucket, and the Coverage table](./images/archive-tab.png) +![The Archive tab: the connected bucket marked Archiving, two previous buckets, and the Coverage table](./images/archive-tab.png) ### Coverage diff --git a/src/content/docs/docs/platform/settings/cold-storage/images/archive-tab.png b/src/content/docs/docs/platform/settings/cold-storage/images/archive-tab.png index 1d7716e7..8f75b8fd 100644 Binary files a/src/content/docs/docs/platform/settings/cold-storage/images/archive-tab.png and b/src/content/docs/docs/platform/settings/cold-storage/images/archive-tab.png differ diff --git a/src/content/docs/docs/platform/settings/cold-storage/images/connect-bucket.png b/src/content/docs/docs/platform/settings/cold-storage/images/connect-bucket.png index 3ab6f5f0..7887871d 100644 Binary files a/src/content/docs/docs/platform/settings/cold-storage/images/connect-bucket.png and b/src/content/docs/docs/platform/settings/cold-storage/images/connect-bucket.png differ diff --git a/src/content/docs/docs/platform/settings/cold-storage/images/create-role-step.png b/src/content/docs/docs/platform/settings/cold-storage/images/create-role-step.png index d6addf8b..4887b284 100644 Binary files a/src/content/docs/docs/platform/settings/cold-storage/images/create-role-step.png and b/src/content/docs/docs/platform/settings/cold-storage/images/create-role-step.png differ diff --git a/src/content/docs/docs/platform/settings/cold-storage/images/log-explorer-rehydration.png b/src/content/docs/docs/platform/settings/cold-storage/images/log-explorer-rehydration.png index c3dacbb5..ca813e24 100644 Binary files a/src/content/docs/docs/platform/settings/cold-storage/images/log-explorer-rehydration.png and b/src/content/docs/docs/platform/settings/cold-storage/images/log-explorer-rehydration.png differ diff --git a/src/content/docs/docs/platform/settings/cold-storage/images/rehydrate-dialog.png b/src/content/docs/docs/platform/settings/cold-storage/images/rehydrate-dialog.png index a3fbc1ae..f93978bb 100644 Binary files a/src/content/docs/docs/platform/settings/cold-storage/images/rehydrate-dialog.png and b/src/content/docs/docs/platform/settings/cold-storage/images/rehydrate-dialog.png differ diff --git a/src/content/docs/docs/platform/settings/cold-storage/images/rehydrate-estimate.png b/src/content/docs/docs/platform/settings/cold-storage/images/rehydrate-estimate.png index f64fa6d6..f98938a3 100644 Binary files a/src/content/docs/docs/platform/settings/cold-storage/images/rehydrate-estimate.png and b/src/content/docs/docs/platform/settings/cold-storage/images/rehydrate-estimate.png differ diff --git a/src/content/docs/docs/platform/settings/cold-storage/images/rehydrations-tab.png b/src/content/docs/docs/platform/settings/cold-storage/images/rehydrations-tab.png index 573c7755..70d7949a 100644 Binary files a/src/content/docs/docs/platform/settings/cold-storage/images/rehydrations-tab.png and b/src/content/docs/docs/platform/settings/cold-storage/images/rehydrations-tab.png differ diff --git a/src/content/docs/docs/platform/settings/cold-storage/rehydrate-logs.mdx b/src/content/docs/docs/platform/settings/cold-storage/rehydrate-logs.mdx index 050266bf..a2c91ddd 100644 --- a/src/content/docs/docs/platform/settings/cold-storage/rehydrate-logs.mdx +++ b/src/content/docs/docs/platform/settings/cold-storage/rehydrate-logs.mdx @@ -39,11 +39,11 @@ You can start one from either place: -The estimate shows the rows and size that will load, how long loading will take, when it will start, how long it stays searchable, and the **Charge**. **Size** shows both the volume originally ingested, which the charge is based on, and the amount read from S3. +The estimate shows the rows and size that will load, how long loading will take, when it will start, how long it stays searchable, and the **Cost**. The cost is paid from your monthly usage budget first. **Size** shows both the volume originally ingested, which the charge is based on, and the amount read from S3. Filtering by service narrows what you load and search, but it doesn't reduce the estimate or the charge. Both cover every service in each hour, because the archive is read an hour at a time. -![The estimate review, with Rows, Size, Load time, Queue, and Charge](./images/rehydrate-estimate.png) +![The estimate review, with Rows, Size, Load time, Queue, and Cost](./images/rehydrate-estimate.png) ## Limits @@ -78,7 +78,7 @@ The **Rehydrations** tab lists every rehydration in the workspace, newest first, | **Cancelled** | Stopped before it finished. It's no longer searchable. | | **Expired** | Past its keep-for period. It's no longer searchable. | -![The Rehydrations tab with a Ready rehydration, showing its range, progress, and expiry, and Open in Log Explorer](./images/rehydrations-tab.png) +![The Rehydrations tab with a Ready rehydration and a Cancelled one, showing their range, progress, and expiry, and Open in Log Explorer on the Ready one](./images/rehydrations-tab.png) ## Search a rehydration in the Log Explorer @@ -97,7 +97,7 @@ The **Rehydrations** tab lists every rehydration in the workspace, newest first, Rehydrated logs are searchable only in the Log Explorer. Dashboards, alerts, and other parts of KloudMate keep reading live data. Streaming and **Jump to Now** aren't available while you're reading a rehydration, since it covers a fixed range in the past. -![The Log Explorer reading a rehydration named audit, with the banner showing its range, when it expires, and Back to live](./images/log-explorer-rehydration.png) +![The Log Explorer reading a rehydration named Checkout errors, 25 Oct, with the banner showing its range, when it expires, and Back to live](./images/log-explorer-rehydration.png) ## Expiry @@ -118,7 +118,7 @@ Either way, the hours that already loaded are still charged. Rehydration is charged per GB, measured on the volume the workspace originally ingested for each hour that loads. The rate is on [kloudmate.com/pricing](https://www.kloudmate.com/pricing). Each hour is charged as it loads, so hours that fail to load aren't charged. The charge appears on your KloudMate bill as **Log Rehydration**. -AWS bills your account separately for the data read out of S3. That cost isn't part of the estimate's **Charge**, but the estimate shows the size read from S3, so you can work it out from AWS's data transfer pricing. +AWS bills your account separately for the data read out of S3. That cost isn't part of the estimate's **Cost**, but the estimate shows the size read from S3, so you can work it out from AWS's data transfer pricing. ## Logs in Glacier storage classes diff --git a/src/content/docs/docs/platform/settings/connections/connect-an-account.mdx b/src/content/docs/docs/platform/settings/connections/connect-an-account.mdx index f08fde24..68afc8b1 100644 --- a/src/content/docs/docs/platform/settings/connections/connect-an-account.mdx +++ b/src/content/docs/docs/platform/settings/connections/connect-an-account.mdx @@ -10,7 +10,7 @@ You need the **Admin** role to connect an account. Open **Settings → Connectio The picker lists only the providers your organization can connect. If a provider you expect is missing, see [Providers](../providers/#providers-in-your-plan). -![The Connect dialog listing providers such as Atlassian, AWS, Azure, Custom MCP Server, GitHub, Google Workspace, Jira, Microsoft Teams, OAuth 2.0, Slack, Zoom, and HTTP endpoint, each with chips for what it can be used for](./images/connect-provider-picker.png) +![The Connect dialog listing providers such as Atlassian, AWS, Azure, Custom MCP Server, GitHub, Google Workspace, Jira, Microsoft Teams, OAuth 2.0, Slack, Zoom, HTTP endpoint, and Test Data, each with chips for what it can be used for](./images/connect-provider-picker.png) Pick a provider and fill in the **Connection name**. How you finish depends on the provider. diff --git a/src/content/docs/docs/platform/settings/connections/http-endpoint.mdx b/src/content/docs/docs/platform/settings/connections/http-endpoint.mdx index 5dcbb4c3..4b6a07f1 100644 --- a/src/content/docs/docs/platform/settings/connections/http-endpoint.mdx +++ b/src/content/docs/docs/platform/settings/connections/http-endpoint.mdx @@ -55,6 +55,8 @@ When you save, KloudMate sends a `GET` request to the base URL. Any HTTP respons In the panel editor or Explore, pick the connection in the data source picker. See [Queries and Data Sources](../../../../visualize-data/dashboards/adding-a-panel/queries-and-data-sources/) for how the picker and the rest of the query editor work. +![An HTTP endpoint query with Method set to GET, a GitHub releases URL, Format on Auto, an empty Rows field, and a Transform that sorts by published_at and projects the url, author, release, and published fields](./images/http-endpoint-query.png) + ### Method and URL Choose the **Method**: `GET`, `POST`, `PUT`, `PATCH`, or `DELETE`. `POST`, `PUT`, `PATCH`, and `DELETE` work only when the connection allows them under **Additional methods**. diff --git a/src/content/docs/docs/platform/settings/connections/images/connect-provider-picker.png b/src/content/docs/docs/platform/settings/connections/images/connect-provider-picker.png index 89f3a69b..14ed0c3f 100644 Binary files a/src/content/docs/docs/platform/settings/connections/images/connect-provider-picker.png and b/src/content/docs/docs/platform/settings/connections/images/connect-provider-picker.png differ diff --git a/src/content/docs/docs/platform/settings/connections/images/connections-list.png b/src/content/docs/docs/platform/settings/connections/images/connections-list.png index 0ca45f48..c73836be 100644 Binary files a/src/content/docs/docs/platform/settings/connections/images/connections-list.png and b/src/content/docs/docs/platform/settings/connections/images/connections-list.png differ diff --git a/src/content/docs/docs/platform/settings/connections/images/delete-blocked.png b/src/content/docs/docs/platform/settings/connections/images/delete-blocked.png index 3bd76b5d..8e962fb2 100644 Binary files a/src/content/docs/docs/platform/settings/connections/images/delete-blocked.png and b/src/content/docs/docs/platform/settings/connections/images/delete-blocked.png differ diff --git a/src/content/docs/docs/platform/settings/connections/images/http-endpoint-query.png b/src/content/docs/docs/platform/settings/connections/images/http-endpoint-query.png new file mode 100644 index 00000000..022f7108 Binary files /dev/null and b/src/content/docs/docs/platform/settings/connections/images/http-endpoint-query.png differ diff --git a/src/content/docs/docs/platform/settings/connections/manage-connections.mdx b/src/content/docs/docs/platform/settings/connections/manage-connections.mdx index b1acb273..5382e4da 100644 --- a/src/content/docs/docs/platform/settings/connections/manage-connections.mdx +++ b/src/content/docs/docs/platform/settings/connections/manage-connections.mdx @@ -65,9 +65,9 @@ Replace doesn't touch dashboards or alert rules. Change their connection in thei ## Delete -KloudMate refuses to **Delete** a connection while anything still uses it. The **Still in use** dialog lists every workflow, dashboard, and alert rule that uses it, each linked to its own editor. +KloudMate refuses to **Delete** a connection while anything still uses it. The **Still in use** dialog lists every workflow, dashboard, and alert rule that uses it, each linked to its own editor. Anything else that uses it, such as a notification channel, is listed under **Other**. -![The Still in use dialog, listing the five workflows bound to an Azure connection, with a Replace connection action](./images/delete-blocked.png) +![The Still in use dialog for a Slack connection, listing two workflows and one other item, with a Replace connection action](./images/delete-blocked.png) When workflows are among them, the dialog also offers **Replace connection**. diff --git a/src/content/docs/docs/platform/settings/connections/providers.mdx b/src/content/docs/docs/platform/settings/connections/providers.mdx index d4fce170..0732e8bf 100644 --- a/src/content/docs/docs/platform/settings/connections/providers.mdx +++ b/src/content/docs/docs/platform/settings/connections/providers.mdx @@ -30,11 +30,14 @@ This isn't the same as the AWS account you connect for inventory and metrics. Th | **Slack** | OAuth install. | Notifications, Workflows | | **Jira Cloud** | OAuth through Atlassian. | Notifications, Workflows | | **Microsoft Teams** | The KloudMate app, added to a team in Teams. One connection per team. See [Microsoft Teams Integration](/incident-management/microsoft-teams-integration/). | Notifications | +| **ServiceNow** | An instance URL, and the user name and password of an integration user with the `itil` role. See [ServiceNow](../servicenow/). | Notifications, Workflows | One Slack install serves alert notifications, incident ChatOps, the [Slack workflow actions](/workflows/actions/#slack), and Slack event triggers. A Slack or Jira Cloud connection made in **Settings → Connections** starts out used for **Notifications**. Add **Workflows** under [Edit](../manage-connections/#edit) before a workflow step or trigger can use it, and reconnect it if it's then marked **Needs reconnect**. One Jira credential can access several Atlassian sites, which is why every Jira action and trigger starts with a site picker. +A ServiceNow connection starts out used for both **Notifications** and **Workflows**, and you can connect more than one instance. + ## Meetings These create the conference call for an incident [war room](/incident-management/war-rooms/). The war room settings list only connections that can be used for **Meetings**. diff --git a/src/content/docs/docs/platform/settings/connections/servicenow.mdx b/src/content/docs/docs/platform/settings/connections/servicenow.mdx new file mode 100644 index 00000000..dc3ec039 --- /dev/null +++ b/src/content/docs/docs/platform/settings/connections/servicenow.mdx @@ -0,0 +1,160 @@ +--- +title: "ServiceNow" +description: "Connect a ServiceNow instance with an integration user, so alerts open and resolve incidents and workflows can create, update, and read records." +sidebar: + label: "ServiceNow" + order: 5.2 +--- + +import { Steps } from '@astrojs/starlight/components'; + +Connect your ServiceNow instance to open incidents from alerts and to work with records from workflows. One connection does both: + +- **A notification channel.** An alert opens an incident, updates to the alert add work notes, and recovery resolves it. +- **Workflow actions.** A workflow step creates, updates, resolves, or reads records. + +The connection signs in with a user name and password, so start by creating a user for KloudMate on the instance. + +## Before you start + +You need a ServiceNow admin to create the integration user. Use a dedicated user, not a person's account: every incident KloudMate opens or updates is recorded as that user's work, and a person's password changes would break the connection. + +The user needs the `itil` role. That role can read and write incidents and read assignment groups and users, which is everything the channel and the incident actions use. **Get Record** and **Search Records** on other tables, such as `change_request`, need the roles that can read those tables. + +The instance URL must use HTTPS, because the password travels with every request. + +## Create the integration user + + + +1. On your instance, open **User Administration** > **Users** and click **New**. + +2. Enter a **User ID**, for example `kloudmate_integration`, and a first and last name that make it obvious what the user is for. + +3. Select **Web service access only**. The user can then call the REST API but can't sign in to the ServiceNow UI. + +4. Click **Submit**, then open the user again. + +5. On the **Roles** tab, click **Edit**, add `itil`, and save. + +6. Click **Set Password**, generate or enter a password, and save it. Copy the password now: you'll paste it into KloudMate. + + + +## Connect it in KloudMate + + + +1. Go to **Settings** > **Connections** and click **Connect**. + +2. Select **ServiceNow**. + +3. Fill in the form: + - **Instance URL**: your instance's address, for example `https://acme.service-now.com`. A path after the host is ignored. + - **User name**: the integration user's **User ID**. + - **Password**: the password you set. + +4. Click **Connect**. + + + +KloudMate then checks the connection by reading one incident. When that works, the connection shows **Verified**. The connection is used for both **Notifications** and **Workflows**. + +You can connect more than one instance, for example production and a sub-production instance. Each is its own connection. + +## Send alerts to ServiceNow + + + +1. Go to **Settings** > **Notification Channels**, click **Create**, and select **ServiceNow**. + +2. Pick the **ServiceNow account**. To add an instance without leaving the page, click **Connect ServiceNow** (or **Connect another ServiceNow account**) and fill in the same form as above. + +3. Enter a **Channel name**. + +4. Under **Incident**, choose where incidents go: + - **Assignment group** and **Caller**: search by name. Both are optional. + - **Category**: optional. + - **Resolution code**: the close code set when an alert resolves the incident. Required. + + An `itil` user can't read ServiceNow's choice lists, so **Category** and **Resolution code** show no options. Type the choice's value, not its label, exactly as ServiceNow stores it. ServiceNow doesn't reject a value it doesn't recognize: it leaves the field empty. + +5. Under **Impact and urgency**, map each alert severity to an impact and an urgency. **Any other severity** covers every severity you don't list, and events that have no severity. ServiceNow works out the priority from the two, as it does for an incident you open by hand. + +6. Under **Updates**, choose whether updates are posted as **Work notes** (support staff only) or **Additional comments** (the caller sees them too), and what happens when an alert fires again on an incident that's already resolved. + +7. Click **Create channel**. + + + +To start sending, add the channel as a destination on a [routing rule](../../../../alerts/routing-rules/). + +### What happens to an incident + +KloudMate keeps one incident per alert group, issue, or check failure, and reads its state before each update. + +| When | No incident yet | Incident open | Incident resolved | +|---|---|---|---| +| An alert group opens, an issue is created, or a synthetic check fails | Opens one | Nothing | Reopens it, or opens a new one | +| More alerts join the alert group | Opens one | Adds a work note | Reopens it, or opens a new one | +| Root cause analysis or an investigation completes | Opens one | Adds a work note | Adds a work note | +| An issue gets a comment or changes status | Nothing | Adds a work note | Adds a work note | +| The alert group or the check recovers | Nothing | Adds a work note and resolves it with the resolution code | Nothing | + +**When an alert fires again on a resolved incident** decides between reopening the incident (it goes back to **In Progress** with a note saying it fired again) and opening a new one. An incident that's **Closed** or **Canceled**, or that was deleted, always gets a new one, because ServiceNow doesn't reopen a closed incident. + +If the channel has no resolution code, a recovery adds a work note and leaves the incident open. + +Other events, such as the repeat reminders for an alert group that's still open, don't reach ServiceNow. + +### What goes into the incident + +| Incident field | Value | +|---|---| +| Short description | The alert's title, cut to 160 characters | +| Description | The details of the alert, issue, or check, with a link back to KloudMate | +| Impact, Urgency | From the channel's severity map | +| Assignment group, Caller, Category | From the channel | +| Correlation ID | The KloudMate alert group, issue, or check the incident belongs to | +| Correlation display | `KloudMate` | + +Updates in ServiceNow don't come back to KloudMate. Resolving or closing the incident in ServiceNow leaves the alert as it is. + +### Set other incident fields + +To fill in fields the form doesn't show, open **Set incident fields** and add a row per field. Pick the field, or type its column name, such as `u_environment` or `cmdb_ci`. The value is text or a Liquid placeholder over the event, for example: + +```liquid +{{ group.labels.service }} +``` + +Useful placeholders for an alert group are `group.labels.