cyclestreets / cyclestreets/cyclestreets-setup

Munin chart idea: Failures in last X minutes

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

Nobody has claimed this yet.

Dominant language
Shell
Stars
11
Forks
5
PR merge metrics
No merged PRs in 30d

Description

Occasionally a route could fail for whatever reason, e.g. caused by some kind of timeout.

It would be useful therefore to have a Munin chart that scans the Apache logs for failures (5xx) in the last 5 minutes.

Presumably this could reuse this log file reader.
https://github.com/cyclestreets/cyclestreets-setup/blob/master/utility/readLogFile.py

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start with utility/readLogFile.py to understand the existing log-reading behavior, then inspect how Munin charts are defined in this repository. Add a chart that reports Apache 5xx failures from the last five minutes, and verify that its output reflects the relevant Apache log entries.

Written by the indexing model from the issue text.

Assessment

Tech stack
apache, python
Domain
observability
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.