Add date-related tracing headers

Created on 16 November 2017, about 7 years ago
Updated 9 October 2024, about 2 months ago

While doing email logging and archival for our platform, I've come up with a feature suggestion: To add optional date-related tracking headers:

  • X-***-Enqueued-Date with the datetime when the mail has been generated or put in the queue.
  • X-***-Sent-Date with the datetime the message is processed by a worker process.

This would add traceability to mesaging times and throughtputs. Dates should be RFC-2822 compliant (There is support to RFC-2822 format in PHP).

The '****' in the header names prefixing should be something appropiate, such as 'Drupal-Queue-Mail' or such. Th 'X-' prefix is strongly recommended for custom headers as per RFCs.

Feature request
Status

Closed: outdated

Version

1.0

Component

Code

Created by

🇪🇸Spain amontero Barcelona

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024