Set up telemetry, connected traces, dashboards, alerts, error notifications, and synthetic checks with one agent prompt, one prompt per step, or by hand.
Telemetry is in early access. To turn it on for your workspace, book a call or ask in Discord.
You can set everything up with one prompt to a coding agent, or work through the checklist one step at a time, by hand or with that step’s prompt.
Set it up with one prompt
1
Connect the agent to Superlog
Install the Superlog MCP server in Claude Code, Cursor, Codex, or another agent, and open it in your repository. Sign in as a workspace owner or admin, so the agent can turn on error notifications.
2
Create an API key for source maps
If you have a browser app, create a workspace API key under Settings → API keys and set it as SUPERLOG_API_KEY in your shell. The build uses it to upload source maps. The agent creates the ingest keys itself.
3
Paste the prompt
Paste the prompt below. For a workspace in the US region, replace https://superlog.sh with https://us.superlog.sh. The agent stops and asks you when it needs you to deploy, approve a connection, or choose a channel.
Setup prompt
Set up Superlog for this repository so the team knows about every failure thataffects users. Superlog is at https://superlog.sh and you have its MCP server.A workspace API key for source map uploads may be in SUPERLOG_API_KEY.Never commit a key.This repository or workspace may already be partly or fully set up. Before eachstep, check what already exists. Keep what works and add only what is missing.Never delete, rename, rotate, or replace existing instrumentation, ingest keys,notification settings, dashboards, alerts, or synthetic checks. If you think anexisting one should change, list the change and wait for my approval. Runningthis prompt again on a finished setup should change nothing.Work in these steps. After each step, tell me what was already in place, whatyou added, and what you suggest changing. When a step needs me, stop and ask.1. Inventory - List every service in the repository: HTTP APIs, workers, scheduled jobs, and browser frontends. - For each service, find how it sends telemetry today: an OpenTelemetry SDK, the Superlog browser SDK, another vendor's agent or SDK, or nothing. Use the service name it already reports. Give new services a short, stable name. - Map how the services call each other: HTTP and gRPC calls, queues and topics, background jobs, and calls from the browser to the backend. - Read the workspace: list_integrations, list_services, list_ingest_keys, get_error_notifications, list_dashboards, list_alerts, and list_synthetic_checks. Query the last 24 hours of traces, logs, and metrics for each service in list_services to see which signals arrive.2. Ingest keys - Skip services that already send to Superlog, and reuse the key a project already reads from its environment or secret manager. - For services that send nothing yet, create a key with create_ingest_key: one for the backend services and one for each browser app. Name each key after what uses it, and check list_ingest_keys first so you don't create a second key with the same name. - Add placeholders for new settings to the example environment file. Tell me where to set the real values, or set them in the secret manager the project already uses.3. Backend services: OpenTelemetry - If a service already exports OpenTelemetry to Superlog, keep its setup and only fill gaps from the list below. - If it sends to another vendor, don't remove that. Ask me whether to add Superlog as a second exporter or to replace it. - For services with nothing: use the official OpenTelemetry SDK for the service's language, with automatic instrumentation for its framework, HTTP clients, database clients, and queues. Configure the exporters only with environment variables: OTEL_EXPORTER_OTLP_ENDPOINT=<endpoint from list_ingest_keys> OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf OTEL_EXPORTER_OTLP_HEADERS=x-api-key=<ingest key> Send traces, metrics, and logs. Start the SDK before the app loads other modules. Flush and shut it down when the process exits. - Gaps to check on every service: - service.name, service.version, and deployment.environment.name are set. - The logger is connected to the OpenTelemetry logs SDK, so each record carries its trace and span IDs. Console output stays. - Unhandled exceptions are recorded on the active span as exception events and logged at error level, so Superlog groups them into error issues. - The few operations that matter most to users, such as checkout or sign-in, have spans.4. Browser frontends: Superlog browser SDK - If @superlog/browser is already set up, keep it and only fill gaps. - Otherwise install @superlog/browser, and @superlog/react for React apps. Follow https://docs.superlog.sh/guides/browser. Call init before the app renders, with service, release, environment, the browser app's ingest key as ingestKey, and the endpoint from list_ingest_keys as endpoint. - Gaps to check: the React error boundary and router instrumentation for React apps, and source map uploads in the build with @superlog/sourcemaps and SUPERLOG_API_KEY, using the same release value as init.5. Connect requests across services One user action must show up as one trace, from the browser through every service it reaches. Check each link and fix only the ones that break. - Use W3C trace context (traceparent and tracestate) everywhere. - Browser to backend: tracePropagationTargets in the browser SDK lists the app's API origins, and the API's CORS settings allow the traceparent and tracestate headers. - Service to service: every outgoing HTTP and gRPC client sends traceparent, every server continues it, and proxies, gateways, and load balancers pass the headers through. - Queues and background jobs: the trace context is injected into each message's headers or attributes when it is sent and extracted when it is processed, so the job's spans join the trace that enqueued it. Use the instrumentation library for the queue if there is one. - Request IDs: if the app has a request ID, it is on the active span as an attribute and on every log record, and the response returns the trace ID in a header so support can find a user's request. - Verify: after step 6, find a trace for a user action that crosses services with query_traces, open it with get_trace, and confirm it has spans from the browser and every service involved.6. Verify the data - If you changed code, run the project's checks. Then ask me to deploy, or to run the services locally with the settings, and send some traffic. - Confirm each service with list_services, query_traces, query_logs, and query_metrics. Note the real metric names, routes, and attribute names. Build everything below from data you have seen, not from guesses.7. Slack and error notifications - If Slack is not connected, call start_integration_connection for Slack and wait for me to approve it. Then call list_slack_channels. - If error notifications are already on, keep their channel. Otherwise ask me which channel to use and turn them on with update_error_notifications. - For new alerts and checks, use the channel the existing alerts post to. If there are none, ask me which channel to use.8. Dashboards - Read each existing dashboard with get_dashboard. Treat a dashboard as covering a service if its name or its widgets are about that service. - If no dashboard covers the whole system, create a "Service health" dashboard: requests per service, error spans per service, p95 latency per service, a list of recent error logs, and a list of recent error traces, with a dashboard variable for deployment.environment.name. - For each service with no dashboard, create one: throughput, errors, and p50, p95, and p99 latency by route; the slowest routes as a table; database and outgoing call latency; runtime metrics such as memory and CPU if the service sends them; and a list of its error logs. - For dashboards that already exist, list the charts they are missing as suggestions. Don't add them without my approval. - Query each widget's data before you add it. Arrange new dashboards with update_dashboard_layout so the most important charts are at the top.9. Alerts - Only alerts someone should act on. Each alert name says what is broken. Superlog alerts compare one value with a threshold. They cannot divide two values, so use counts and percentiles. - For each service, these are the cases to cover where they apply: a. Down: span count below 1 over 10 minutes, for services with steady traffic. b. Failing requests: error span count above a threshold. c. Slow: p95 span duration above a threshold on the main routes. d. Crashes: fatal logs above 0. e. Backlog: queue depth or job lag metrics above a threshold, if the service has them. - Read each existing alert with get_alert. A case is covered when an existing alert watches the same service and the same kind of failure, even with a different threshold or name. Skip covered cases. - For uncovered cases, set the threshold from the last 7 days of data so it does not fire on normal peaks. Check each new alert with preview_alert, show me the rule, threshold, and preview, and wait for my approval before create_alert. - If an existing alert looks too noisy or too quiet, suggest a change with its preview. Don't change it without my approval.10. Synthetic checks - Skip URLs that already have a check. - For each public health endpoint and main page without one, create a check: every minute, retry once, alert after 2 failed runs. Assert a 2xx status and a response time, a JSON status field if the health endpoint returns one, and a TLS certificate that expires in more than 14 days.11. Terraform - If the repository already manages Superlog or other infrastructure with Terraform, offer to add the output of export_terraform to it. Otherwise skip this step.Finish with a table of every service, ingest key, dashboard, alert, andsynthetic check, marked as already in place, added, or suggested, and a list ofanything you could not set up and why.
The agent keeps what is already set up and adds only what is missing, so you can run the prompt again at any time. It shows you each new alert before it creates it, and suggests changes to existing ones without making them. Review the thresholds. You know which numbers mean users are affected.
Checklist
Work through these steps for each service you run. Each one links to the page that covers it and has a prompt that sets up or improves only that part.You can run a prompt on its own, as often as you like. It keeps what exists and adds only what is missing. Each prompt needs the Superlog MCP server. Alerts and dashboards are built from real data, so send telemetry first.
1
Send telemetry
Send logs, traces, and metrics from the service. Set service.name and deployment.environment.name so Superlog can group and filter by them. Connect logs to traces so each log record carries its trace and span IDs.See Collect telemetry.
Prompt: backend services
Set up OpenTelemetry for the backend services in this repository so they sendtraces, metrics, and logs to Superlog. You have the Superlog MCP server. Nevercommit a key.This may already be partly or fully set up. Check what exists first. Keep whatworks and add only what is missing. Never delete, rename, rotate, or replaceexisting instrumentation or ingest keys. If you think one should change, listthe change and wait for my approval. Running this prompt again on a finishedsetup should change nothing.1. Inventory - List every backend service: HTTP APIs, workers, and scheduled jobs. Find how each one sends telemetry today: an OpenTelemetry SDK, another vendor's agent or SDK, or nothing. Use the service name it already reports. Give new services a short, stable name. - Read list_services and list_ingest_keys. Query the last 24 hours of traces, logs, and metrics for each service to see which signals arrive.2. Ingest key - Skip services that already send to Superlog, and reuse the key a project already reads from its environment or secret manager. - If services that send nothing still need a key, create one for the backend services with create_ingest_key. Name it after what uses it, and check list_ingest_keys first so you don't create a second key with the same name. - Add placeholders for new settings to the example environment file. Tell me where to set the real values, or set them in the secret manager the project already uses.3. Instrumentation - If a service already exports OpenTelemetry to Superlog, keep its setup and only fill gaps from the list below. - If it sends to another vendor, don't remove that. Ask me whether to add Superlog as a second exporter or to replace it. - For services with nothing: use the official OpenTelemetry SDK for the service's language, with automatic instrumentation for its framework, HTTP clients, database clients, and queues. Configure the exporters only with environment variables: OTEL_EXPORTER_OTLP_ENDPOINT=<endpoint from list_ingest_keys> OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf OTEL_EXPORTER_OTLP_HEADERS=x-api-key=<ingest key> Send traces, metrics, and logs. Start the SDK before the app loads other modules. Flush and shut it down when the process exits. - Gaps to check on every service: - service.name, service.version, and deployment.environment.name are set. - The logger is connected to the OpenTelemetry logs SDK, so each record carries its trace and span IDs. Console output stays. - Unhandled exceptions are recorded on the active span as exception events and logged at error level, so Superlog groups them into error issues. - The few operations that matter most to users, such as checkout or sign-in, have spans.4. Verify - If you changed code, run the project's checks. Then ask me to deploy, or to run the services locally with the settings, and send some traffic. - Confirm each service with list_services, query_traces, query_logs, and query_metrics.Finish with a table of every service and ingest key, marked as already inplace, added, or suggested, and a list of anything you could not set up and why.
Prompt: browser frontends
Set up the Superlog browser SDK for the browser frontends in this repository.You have the Superlog MCP server. A workspace API key for source map uploads maybe in SUPERLOG_API_KEY. Never commit a key.This may already be partly or fully set up. Check what exists first. Keep whatworks and add only what is missing. Never delete, rename, rotate, or replaceexisting instrumentation or ingest keys. If you think one should change, listthe change and wait for my approval. Running this prompt again on a finishedsetup should change nothing.1. Inventory - List every browser frontend. Find how each one sends telemetry today: the Superlog browser SDK, another vendor's SDK, or nothing. Use the service name it already reports. Give new apps a short, stable name. - Read list_services and list_ingest_keys. Query the last 24 hours of traces and logs for each app to see which signals arrive.2. Ingest key - Skip apps that already send to Superlog, and reuse the key a project already reads from its environment. - If an app that sends nothing still needs a key, create one for it with create_ingest_key. Name it after the app, and check list_ingest_keys first so you don't create a second key with the same name. - Add placeholders for new settings to the example environment file. Tell me where to set the real values.3. Instrumentation - If @superlog/browser is already set up, keep it and only fill gaps. - If an app sends to another vendor, don't remove that. Ask me whether to add Superlog alongside it or to replace it. - Otherwise install @superlog/browser, and @superlog/react for React apps. Follow https://docs.superlog.sh/guides/browser. Call init before the app renders, with service, release, environment, the app's ingest key as ingestKey, and the endpoint from list_ingest_keys as endpoint. - Gaps to check: the React error boundary and router instrumentation for React apps, and source map uploads in the build with @superlog/sourcemaps and SUPERLOG_API_KEY, using the same release value as init. If the endpoint is on us.superlog.sh, set the upload url to https://us.superlog.sh.4. Verify - If you changed code, run the project's checks. Then ask me to deploy, or to run the app locally with the settings, and open it. - Confirm each app with list_services, query_traces, and query_logs.Finish with a table of every app and ingest key, marked as already in place,added, or suggested, and a list of anything you could not set up and why.
2
Connect requests across services
Pass W3C trace context (traceparent) on every call between services, including from the browser to your API and through queues and background jobs. Then one user action shows up as one trace. If your app has a request ID, add it to spans and logs.See Traces and Browser and React.
Prompt: connect requests across services
Connect requests across the services in this repository so one user action showsup as one trace in Superlog, from the browser through every service it reaches.You have the Superlog MCP server.This may already be partly or fully set up. Check each link and fix only theones that break. Keep what works. Never remove existing instrumentation. If youthink something that works should change, list the change and wait for myapproval. Running this prompt again on a finished setup should change nothing.1. Inventory - Map how the services call each other: HTTP and gRPC calls, queues and topics, background jobs, and calls from the browser to the backend. - Read list_services. If a service sends no telemetry yet, list it and move on.2. Check each link - Use W3C trace context (traceparent and tracestate) everywhere. - Browser to backend: tracePropagationTargets in the browser SDK lists the app's API origins, and the API's CORS settings allow the traceparent and tracestate headers. - Service to service: every outgoing HTTP and gRPC client sends traceparent, every server continues it, and proxies, gateways, and load balancers pass the headers through. - Queues and background jobs: the trace context is injected into each message's headers or attributes when it is sent and extracted when it is processed, so the job's spans join the trace that enqueued it. Use the instrumentation library for the queue if there is one. - Request IDs: if the app has a request ID, it is on the active span as an attribute and on every log record, and the response returns the trace ID in a header so support can find a user's request.3. Verify - If you changed code, run the project's checks. Then ask me to deploy, or to run the services locally, and send some traffic. - Find a trace for a user action that crosses services with query_traces, open it with get_trace, and confirm it has spans from the browser and every service involved.Finish with a table of every link, marked as already working, fixed, orsuggested, and a list of anything you could not connect and why.
3
Connect Slack
Slack is where alerts, error notifications, and synthetic check failures go.See Slack.
Prompt: connect Slack
Connect Slack to Superlog. You have the Superlog MCP server.Slack may already be connected. Keep an existing connection as it is. Runningthis prompt again on a finished setup should change nothing.1. Call list_integrations. If Slack is connected, skip to step 3.2. Call start_integration_connection for Slack and wait for me to approve it. Then confirm the connection with list_integrations.3. Call list_slack_channels. If a channel I need is missing, call refresh_integrations and list them again. For a private channel, ask me to invite the Superlog app first.Finish by saying whether Slack was already connected or is newly connected, andwhich channels Superlog can post to.
4
Turn on error notifications
Superlog groups exceptions into issues on its own. Turn on notifications so a Slack channel hears about each new error and each regression. Resolve or silence issues from the Slack message.See Errors.
Prompt: turn on error notifications
Turn on Superlog error notifications, so a Slack channel hears about each newerror and each regression. You have the Superlog MCP server. This needs aworkspace owner or admin. If the tools refuse, tell me and stop.These may already be on. Keep the current channel. If you think it shouldchange, tell me and wait for my approval. Running this prompt again on afinished setup should change nothing.1. Call get_error_notifications. If notifications are on, skip to step 4.2. Call list_integrations. If Slack is not connected, call start_integration_connection for Slack and wait for me to approve it.3. Call list_slack_channels and ask me which channel to use. For a private channel, ask me to invite the Superlog app first. Then turn notifications on with update_error_notifications.4. Confirm with get_error_notifications.Finish by saying whether notifications were already on or are newly on, andwhich channel they post to.
5
Add alerts
Add an alert for each signal that means users are affected, such as a spike in error logs or slow requests on a key endpoint. Preview each alert before you save it.See Alerts.
Prompt: add alerts
Add Superlog alerts for the failures in this workspace that someone should acton. You have the Superlog MCP server.This may already be partly or fully set up. Check what exists first. Keep whatworks and add only what is missing. Never delete, rename, or replace an existingalert. If you think one should change, list the change and wait for my approval.Running this prompt again on a finished setup should change nothing.1. Read the workspace - Call list_services, list_alerts, and list_integrations. Read each alert with get_alert. - Query traces, logs, and metrics for each service, and note the real metric names, routes, and attribute names. Build alerts from data you have seen, not from guesses. If a service sends no data, list it and move on.2. Choose a channel - Use the channel the existing alerts post to. If there are none, ask me which channel to use. - If Slack is not connected, call start_integration_connection for Slack and wait for me to approve it. Take the channel from list_slack_channels.3. Find what is missing - Only alerts someone should act on. Each alert name says what is broken. Superlog alerts compare one value with a threshold. They cannot divide two values, so use counts and percentiles. - For each service, these are the cases to cover where they apply: a. Down: span count below 1 over 10 minutes, for services with steady traffic. b. Failing requests: error span count above a threshold. c. Slow: p95 span duration above a threshold on the main routes. d. Crashes: fatal logs above 0. e. Backlog: queue depth or job lag metrics above a threshold, if the service has them. - A case is covered when an existing alert watches the same service and the same kind of failure, even with a different threshold or name. Skip covered cases.4. Add alerts - For uncovered cases, set the threshold from the last 7 days of data so it does not fire on normal peaks. Check each new alert with preview_alert, show me the rule, threshold, and preview, and wait for my approval before create_alert. - If an existing alert looks too noisy or too quiet, suggest a change with its preview. Don't change it without my approval.Finish with a table of every service and case, marked as already in place,added, or suggested, and a list of anything you could not set up and why.
6
Add synthetic checks
Add a check for each public endpoint and health route. Superlog requests it on a schedule and posts to Slack when it fails.See Synthetic checks.
Prompt: add synthetic checks
Add Superlog synthetic checks for the public endpoints of this application. Youhave the Superlog MCP server.This may already be partly or fully set up. Check what exists first. Keep whatworks and add only what is missing. Never delete, rename, or replace an existingcheck. If you think one should change, list the change and wait for my approval.Running this prompt again on a finished setup should change nothing.1. Inventory - Find each public health endpoint and main page in the repository. Ask me for any public URL you can't tell from the code. - Call list_synthetic_checks. Skip URLs that already have a check.2. Choose a channel - Use the channel the existing checks post to. If there are no checks, use the channel from list_alerts. If there are no alerts either, ask me which channel to use. - If Slack is not connected, call start_integration_connection for Slack and wait for me to approve it. Take the channel from list_slack_channels.3. Add checks - For each URL without a check, create one with create_synthetic_check: every minute, retry once, alert after 2 failed runs. Assert a 2xx status and a response time, a JSON status field if the health endpoint returns one, and a TLS certificate that expires in more than 14 days. - Confirm each new check has run with get_synthetic_check. If one fails, tell me what it got.Finish with a table of every URL and check, marked as already in place, added,or suggested, and a list of anything you could not set up and why.
7
Build a service dashboard
Chart request rate, errors, and latency for the service. Add a variable for the environment so one dashboard covers all of them.See Dashboards.
Prompt: build dashboards
Build Superlog dashboards for the services in this workspace. You have theSuperlog MCP server.This may already be partly or fully set up. Check what exists first. Keep whatworks and add only what is missing. Never delete, rename, or replace an existingdashboard or widget. If you think one should change, list the change and waitfor my approval. Running this prompt again on a finished setup should changenothing.1. Read the workspace - Call list_services and list_dashboards. Read each dashboard with get_dashboard. Treat a dashboard as covering a service if its name or its widgets are about that service. - Query traces, logs, and metrics for each service, and note the real metric names, routes, and attribute names. Build charts from data you have seen, not from guesses. If a service sends no data, list it and move on.2. Add what is missing - If no dashboard covers the whole system, create a "Service health" dashboard: requests per service, error spans per service, p95 latency per service, a list of recent error logs, and a list of recent error traces, with a dashboard variable for deployment.environment.name. - For each service with no dashboard, create one: throughput, errors, and p50, p95, and p99 latency by route; the slowest routes as a table; database and outgoing call latency; runtime metrics such as memory and CPU if the service sends them; and a list of its error logs. - For dashboards that already exist, list the charts they are missing as suggestions. Don't add them without my approval. - Query each widget's data before you add it. Arrange new dashboards with update_dashboard_layout so the most important charts are at the top.Finish with a table of every dashboard with its link, marked as already inplace, added, or suggested, and a list of anything you could not set up and why.
If you already manage infrastructure with Terraform, you can keep your alerts, dashboards, and synthetic checks there too. See Terraform provider.
Prompt: move Superlog into Terraform
Keep this workspace's Superlog alerts, dashboards, and synthetic checks in thisrepository's Terraform. You have the Superlog MCP server. A workspace API keymay be in SUPERLOG_API_KEY. Never commit a key.This may already be partly or fully set up. Check what exists first. Keep whatworks and add only what is missing. Don't run apply without my approval. Runningthis prompt again on a finished setup should change nothing.1. Inventory - If the repository doesn't use Terraform or OpenTofu, ask me whether to add it before you continue. - Find the superloglabs/superlog provider and every superlog_alert, superlog_dashboard, and superlog_synthetic_check resource. - Call list_alerts, list_dashboards, and list_synthetic_checks. Compare them with the resources to find the objects Terraform doesn't manage yet.2. Add what is missing - If the provider is not configured, add it. Set endpoint to https://superlog.sh, or https://us.superlog.sh if the endpoint from list_ingest_keys is on us.superlog.sh. Read the key from SUPERLOG_API_KEY. - Call export_terraform with the IDs of the unmanaged objects, and add the output next to the existing configuration. Its import blocks adopt the existing objects instead of creating copies. - Tell me which sensitive variables to set for secret headers on synthetic checks. - Tell me that widgets added to a Terraform-managed dashboard in Superlog are removed on the next apply.3. Verify - Run plan and show me the result. It should only import objects. If it would change or destroy one, stop and explain why. - Wait for my approval before you apply.Finish with a table of every alert, dashboard, and synthetic check, marked asalready managed, added, or suggested, and a list of anything you could not addand why.
⌘I
{"docsConfig":{"theme":"luma","$schema":"https://mintlify.com/docs.json","name":"Superlog","description":"Observability and automations for engineering teams. Send OpenTelemetry data, and run agents that triage alerts and fix issues with your model and tokens.","colors":{"primary":"#232323","light":"#e1e1e1","dark":"#232323"},"logo":{"light":"https://mintcdn.com/superlog/jw32XZEwyUF_Zu7C/logo/light.svg?fit=max\u0026auto=format\u0026n=jw32XZEwyUF_Zu7C\u0026q=85\u0026s=f1446500b95a3d31425612d0cb3f04f1","dark":"https://mintcdn.com/superlog/jw32XZEwyUF_Zu7C/logo/dark.svg?fit=max\u0026auto=format\u0026n=jw32XZEwyUF_Zu7C\u0026q=85\u0026s=866569cebfc11443228bc06513497033","href":"https://superlog.sh"},"favicon":"https://media.brand.dev/795f746d-3a5f-4fb9-ac75-cc1f5a0ebd65.svg","navbar":{"links":[{"href":"https://github.com/superloglabs/responder-oss","label":"GitHub"},{"href":"https://cal.com/superlog/yc","label":"Book a demo"}],"primary":{"type":"button","label":"Get started","href":"https://superlog.sh/app?signup=1"}},"footer":{"socials":{"github":"https://github.com/superloglabs/responder-oss","x":"https://x.com/superlogYC","discord":"https://discord.gg/wJ56aRh8hx"}},"thumbnails":{"preset":"classic","appearance":"light","surface":"neutral","fonts":{"family":"Inter"}},"styling":{"latex":false},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"superlog","hasAudioNarration":false,"actualSubdomain":"superlog","customDomains":["docs.superlog.sh"],"gitSource":{"type":"github","owner":"superloglabs","repo":"documentation","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":""},"entitlements":{"AI_CHAT":{"status":"DISABLED"},"WEB_MCP":{"status":"DISABLED"},"NARRATION":{"status":"DISABLED"}},"buildId":"6ae46f9a546b569add0c20e5","clientVersion":"0.0.4143","searchFilterCounts":[{"language":"default","tag":"API reference","count":65},{"language":"default","tag":"Documentation","count":52},{"language":"default","tag":"Reference","count":29},{"language":"default","tag":"Integrations","count":16},{"language":"default","tag":"Automations","count":11},{"language":"default","tag":"Telemetry","count":10},{"language":"default","tag":"Dashboards","count":9},{"language":"default","tag":"Models","count":7},{"language":"default","tag":"Workspace","count":6},{"language":"default","tag":"Alerts","count":6}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[],"page":{"pagePath":"reliability/checklist","slug":"/reliability/checklist","pageMetadata":{"title":"Make your application reliable","sidebarTitle":"Checklist","description":"Set up telemetry, connected traces, dashboards, alerts, error notifications, and synthetic checks with one agent prompt, one prompt per step, or by hand.","href":"/reliability/checklist"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Set up telemetry, connected traces, dashboards, alerts, error notifications, and synthetic checks with one agent prompt, one prompt per step, or by hand.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,..._provideComponents(),...props.components},{Accordion,CodeBlock,Heading,Note,Step,Steps}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsx(Note,{children:_jsxs(_components.p,{children:[`Telemetry is in early access. To turn it on for your workspace, `,_jsx(_components.a,{href:`https://cal.com/superlog/yc`,children:`book a call`}),` or ask in `,_jsx(_components.a,{href:`https://discord.gg/wJ56aRh8hx`,children:`Discord`}),`.`]})}),`\n`,_jsxs(_components.p,{children:[`You can set everything up with one prompt to a coding agent, or work through the `,_jsx(_components.a,{href:`#checklist`,children:`checklist`}),` one step at a time, by hand or with that step’s prompt.`]}),`\n`,_jsx(Heading,{level:`2`,id:`set-it-up-with-one-prompt`,children:`Set it up with one prompt`}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Connect the agent to Superlog`,children:_jsxs(_components.p,{children:[`Install the `,_jsx(_components.a,{href:`/assistants/claude`,children:`Superlog MCP server`}),` in Claude Code, Cursor, Codex, or another agent, and open it in your repository. Sign in as a workspace owner or admin, so the agent can turn on error notifications.`]})}),_jsx(Step,{title:`Create an API key for source maps`,children:_jsxs(_components.p,{children:[`If you have a browser app, create a workspace API key under `,_jsx(_components.strong,{children:`Settings → API keys`}),` and set it as `,_jsx(_components.code,{children:`SUPERLOG_API_KEY`}),` in your shell. The build uses it to upload source maps. The agent creates the ingest keys itself.`]})}),_jsx(Step,{title:`Paste the prompt`,children:_jsxs(_components.p,{children:[`Paste the prompt below. For a workspace in the US region, replace `,_jsx(_components.code,{children:`https://superlog.sh`}),` with `,_jsx(_components.code,{children:`https://us.superlog.sh`}),`. The agent stops and asks you when it needs you to deploy, approve a connection, or choose a channel.`]})})]}),`\n`,_jsx(CodeBlock,{filename:`Setup prompt`,numberOfLines:`163`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`163`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Set up Superlog for this repository so the team knows about every failure that`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`affects users. Superlog is at https://superlog.sh and you have its MCP server.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`A workspace API key for source map uploads may be in SUPERLOG_API_KEY.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Never commit a key.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This repository or workspace may already be partly or fully set up. Before each`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`step, check what already exists. Keep what works and add only what is missing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Never delete, rename, rotate, or replace existing instrumentation, ingest keys,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`notification settings, dashboards, alerts, or synthetic checks. If you think an`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`existing one should change, list the change and wait for my approval. Running`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`this prompt again on a finished setup should change nothing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Work in these steps. After each step, tell me what was already in place, what`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`you added, and what you suggest changing. When a step needs me, stop and ask.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. Inventory`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - List every service in the repository: HTTP APIs, workers, scheduled jobs,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` and browser frontends.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For each service, find how it sends telemetry today: an OpenTelemetry SDK,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` the Superlog browser SDK, another vendor's agent or SDK, or nothing. Use`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` the service name it already reports. Give new services a short, stable`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` name.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Map how the services call each other: HTTP and gRPC calls, queues and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` topics, background jobs, and calls from the browser to the backend.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Read the workspace: list_integrations, list_services, list_ingest_keys,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` get_error_notifications, list_dashboards, list_alerts, and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` list_synthetic_checks. Query the last 24 hours of traces, logs, and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` metrics for each service in list_services to see which signals arrive.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. Ingest keys`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Skip services that already send to Superlog, and reuse the key a project`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` already reads from its environment or secret manager.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For services that send nothing yet, create a key with create_ingest_key:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` one for the backend services and one for each browser app. Name each key`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` after what uses it, and check list_ingest_keys first so you don't create`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` a second key with the same name.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Add placeholders for new settings to the example environment file. Tell`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` me where to set the real values, or set them in the secret manager the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` project already uses.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. Backend services: OpenTelemetry`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If a service already exports OpenTelemetry to Superlog, keep its setup and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` only fill gaps from the list below.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If it sends to another vendor, don't remove that. Ask me whether to add`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Superlog as a second exporter or to replace it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For services with nothing: use the official OpenTelemetry SDK for the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` service's language, with automatic instrumentation for its framework, HTTP`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` clients, database clients, and queues. Configure the exporters only with`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` environment variables:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` OTEL_EXPORTER_OTLP_ENDPOINT=\u003cendpoint from list_ingest_keys>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` OTEL_EXPORTER_OTLP_HEADERS=x-api-key=\u003cingest key>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Send traces, metrics, and logs. Start the SDK before the app loads other`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` modules. Flush and shut it down when the process exits.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Gaps to check on every service:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - service.name, service.version, and deployment.environment.name are set.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - The logger is connected to the OpenTelemetry logs SDK, so each record`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` carries its trace and span IDs. Console output stays.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Unhandled exceptions are recorded on the active span as exception events`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` and logged at error level, so Superlog groups them into error issues.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - The few operations that matter most to users, such as checkout or`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` sign-in, have spans.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`4. Browser frontends: Superlog browser SDK`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If @superlog/browser is already set up, keep it and only fill gaps.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Otherwise install @superlog/browser, and @superlog/react for React apps.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Follow https://docs.superlog.sh/guides/browser. Call init before the app`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` renders, with service, release, environment, the browser app's ingest key`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` as ingestKey, and the endpoint from list_ingest_keys as endpoint.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Gaps to check: the React error boundary and router instrumentation for`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` React apps, and source map uploads in the build with @superlog/sourcemaps`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` and SUPERLOG_API_KEY, using the same release value as init.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`5. Connect requests across services`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` One user action must show up as one trace, from the browser through every`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` service it reaches. Check each link and fix only the ones that break.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Use W3C trace context (traceparent and tracestate) everywhere.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Browser to backend: tracePropagationTargets in the browser SDK lists the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` app's API origins, and the API's CORS settings allow the traceparent and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` tracestate headers.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Service to service: every outgoing HTTP and gRPC client sends`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` traceparent, every server continues it, and proxies, gateways, and load`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` balancers pass the headers through.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Queues and background jobs: the trace context is injected into each`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` message's headers or attributes when it is sent and extracted when it is`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` processed, so the job's spans join the trace that enqueued it. Use the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` instrumentation library for the queue if there is one.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Request IDs: if the app has a request ID, it is on the active span as an`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` attribute and on every log record, and the response returns the trace ID`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` in a header so support can find a user's request.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Verify: after step 6, find a trace for a user action that crosses services`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` with query_traces, open it with get_trace, and confirm it has spans from`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` the browser and every service involved.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`6. Verify the data`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If you changed code, run the project's checks. Then ask me to deploy, or`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` to run the services locally with the settings, and send some traffic.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Confirm each service with list_services, query_traces, query_logs, and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` query_metrics. Note the real metric names, routes, and attribute names.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Build everything below from data you have seen, not from guesses.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`7. Slack and error notifications`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If Slack is not connected, call start_integration_connection for Slack and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` wait for me to approve it. Then call list_slack_channels.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If error notifications are already on, keep their channel. Otherwise ask`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` me which channel to use and turn them on with update_error_notifications.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For new alerts and checks, use the channel the existing alerts post to. If`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` there are none, ask me which channel to use.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`8. Dashboards`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Read each existing dashboard with get_dashboard. Treat a dashboard as`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` covering a service if its name or its widgets are about that service.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If no dashboard covers the whole system, create a \"Service health\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` dashboard: requests per service, error spans per service, p95 latency per`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` service, a list of recent error logs, and a list of recent error traces,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` with a dashboard variable for deployment.environment.name.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For each service with no dashboard, create one: throughput, errors, and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` p50, p95, and p99 latency by route; the slowest routes as a table;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` database and outgoing call latency; runtime metrics such as memory and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` CPU if the service sends them; and a list of its error logs.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For dashboards that already exist, list the charts they are missing as`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` suggestions. Don't add them without my approval.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Query each widget's data before you add it. Arrange new dashboards with`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` update_dashboard_layout so the most important charts are at the top.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`9. Alerts`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Only alerts someone should act on. Each alert name says what is broken.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Superlog alerts compare one value with a threshold. They cannot divide two`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` values, so use counts and percentiles.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For each service, these are the cases to cover where they apply:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` a. Down: span count below 1 over 10 minutes, for services with steady`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` traffic.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` b. Failing requests: error span count above a threshold.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` c. Slow: p95 span duration above a threshold on the main routes.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` d. Crashes: fatal logs above 0.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` e. Backlog: queue depth or job lag metrics above a threshold, if the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` service has them.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Read each existing alert with get_alert. A case is covered when an`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` existing alert watches the same service and the same kind of failure,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` even with a different threshold or name. Skip covered cases.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For uncovered cases, set the threshold from the last 7 days of data so it`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` does not fire on normal peaks. Check each new alert with preview_alert,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` show me the rule, threshold, and preview, and wait for my approval before`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` create_alert.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If an existing alert looks too noisy or too quiet, suggest a change with`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` its preview. Don't change it without my approval.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`10. Synthetic checks`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Skip URLs that already have a check.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For each public health endpoint and main page without one, create a`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` check: every minute, retry once, alert after 2 failed runs. Assert a 2xx`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` status and a response time, a JSON status field if the health endpoint`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` returns one, and a TLS certificate that expires in more than 14 days.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`11. Terraform`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If the repository already manages Superlog or other infrastructure with`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Terraform, offer to add the output of export_terraform to it. Otherwise`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` skip this step.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Finish with a table of every service, ingest key, dashboard, alert, and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`synthetic check, marked as already in place, added, or suggested, and a list of`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`anything you could not set up and why.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})}),`\n`,_jsx(_components.p,{children:`The agent keeps what is already set up and adds only what is missing, so you can run the prompt again at any time. It shows you each new alert before it creates it, and suggests changes to existing ones without making them. Review the thresholds. You know which numbers mean users are affected.`}),`\n`,_jsx(Heading,{level:`2`,id:`checklist`,children:`Checklist`}),`\n`,_jsx(_components.p,{children:`Work through these steps for each service you run. Each one links to the page that covers it and has a prompt that sets up or improves only that part.`}),`\n`,_jsxs(_components.p,{children:[`You can run a prompt on its own, as often as you like. It keeps what exists and adds only what is missing. Each prompt needs the `,_jsx(_components.a,{href:`/assistants/claude`,children:`Superlog MCP server`}),`. Alerts and dashboards are built from real data, so send telemetry first.`]}),`\n`,_jsxs(Steps,{children:[_jsxs(Step,{title:`Send telemetry`,children:[_jsxs(_components.p,{children:[`Send logs, traces, and metrics from the service. Set `,_jsx(_components.code,{children:`service.name`}),` and `,_jsx(_components.code,{children:`deployment.environment.name`}),` so Superlog can group and filter by them. Connect logs to traces so each log record carries its trace and span IDs.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/collect-telemetry/overview`,children:`Collect telemetry`}),`.`]}),_jsx(Accordion,{title:`Prompt: backend services`,id:`prompt-backend-services`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`60`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`60`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Set up OpenTelemetry for the backend services in this repository so they send`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`traces, metrics, and logs to Superlog. You have the Superlog MCP server. Never`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`commit a key.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This may already be partly or fully set up. Check what exists first. Keep what`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`works and add only what is missing. Never delete, rename, rotate, or replace`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`existing instrumentation or ingest keys. If you think one should change, list`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`the change and wait for my approval. Running this prompt again on a finished`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`setup should change nothing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. Inventory`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - List every backend service: HTTP APIs, workers, and scheduled jobs. Find`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` how each one sends telemetry today: an OpenTelemetry SDK, another vendor's`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` agent or SDK, or nothing. Use the service name it already reports. Give`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` new services a short, stable name.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Read list_services and list_ingest_keys. Query the last 24 hours of`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` traces, logs, and metrics for each service to see which signals arrive.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. Ingest key`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Skip services that already send to Superlog, and reuse the key a project`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` already reads from its environment or secret manager.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If services that send nothing still need a key, create one for the backend`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` services with create_ingest_key. Name it after what uses it, and check`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` list_ingest_keys first so you don't create a second key with the same name.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Add placeholders for new settings to the example environment file. Tell`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` me where to set the real values, or set them in the secret manager the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` project already uses.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. Instrumentation`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If a service already exports OpenTelemetry to Superlog, keep its setup and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` only fill gaps from the list below.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If it sends to another vendor, don't remove that. Ask me whether to add`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Superlog as a second exporter or to replace it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For services with nothing: use the official OpenTelemetry SDK for the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` service's language, with automatic instrumentation for its framework, HTTP`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` clients, database clients, and queues. Configure the exporters only with`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` environment variables:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` OTEL_EXPORTER_OTLP_ENDPOINT=\u003cendpoint from list_ingest_keys>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` OTEL_EXPORTER_OTLP_PROTOCOL=http/protobuf`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` OTEL_EXPORTER_OTLP_HEADERS=x-api-key=\u003cingest key>`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Send traces, metrics, and logs. Start the SDK before the app loads other`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` modules. Flush and shut it down when the process exits.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Gaps to check on every service:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - service.name, service.version, and deployment.environment.name are set.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - The logger is connected to the OpenTelemetry logs SDK, so each record`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` carries its trace and span IDs. Console output stays.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Unhandled exceptions are recorded on the active span as exception events`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` and logged at error level, so Superlog groups them into error issues.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - The few operations that matter most to users, such as checkout or`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` sign-in, have spans.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`4. Verify`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If you changed code, run the project's checks. Then ask me to deploy, or`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` to run the services locally with the settings, and send some traffic.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Confirm each service with list_services, query_traces, query_logs, and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` query_metrics.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Finish with a table of every service and ingest key, marked as already in`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`place, added, or suggested, and a list of anything you could not set up and why.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})}),_jsx(Accordion,{title:`Prompt: browser frontends`,id:`prompt-browser-frontends`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`48`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`48`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Set up the Superlog browser SDK for the browser frontends in this repository.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You have the Superlog MCP server. A workspace API key for source map uploads may`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`be in SUPERLOG_API_KEY. Never commit a key.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This may already be partly or fully set up. Check what exists first. Keep what`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`works and add only what is missing. Never delete, rename, rotate, or replace`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`existing instrumentation or ingest keys. If you think one should change, list`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`the change and wait for my approval. Running this prompt again on a finished`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`setup should change nothing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. Inventory`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - List every browser frontend. Find how each one sends telemetry today: the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Superlog browser SDK, another vendor's SDK, or nothing. Use the service`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` name it already reports. Give new apps a short, stable name.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Read list_services and list_ingest_keys. Query the last 24 hours of traces`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` and logs for each app to see which signals arrive.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. Ingest key`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Skip apps that already send to Superlog, and reuse the key a project`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` already reads from its environment.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If an app that sends nothing still needs a key, create one for it with`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` create_ingest_key. Name it after the app, and check list_ingest_keys first`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` so you don't create a second key with the same name.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Add placeholders for new settings to the example environment file. Tell`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` me where to set the real values.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. Instrumentation`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If @superlog/browser is already set up, keep it and only fill gaps.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If an app sends to another vendor, don't remove that. Ask me whether to`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` add Superlog alongside it or to replace it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Otherwise install @superlog/browser, and @superlog/react for React apps.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Follow https://docs.superlog.sh/guides/browser. Call init before the app`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` renders, with service, release, environment, the app's ingest key as`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` ingestKey, and the endpoint from list_ingest_keys as endpoint.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Gaps to check: the React error boundary and router instrumentation for`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` React apps, and source map uploads in the build with @superlog/sourcemaps`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` and SUPERLOG_API_KEY, using the same release value as init. If the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` endpoint is on us.superlog.sh, set the upload url to`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` https://us.superlog.sh.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`4. Verify`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If you changed code, run the project's checks. Then ask me to deploy, or`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` to run the app locally with the settings, and open it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Confirm each app with list_services, query_traces, and query_logs.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Finish with a table of every app and ingest key, marked as already in place,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`added, or suggested, and a list of anything you could not set up and why.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]}),_jsxs(Step,{title:`Connect requests across services`,children:[_jsxs(_components.p,{children:[`Pass W3C trace context (`,_jsx(_components.code,{children:`traceparent`}),`) on every call between services, including from the browser to your API and through queues and background jobs. Then one user action shows up as one trace. If your app has a request ID, add it to spans and logs.`]}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/telemetry/traces`,children:`Traces`}),` and `,_jsx(_components.a,{href:`/guides/browser`,children:`Browser and React`}),`.`]}),_jsx(Accordion,{title:`Prompt: connect requests across services`,id:`prompt-connect-requests-across-services`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`41`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`41`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Connect requests across the services in this repository so one user action shows`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`up as one trace in Superlog, from the browser through every service it reaches.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`You have the Superlog MCP server.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This may already be partly or fully set up. Check each link and fix only the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`ones that break. Keep what works. Never remove existing instrumentation. If you`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`think something that works should change, list the change and wait for my`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`approval. Running this prompt again on a finished setup should change nothing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. Inventory`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Map how the services call each other: HTTP and gRPC calls, queues and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` topics, background jobs, and calls from the browser to the backend.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Read list_services. If a service sends no telemetry yet, list it and move`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` on.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. Check each link`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Use W3C trace context (traceparent and tracestate) everywhere.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Browser to backend: tracePropagationTargets in the browser SDK lists the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` app's API origins, and the API's CORS settings allow the traceparent and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` tracestate headers.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Service to service: every outgoing HTTP and gRPC client sends`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` traceparent, every server continues it, and proxies, gateways, and load`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` balancers pass the headers through.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Queues and background jobs: the trace context is injected into each`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` message's headers or attributes when it is sent and extracted when it is`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` processed, so the job's spans join the trace that enqueued it. Use the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` instrumentation library for the queue if there is one.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Request IDs: if the app has a request ID, it is on the active span as an`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` attribute and on every log record, and the response returns the trace ID`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` in a header so support can find a user's request.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. Verify`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If you changed code, run the project's checks. Then ask me to deploy, or`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` to run the services locally, and send some traffic.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Find a trace for a user action that crosses services with query_traces,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` open it with get_trace, and confirm it has spans from the browser and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` every service involved.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Finish with a table of every link, marked as already working, fixed, or`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`suggested, and a list of anything you could not connect and why.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]}),_jsxs(Step,{title:`Connect Slack`,children:[_jsx(_components.p,{children:`Slack is where alerts, error notifications, and synthetic check failures go.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/integrations/slack`,children:`Slack`}),`.`]}),_jsx(Accordion,{title:`Prompt: connect Slack`,id:`prompt-connect-slack`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`15`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`15`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Connect Slack to Superlog. You have the Superlog MCP server.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Slack may already be connected. Keep an existing connection as it is. Running`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`this prompt again on a finished setup should change nothing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. Call list_integrations. If Slack is connected, skip to step 3.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. Call start_integration_connection for Slack and wait for me to approve it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Then confirm the connection with list_integrations.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. Call list_slack_channels. If a channel I need is missing, call`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` refresh_integrations and list them again. For a private channel, ask me to`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` invite the Superlog app first.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Finish by saying whether Slack was already connected or is newly connected, and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`which channels Superlog can post to.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]}),_jsxs(Step,{title:`Turn on error notifications`,children:[_jsx(_components.p,{children:`Superlog groups exceptions into issues on its own. Turn on notifications so a Slack channel hears about each new error and each regression. Resolve or silence issues from the Slack message.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/telemetry/errors#slack-notifications`,children:`Errors`}),`.`]}),_jsx(Accordion,{title:`Prompt: turn on error notifications`,id:`prompt-turn-on-error-notifications`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`19`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`19`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Turn on Superlog error notifications, so a Slack channel hears about each new`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`error and each regression. You have the Superlog MCP server. This needs a`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`workspace owner or admin. If the tools refuse, tell me and stop.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`These may already be on. Keep the current channel. If you think it should`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`change, tell me and wait for my approval. Running this prompt again on a`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`finished setup should change nothing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. Call get_error_notifications. If notifications are on, skip to step 4.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. Call list_integrations. If Slack is not connected, call`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` start_integration_connection for Slack and wait for me to approve it.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. Call list_slack_channels and ask me which channel to use. For a private`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` channel, ask me to invite the Superlog app first. Then turn notifications on`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` with update_error_notifications.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`4. Confirm with get_error_notifications.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Finish by saying whether notifications were already on or are newly on, and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`which channel they post to.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]}),_jsxs(Step,{title:`Add alerts`,children:[_jsx(_components.p,{children:`Add an alert for each signal that means users are affected, such as a spike in error logs or slow requests on a key endpoint. Preview each alert before you save it.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/telemetry/alerts`,children:`Alerts`}),`.`]}),_jsx(Accordion,{title:`Prompt: add alerts`,id:`prompt-add-alerts`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`48`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`48`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Add Superlog alerts for the failures in this workspace that someone should act`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`on. You have the Superlog MCP server.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This may already be partly or fully set up. Check what exists first. Keep what`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`works and add only what is missing. Never delete, rename, or replace an existing`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`alert. If you think one should change, list the change and wait for my approval.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Running this prompt again on a finished setup should change nothing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. Read the workspace`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Call list_services, list_alerts, and list_integrations. Read each alert`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` with get_alert.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Query traces, logs, and metrics for each service, and note the real metric`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` names, routes, and attribute names. Build alerts from data you have seen,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` not from guesses. If a service sends no data, list it and move on.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. Choose a channel`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Use the channel the existing alerts post to. If there are none, ask me`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` which channel to use.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If Slack is not connected, call start_integration_connection for Slack and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` wait for me to approve it. Take the channel from list_slack_channels.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. Find what is missing`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Only alerts someone should act on. Each alert name says what is broken.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` Superlog alerts compare one value with a threshold. They cannot divide two`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` values, so use counts and percentiles.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For each service, these are the cases to cover where they apply:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` a. Down: span count below 1 over 10 minutes, for services with steady`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` traffic.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` b. Failing requests: error span count above a threshold.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` c. Slow: p95 span duration above a threshold on the main routes.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` d. Crashes: fatal logs above 0.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` e. Backlog: queue depth or job lag metrics above a threshold, if the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` service has them.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - A case is covered when an existing alert watches the same service and the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` same kind of failure, even with a different threshold or name. Skip`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` covered cases.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`4. Add alerts`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For uncovered cases, set the threshold from the last 7 days of data so it`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` does not fire on normal peaks. Check each new alert with preview_alert,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` show me the rule, threshold, and preview, and wait for my approval before`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` create_alert.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If an existing alert looks too noisy or too quiet, suggest a change with`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` its preview. Don't change it without my approval.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Finish with a table of every service and case, marked as already in place,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`added, or suggested, and a list of anything you could not set up and why.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]}),_jsxs(Step,{title:`Add synthetic checks`,children:[_jsx(_components.p,{children:`Add a check for each public endpoint and health route. Superlog requests it on a schedule and posts to Slack when it fails.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/telemetry/synthetics`,children:`Synthetic checks`}),`.`]}),_jsx(Accordion,{title:`Prompt: add synthetic checks`,id:`prompt-add-synthetic-checks`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`31`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`31`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Add Superlog synthetic checks for the public endpoints of this application. You`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`have the Superlog MCP server.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This may already be partly or fully set up. Check what exists first. Keep what`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`works and add only what is missing. Never delete, rename, or replace an existing`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`check. If you think one should change, list the change and wait for my approval.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Running this prompt again on a finished setup should change nothing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. Inventory`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Find each public health endpoint and main page in the repository. Ask me`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` for any public URL you can't tell from the code.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Call list_synthetic_checks. Skip URLs that already have a check.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. Choose a channel`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Use the channel the existing checks post to. If there are no checks,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` use the channel from list_alerts. If there are no alerts either, ask`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` me which channel to use.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If Slack is not connected, call start_integration_connection for Slack and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` wait for me to approve it. Take the channel from list_slack_channels.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. Add checks`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For each URL without a check, create one with create_synthetic_check:`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` every minute, retry once, alert after 2 failed runs. Assert a 2xx status`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` and a response time, a JSON status field if the health endpoint returns`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` one, and a TLS certificate that expires in more than 14 days.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Confirm each new check has run with get_synthetic_check. If one fails, tell`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` me what it got.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Finish with a table of every URL and check, marked as already in place, added,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`or suggested, and a list of anything you could not set up and why.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]}),_jsxs(Step,{title:`Build a service dashboard`,children:[_jsx(_components.p,{children:`Chart request rate, errors, and latency for the service. Add a variable for the environment so one dashboard covers all of them.`}),_jsxs(_components.p,{children:[`See `,_jsx(_components.a,{href:`/telemetry/dashboards`,children:`Dashboards`}),`.`]}),_jsx(Accordion,{title:`Prompt: build dashboards`,id:`prompt-build-dashboards`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`34`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`34`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Build Superlog dashboards for the services in this workspace. You have the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Superlog MCP server.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This may already be partly or fully set up. Check what exists first. Keep what`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`works and add only what is missing. Never delete, rename, or replace an existing`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`dashboard or widget. If you think one should change, list the change and wait`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`for my approval. Running this prompt again on a finished setup should change`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`nothing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. Read the workspace`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Call list_services and list_dashboards. Read each dashboard with`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` get_dashboard. Treat a dashboard as covering a service if its name or its`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` widgets are about that service.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Query traces, logs, and metrics for each service, and note the real metric`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` names, routes, and attribute names. Build charts from data you have seen,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` not from guesses. If a service sends no data, list it and move on.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. Add what is missing`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If no dashboard covers the whole system, create a \"Service health\"`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` dashboard: requests per service, error spans per service, p95 latency per`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` service, a list of recent error logs, and a list of recent error traces,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` with a dashboard variable for deployment.environment.name.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For each service with no dashboard, create one: throughput, errors, and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` p50, p95, and p99 latency by route; the slowest routes as a table;`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` database and outgoing call latency; runtime metrics such as memory and`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` CPU if the service sends them; and a list of its error logs.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - For dashboards that already exist, list the charts they are missing as`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` suggestions. Don't add them without my approval.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Query each widget's data before you add it. Arrange new dashboards with`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` update_dashboard_layout so the most important charts are at the top.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Finish with a table of every dashboard with its link, marked as already in`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`place, added, or suggested, and a list of anything you could not set up and why.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]})]}),`\n`,_jsxs(_components.p,{children:[`If you already manage infrastructure with Terraform, you can keep your alerts, dashboards, and synthetic checks there too. See `,_jsx(_components.a,{href:`/developer/terraform`,children:`Terraform provider`}),`.`]}),`\n`,_jsx(Accordion,{title:`Prompt: move Superlog into Terraform`,id:`prompt-move-superlog-into-terraform`,children:_jsx(CodeBlock,{filename:``,numberOfLines:`37`,language:`text`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`text`,children:_jsxs(_components.code,{language:`text`,numberOfLines:`37`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Keep this workspace's Superlog alerts, dashboards, and synthetic checks in this`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`repository's Terraform. You have the Superlog MCP server. A workspace API key`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`may be in SUPERLOG_API_KEY. Never commit a key.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`This may already be partly or fully set up. Check what exists first. Keep what`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`works and add only what is missing. Don't run apply without my approval. Running`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`this prompt again on a finished setup should change nothing.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`1. Inventory`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If the repository doesn't use Terraform or OpenTofu, ask me whether to add`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` it before you continue.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Find the superloglabs/superlog provider and every superlog_alert,`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` superlog_dashboard, and superlog_synthetic_check resource.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Call list_alerts, list_dashboards, and list_synthetic_checks. Compare them`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` with the resources to find the objects Terraform doesn't manage yet.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`2. Add what is missing`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - If the provider is not configured, add it. Set endpoint to`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` https://superlog.sh, or https://us.superlog.sh if the endpoint from`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` list_ingest_keys is on us.superlog.sh. Read the key from SUPERLOG_API_KEY.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Call export_terraform with the IDs of the unmanaged objects, and add the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` output next to the existing configuration. Its import blocks adopt the`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` existing objects instead of creating copies.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Tell me which sensitive variables to set for secret headers on synthetic`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` checks.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Tell me that widgets added to a Terraform-managed dashboard in Superlog`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` are removed on the next apply.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`3. Verify`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Run plan and show me the result. It should only import objects. If it`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` would change or destroy one, stop and explain why.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:` - Wait for my approval before you apply.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`Finish with a table of every alert, dashboard, and synthetic check, marked as`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`already managed, added, or suggested, and a list of anything you could not add`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{children:`and why.`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{})})]})})})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Make your application reliable","sidebarTitle":"Checklist","description":"Set up telemetry, connected traces, dashboards, alerts, error notifications, and synthetic checks with one agent prompt, one prompt per step, or by hand.","href":"/reliability/checklist"}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Set it up with one prompt","slug":"set-it-up-with-one-prompt","depth":2,"children":[]},{"title":"Checklist","slug":"checklist","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"superlog","siteName":"Superlog","title":"Make your application reliable - Superlog","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-10-30T10:21:25.555Z","originalFileLocation":"reliability/checklist.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Set up telemetry, connected traces, dashboards, alerts, error notifications, and synthetic checks with one agent prompt, one prompt per step, or by hand.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Superlog\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/svg+xml\" sizes=\"180x180\" href=\"https://media.brand.dev/795f746d-3a5f-4fb9-ac75-cc1f5a0ebd65.svg\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"32x32\" href=\"https://media.brand.dev/795f746d-3a5f-4fb9-ac75-cc1f5a0ebd65.svg\">\u003clink data-mint-head rel=\"icon\" type=\"image/svg+xml\" sizes=\"16x16\" href=\"https://media.brand.dev/795f746d-3a5f-4fb9-ac75-cc1f5a0ebd65.svg\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/svg+xml\" href=\"https://media.brand.dev/795f746d-3a5f-4fb9-ac75-cc1f5a0ebd65.svg\">\u003cmeta data-mint-head property=\"og:title\" content=\"Make your application reliable - Superlog\">\u003cmeta data-mint-head property=\"og:description\" content=\"Set up telemetry, connected traces, dashboards, alerts, error notifications, and synthetic checks with one agent prompt, one prompt per step, or by hand.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Superlog\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.superlog.sh/reliability/checklist\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://superlog.mintlify.site/_mintlify/api/og/v2?division=Make+your+application+reliable\u0026amp;title=Make+your+application+reliable\u0026amp;description=Set+up+telemetry%2C+connected+traces%2C+dashboards%2C+alerts%2C+error+notifications%2C+and+synthetic+checks+with+one+agent+prompt%2C+one+prompt+per+step%2C+or+by+hand.\u0026amp;theme=05d880e04cfa2ab5c3f4b977\u0026amp;signature=06d6d1c2af6dc0cfd6e44fb3d60699db197fb086a194712d1f4c5df380797461\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Make your application reliable - Superlog\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Set up telemetry, connected traces, dashboards, alerts, error notifications, and synthetic checks with one agent prompt, one prompt per step, or by hand.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://superlog.mintlify.site/_mintlify/api/og/v2?division=Make+your+application+reliable\u0026amp;title=Make+your+application+reliable\u0026amp;description=Set+up+telemetry%2C+connected+traces%2C+dashboards%2C+alerts%2C+error+notifications%2C+and+synthetic+checks+with+one+agent+prompt%2C+one+prompt+per+step%2C+or+by+hand.\u0026amp;theme=05d880e04cfa2ab5c3f4b977\u0026amp;signature=06d6d1c2af6dc0cfd6e44fb3d60699db197fb086a194712d1f4c5df380797461\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"https://mintlify.s3.us-west-1.amazonaws.com/superlog/_generated/favicon/browserconfig.xml?v=3\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Superlog\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#232323\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.superlog.sh/reliability/checklist\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/reliability/checklist.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.superlog.sh/#organization\",\"name\":\"Superlog\",\"url\":\"https://docs.superlog.sh\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/superlog/jw32XZEwyUF_Zu7C/logo/light.svg?fit=max\u0026auto=format\u0026n=jw32XZEwyUF_Zu7C\u0026q=85\u0026s=f1446500b95a3d31425612d0cb3f04f1\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.superlog.sh#website\",\"name\":\"Superlog\",\"url\":\"https://docs.superlog.sh\",\"publisher\":{\"@id\":\"https://docs.superlog.sh/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.superlog.sh/reliability/checklist#webpage\",\"url\":\"https://docs.superlog.sh/reliability/checklist\",\"name\":\"Make your application reliable\",\"description\":\"Set up telemetry, connected traces, dashboards, alerts, error notifications, and synthetic checks with one agent prompt, one prompt per step, or by hand.\",\"dateModified\":\"2026-10-30T10:21:25.555Z\",\"isPartOf\":{\"@id\":\"https://docs.superlog.sh#website\"},\"breadcrumb\":{\"@id\":\"https://docs.superlog.sh/reliability/checklist#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.superlog.sh/reliability/checklist#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Superlog\",\"item\":\"https://docs.superlog.sh\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Make your application reliable\",\"item\":\"https://docs.superlog.sh/reliability/checklist\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.superlog.sh/reliability/checklist#article\",\"headline\":\"Make your application reliable\",\"name\":\"Make your application reliable\",\"description\":\"Set up telemetry, connected traces, dashboards, alerts, error notifications, and synthetic checks with one agent prompt, one prompt per step, or by hand.\",\"url\":\"https://docs.superlog.sh/reliability/checklist\",\"mainEntityOfPage\":{\"@id\":\"https://docs.superlog.sh/reliability/checklist#webpage\"},\"dateModified\":\"2026-10-30T10:21:25.555Z\",\"publisher\":{\"@id\":\"https://docs.superlog.sh/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.superlog.sh#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Superlog\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Superlog\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/reliability/checklist.md","siteName":"Superlog","nav":{"global":null,"tabs":[{"tab":"Documentation","groups":[{"group":"Get started","pages":[{"title":"Superlog","sidebarTitle":"Home","href":""},{"title":"How Superlog works","sidebarTitle":"Overview","href":"/overview"},{"title":"Instrument your app","sidebarTitle":"Instrument your app","href":"/guides/instrument-your-app"},{"title":"Browser and React","sidebarTitle":"Browser and React","href":"/guides/browser"},{"title":"Install Superlog MCP","sidebarTitle":"Install Superlog MCP","href":"/assistants/claude"}]},{"group":"Collect telemetry","pages":[{"title":"Collect telemetry","sidebarTitle":"Overview","href":"/collect-telemetry/overview"},{"title":"Send from an OpenTelemetry Collector","sidebarTitle":"OpenTelemetry Collector","href":"/collect-telemetry/opentelemetry-collector"},{"title":"Vercel","sidebarTitle":"Vercel","href":"/collect-telemetry/vercel"},{"title":"AWS CloudWatch","sidebarTitle":"AWS CloudWatch","href":"/collect-telemetry/aws"},{"title":"Google Cloud","sidebarTitle":"Google Cloud","description":"Have Superlog read Cloud Logging and Cloud Monitoring from a connected Google Cloud project.","href":"/collect-telemetry/google-cloud"}]},{"group":"Make your application reliable","pages":[{"title":"Make your application reliable","sidebarTitle":"Checklist","href":"/reliability/checklist"},{"title":"Errors","description":"Group exceptions into issues, resolve or ignore them, and get a Slack message when a new error appears or a resolved one returns.","href":"/telemetry/errors"},{"title":"Alerts","href":"/telemetry/alerts"},{"title":"Synthetic checks","sidebarTitle":"Synthetics","href":"/telemetry/synthetics"},{"title":"Dashboards","href":"/telemetry/dashboards"}]},{"group":"Concepts","pages":[{"title":"Automations","sidebarTitle":"Automations","href":"/automations/overview"},{"title":"Tag mode","href":"/tag-mode"},{"title":"Models and harnesses","sidebarTitle":"Models and harnesses","href":"/automations/models"}]},{"group":"Migrate","pages":[{"title":"Migrate from Datadog","sidebarTitle":"From Datadog","href":"/guides/migrate/datadog"},{"title":"Migrate from New Relic","sidebarTitle":"From New Relic","href":"/guides/migrate/new-relic"},{"title":"Migrate from Dynatrace","sidebarTitle":"From Dynatrace","href":"/guides/migrate/dynatrace"}]},{"group":"Reference","pages":[{"group":"Telemetry","pages":[{"title":"Logs","href":"/telemetry/logs"},{"title":"Traces","href":"/telemetry/traces"},{"title":"Metrics","href":"/telemetry/metrics"}]},{"group":"Automations","pages":[{"title":"Triggers","href":"/automations/triggers"},{"title":"Templates and sharing","sidebarTitle":"Templates","href":"/automations/templates"},{"title":"Connectors","href":"/automations/connectors"},{"title":"Runs","href":"/automations/runs"},{"title":"Skills","href":"/automations/skills"},{"title":"Pull requests","href":"/automations/pull-requests"}]},{"group":"Integrations","pages":[{"title":"Integrations","sidebarTitle":"Overview","href":"/integrations/overview"},{"title":"GitHub","href":"/integrations/github"},{"title":"Slack","href":"/integrations/slack"},{"title":"Sentry","href":"/integrations/sentry"},{"title":"Datadog","href":"/integrations/datadog"},{"title":"Linear","href":"/integrations/linear"},{"title":"Discord","href":"/integrations/discord"},{"title":"Custom MCP servers","sidebarTitle":"Custom MCP","href":"/integrations/custom-mcp"},{"title":"AWS and Google Cloud","sidebarTitle":"AWS and Google Cloud","href":"/integrations/cloud"},{"title":"More integrations","href":"/integrations/more"}]},{"group":"Workspace","pages":[{"title":"Workspace and members","sidebarTitle":"Workspace and members","href":"/settings/workspace"},{"title":"Plans and billing","sidebarTitle":"Plans and billing","href":"/settings/billing"},{"title":"Workspace secrets","href":"/settings/workspace-secrets"},{"title":"API keys","href":"/settings/api-keys"}]},{"group":"Developer","pages":[{"title":"MCP server","sidebarTitle":"MCP server","href":"/api-reference/mcp"},{"title":"Terraform provider","sidebarTitle":"Terraform provider","href":"/developer/terraform"}]},{"group":"Self-hosting","pages":[{"title":"Self-hosting Superlog","sidebarTitle":"Overview","href":"/self-hosting/overview"},{"title":"Run Superlog locally","sidebarTitle":"Local development","href":"/self-hosting/local-development"},{"title":"Deploy Superlog","sidebarTitle":"Deployment","href":"/self-hosting/deployment"},{"title":"Environment variables","sidebarTitle":"Environment variables","href":"/self-hosting/environment"}]}]},{"group":"Security","pages":[{"title":"Security","href":"/security"}]},{"group":"Cookbook","pages":[{"title":"Triage Sentry issues into pull requests","sidebarTitle":"Triage Sentry issues into PRs","href":"/guides/triage-sentry-issues"}]}]},{"tab":"API reference","pages":[{"title":"API reference","href":"/api-reference/introduction"}]}]},"basePath":"","title":"Make your application reliable - Superlog","buildId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","deploymentId":"dpl_Fyv1NbzwP68g2bEH2Roy98uY1zmE","dynamics":[],"chunks":[]}