utilities/auto-blog-link-preserver#15: Write stats to InfluxDB



Issue Information

Issue Type: issue
Status: closed
Reported By: btasker
Assigned To: btasker

Milestone: v0.1
Created: 11-Aug-24 08:40



Description

During a run, we currently generate a list of statistics.

However, we don't do anything with them other than printing to console.

I'd like to add an option to write these into InfluxDB - this will allow us to build automated monitoring to alert if something's failing



Toggle State Changes

Activity


assigned to @btasker

changed the description

verified

mentioned in commit 04baf375dda7256a8ddd6e9562336cc1626b79e3

Commit: 04baf375dda7256a8ddd6e9562336cc1626b79e3 
Author: B Tasker                            
                            
Date: 2024-08-11T09:55:28.000+01:00 

Message

feat: submit statistics into InfluxDB (utilities/auto-blog-link-preserver#15)

+58 -5 (63 lines changed)

This is now implemented, the relevant part of a docker invocation looks like this

-e INFLUXDB_URL=http://192.168.3.84:8086 
-e INFLUXDB_BUCKET=testing_db
-e INFLUXDB_TOKEN=abcdefg

The submission's fairly lazy - either it succeeds, or it doesn't.

verified

mentioned in commit f313401e9891f38b7e38afc1993c73b8648e01fb

Commit: f313401e9891f38b7e38afc1993c73b8648e01fb 
Author: B Tasker                            
                            
Date: 2024-08-11T09:59:06.000+01:00 

Message

feat: add point to record script completion (utilities/auto-blog-link-preserver#15)

This will allow monitoring to do a sum/count of the field completions to ensure there have been enough successful runs in any given time period

+3 -0 (3 lines changed)