Skip to content

WPGraphQL Logging - Create Plugin Configuration #353

@colinmurphy

Description

@colinmurphy

Overview

We need to add basic configuration functionality and admin UI for the plugin.

Criteria

We need to build the following:

  1. Plugin core functionality e.g. settings page, tabs, data sanitisation
  2. Functionality for whether we log data or not
  3. Integrate the configuration with logging plugin and add tests to ensure it works.
  4. Update examples on how to extend the admin functionality

Note

We can add other configuration tabs for data management and security when developing those features.

Data Logging Functionality Configuration

  • Enabled (Yes/No)
  • IP restrictions
  • Rate limiting and data sampling
  • WPGraphQL filtering (log certain requests)
  • User based logging (log with certain admin capabilities)
  • Performance metrics (log with memory or time threshold above X)
  • HTTP Header Configuration
  • Log point selection (select if you want to log for one, two or three current events that we log for)

Metadata

Metadata

Type

No type

Projects

Status

🏗 In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions