Before you start
- A monoscope project that receives data. The Node.js workshop sets one up.
- A Slack workspace where you can install apps (optional, for the Slack steps)
- A GitHub, GitLab, Bitbucket or Gitea repository for one of your services (optional, for source context)
By the end you'll have
- Connected Slack and a repository so the AI can post results and read your code
- Asked the AI SRE a question and checked the queries behind its answer
- Used Investigate and Plan a fix on an issue
- Installed a built-in routine and scheduled a custom routine from a prompt
monoscope AI investigates your project with the same data you see: it runs queries on your logs, traces and metrics, reads your issues, monitors and deployments, and answers with the charts and events behind each claim. Routines run those investigations on a schedule, so an error that came back after a deploy is flagged within the hour without anyone asking. In this workshop you ask your first question, then schedule the ones you would otherwise ask every day.
1. Connect Slack
Open Settings → Integrations. Click Connect Slack agent and approve the app in Slack. Then add channels under Slack channels, invite the monoscope app to each channel, and click Save changes.
Click Test next to the channel to send a test alert. The Slack app also lets your team ask the AI SRE questions from a channel. Discord works the same way with Add to Discord.
Details: Integrations.
2. Connect Your Code
Open Repositories in the sidebar. Connect GitHub with the GitHub App, or GitHub, GitLab, Bitbucket or Gitea with an access token. Then link each service to its repository, using the service name your application sends as resource.service.name.
With a repository connected, the AI and the issue page read the failing code from the paths in a stack trace.
Details: Connect your code.
3. Ask Your First Question
Open the Agents view in the sidebar, click New chat, and ask about something you would otherwise check by hand:
Why did checkout errors go up after 14:00?
The AI runs queries, draws charts, and answers with the events that support each claim. Expand tool calls under the answer to see each query it ran. Use the answer as a starting point, and check the evidence before you act on it.
You can also ask from the Ask AI box in Explorer, from the command palette with ⌘K, or from a Slack channel. Each investigation is saved under Conversations in the Agents view.
Details: Start an investigation.
4. Investigate an Issue
Open Issues in the sidebar and click an error. The AI analysis panel shows the Likely cause when monoscope has analyzed the error. Then:
- Click Investigate and ask how many users are affected. The AI answers from this issue’s telemetry.
- Click Plan a fix for a step-by-step plan, with the code changes and the files and lines from the stack trace.
When you start work on it, Acknowledge the issue so your team knows someone owns it.
Details: Investigate with AI.
AI usage is tracked and billed at your project rate. See pricing.
5. Install a Built-in Routine
A routine is an AI review that runs on a schedule and posts what it finds. Routines are read-only by default.
Open the Agents view and click Routines. In the Built-in routines catalog, find Error regression radar, which runs every hour, and click Add routine. Each routine in the catalog shows its schedule, its prompt and the data it uses.
Good second picks:
- Daily operations briefing, weekdays at 09:00.
- Deployment regression review, daily at 14:00.
- On-call handoff, weekdays at 17:00.
Some routines post a report on every run. Others post only when they find something, so a quiet hour makes no noise. Times use the project’s time zone, which you set in Project settings.
Details: Add a built-in routine.
6. Write a Custom Routine
- In the Agents view, click New routine.
- Write the prompt. Say what to check and what to report:
Find checkout requests that took more than 2 seconds in the last hour, grouped by endpoint.
- Under Run every, select an hour, a day or a week, or set a Custom schedule.
- Click Save routine.
A question from step 3 that you ask every day can become a routine too. Click Schedule at the top of the conversation, or select Make daily routine.
Details: Create a custom routine.
7. Send Results to Slack and Read the Runs
Installed routines show at the top of the Routines page. Select Send results to Slack on each one that your team should see. Recent runs lists each run with its status (Succeeded, Failed or Timed out) and its time. Click a run to read the result.
Pause stops a routine’s schedule while you tune its prompt. Resume starts it again.
Details: Manage routines.
8. Review Pull Requests with Production Evidence
The Production impact review routine reads a pull request’s diff next to production telemetry from the services it changes. It needs a repository on GitHub.com connected through the GitHub App, a service mapping, and the routine active. Token connections and other Git hosts do not run automatic reviews.
- Open the repository’s Production impact reviews panel.
- Select Review pull requests and Production evidence in GitHub, then click Save review settings.
- Open Manage review routine and runs and activate the Production impact review routine.
To request a review on an open pull request, comment:
@monoscope review
Read the Coverage gaps section of the result before you treat a review with no findings as reassurance.
Details: Production impact reviews.
What You Built
monoscope AI can now read your code and post to Slack. You asked it a question and checked the queries behind the answer, and you have an hourly error regression check plus a custom routine that reports slow checkout requests. The questions you used to ask every morning now arrive as reports with the evidence attached.
Next Steps
- From KQL query to dashboard and alert: read and edit the queries the AI runs.
- Give your coding agent production context with MCP, so Claude Code or Cursor gets the same data.
- Investigate a production error from your terminal.
- Send your first trace from a Node.js API, if your project has no data yet.
