@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Provide an "api" context to Multimeter for API events

Summary: Ref T6930. This gives us a better context for API calls -- "api.call.name" instead of always "web.ConduitAPIController".

Test Plan: {F391658}

Reviewers: btrahan

Reviewed By: btrahan

Subscribers: epriestley

Maniphest Tasks: T6930

Differential Revision: https://secure.phabricator.com/D12677

+5
+5
src/applications/conduit/controller/PhabricatorConduitAPIController.php
··· 26 26 $log->setMethod($method); 27 27 $metadata = array(); 28 28 29 + $multimeter = MultimeterControl::getInstance(); 30 + if ($multimeter) { 31 + $multimeter->setEventContext('api.'.$method); 32 + } 33 + 29 34 try { 30 35 31 36 list($metadata, $params) = $this->decodeConduitParams($request, $method);