Problem/Motivation

Would be great to provide a list of requests available in the Drupal admin panel with request details as separate columns, like duration, memory usage, page cache status, etc.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

murz created an issue. See original summary.

murz’s picture

Status: Active » Fixed

Implemented.

Now that this issue is closed, please review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, please credit people who helped resolve this issue.

murz’s picture

Status: Fixed » Closed (fixed)
rudolfbyker’s picture

When visiting /admin/reports/request-log I see this:

Twig\Error\RuntimeError: An exception has been thrown during the rendering of a template ("Unsupported operand types: Drupal\views\Render\ViewsRenderPipelineMarkup / int") in "__string_template__a32f8a923cc294c2a224e7ab8975ec84" at line 1. in Twig\Template->yield() (line 416 of /drupal/vendor/twig/twig/src/Template.php).

I think it's related to this issue, but still investigating.

rudolfbyker’s picture

The problem is somewhere in the "Override the output of this field with custom text" setting of "Logger: Log value (Memory)" and/or "Logger: Log value (Size)" of the default view config.

rudolfbyker’s picture

Assigned: murz » rudolfbyker
Status: Closed (fixed) » Needs work

Fix incoming :)

rudolfbyker’s picture

I added a functional test for this, and that surfaced a warning from the `logger` module:

Warning: foreach() argument must be of type array|object, null given in /builds/project/request_logger/web/modules/contrib/logger/src/Logger/Logger.php on line 149
rudolfbyker’s picture

The tests pass, but there is a warning emitted by the `logger` module, which is a dependency of this module, which marks the tests as "risky", causing the pipeline to fail. Therefore, this issue is blocked by https://www.drupal.org/project/logger/issues/3553568

rudolfbyker’s picture

Hah, weird situation here:

I'll try this now to see what works...

OK, I found that there is a "Run pipeline" button on the Merge Request page, under the pipelines tab (not on the Pipelines page accessed from the sidebar). It seems to work.

  • rudolfbyker committed d7923067 on 3.x
    [#3551365] fix: Twig rendering error caused by the default view config
    
rudolfbyker’s picture

Status: Needs work » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.