0xfurai / 0xfurai/peekaping

Enhancement: Add regex support for HTTP(s) Json query or HTTP(s) Keyword monitors

Abierto
#246 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
1.2k
Forks
69
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

When using the "HTTP(s) Json query" or "HTTP(s) keyword" monitors it would be great if there were a regex option when comparing the results.
I have an API that only returns an ISO time string like "2025-12-20T22:10:33:432Z" inside a Json block. The usual comparisons like "=" and ">" don't really work here. Right now I use a keyword search for "2025", but this will break in a few days on New Year 😉

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Look for the HTTP(s) Json query and keyword monitor implementations in the codebase, likely in a directory like 'monitors' or 'checks'. Identify where the comparison logic (like '=' and '>') is defined. Add regex parsing and matching support there, ensuring it integrates with the existing configuration. Test by creating a monitor that uses regex on a sample ISO time string.

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

Evaluación

Stack tecnológico
go
Área
backend
Tipo de issue
Nueva funcionalidad
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.