Skip to content

Log a Record of Enabling/Disabling the Queue #3

Description

@frozenfrank

Overview

Enabling or disabling the queue is an admin action that should be logged for auditing purposes.

Description

Whenever the server processes a request to change the queue status, whether valid or invalid, it should generate a log of the attempt including:

  • netId
  • timestamp
  • approved/disapproved status

This log should be stored in a new table in the database where we could perform analytics on the total uptime of the queue, etc...

The logs could, optionally, also be sent into the Grafana logging instance set up for the AutoGrader. softwareconstruction240/autograder#318 contains the first known reference to Grafana logging. (This could be split into a separate issue as well.)

Worklist

  • Create DB table
  • Install code to reliably save records into the table
  • Write/install sendToGrafana() script to report the log in the cloud as well

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions