0xfurai / 0xfurai/peekaping

In monitor page, monitors can not filter by status?

オープン
#285 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Go
スター
1.2k
フォーク
69
PR マージ指標
30日以内にマージされた PR はありません

説明

**Describe the bug**
In monitor page, I can not filter monitors by status.

**Database**
- sqlite

**To Reproduce**
Steps to reproduce the behavior:
1. Go to monitor(ip:8383/monitors), now we can see all monitors, some up, some down
2. Choose status-up, we had all monitors, including up/down. But choose status-down, we got nothing

**Expected behavior**
We can filter monitors by status.

**Screenshots**
Here is status-all:

Image

Here is status: up

Image

And here is status:down

Image

**Additional context**
I am using peekaping in docker, and all my monitors are sync to peekaping from api.

Thanks!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

The monitor page is at /monitors (likely served by a Go backend). Look for the handler that renders this page and processes filter parameters (status-up, status-down). The bug is likely in the SQL query or filter logic where the 'down' status filter returns nothing. Check the database schema for monitor status fields and the frontend code that sends the filter request. Verify the filter works by testing with both up and down monitors.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
docker, go, sqlite
領域
api, backend, frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
静か
明瞭さ
明確に書かれている
初心者へのやさしさ
65/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。