No way to create a cron monitor, so agents send users to the UI

Cerrado
#1,845 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@Chipagosfinest ya está trabajando en esto.

Desde el 3/11/2026.

  • #1846 de @Chipagosfinest — abierto
  • #1861 de @sentry-junior — fusionado

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
15/100
Tipo de issue
Nueva funcionalidad
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
cli, typescript

Línea de trabajo

Start with the existing monitor tools: create_uptime_monitor, create_metric_monitor, delete_monitor_environment, and the find_monitors description. The issue offers two paths: a catalog-only create_monitor tool for cron schedules, or a find_monitors note pointing to SDK monitor_config and sentry monitor run --schedule. Pull request #1846 is already open against this, so check it before starting. Done means an MCP-only agent can create a cron monitor, or find_monitors explains how to.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

When an agent sets up monitoring, it can create uptime monitors (create_uptime_monitor) and metric monitors (create_metric_monitor), but there's no tool to create or update a cron monitor. The only cron write tool is delete_monitor_environment. So the agent tells the user to create the cron monitor in the UI, or skips it, and the job goes unmonitored.

The CLI can already do this with sentry monitor run --schedule, which upserts the monitor on check-in, and SDK monitor_config does the same. Nothing in the MCP points to either.

Suggested fix: add a catalog-only create_monitor tool (schedule, timezone, check-in margin, max runtime, failure/recovery thresholds) next to create_uptime_monitor. If that isn't wanted, add a line to the find_monitors description saying cron monitors are created with SDK monitor_config or sentry monitor run --schedule.

Acceptance: an agent using only the MCP can create a cron monitor, or is told by find_monitors exactly how to create one.

Lenguaje dominante
TypeScript
Estrellas
949
Forks
171
Merge medio
22 h 56 min
PR fusionados (30 d)
345

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de getsentry/toolkit

Todos los issues de getsentry/toolkit

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.