Alert statistics per day, organisation and camera

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
grafana, python

Research direction

Start by reading the linked monitoring and alerting epic, pyronear/roadmap#25, and inspect the repository’s existing data export and dashboard setup. The dashboard choice is still open between Grafana and Metabase, and the issue does not identify entry point files or tests. Done means the team can see daily alert counts by organisation and camera using a previous-day export, without querying the production API.

Written by the indexing model from the issue text.

Description

enhancement
Context & Objective

Part of the epic pyronear/roadmap#25 (Monitoring and alerting). The team wants to know how many alerts each organisation receives per day, and the average per camera, to see unusual days or noisy cameras. For the team only.

What has to be done
  • Compute the numbers from an export of the previous day, so that the dashboard never queries the production API directly.
  • Show them in a dashboard (Grafana or Metabase, to decide).
Done when
  • The team sees alerts per day per organisation, and per camera, without any load on production
Dominant language
Python
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.