wpengine / wpengine/hwptoolkit

feat: Add overall time to logging plugin

Open
#443 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

topic:logging
Dominant language
PHP
Stars
47
Forks
3
Avg merge
1m
Merged PRs (30d)
19

Description

Overview

As per feedback on the community call, it would be nice if the logging plugin had the overall time of the request lifecycle in the context data.

Some research is required to figure out the best way of doing this and considering how we update all records with this data or is it just the event when the response is returned.

Contributor guide

Open the contributing guide

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 by tracing the logging plugin's request lifecycle and how it updates context data. Compare recording overall time on every record with recording it only when the response returns, then define and verify the chosen behavior for exposing this timing in the context data.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
observability-sre
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.