Helper for tracking accesses of Lua functions.
More...
|
| __construct (StatsdDataFactoryInterface $statsdDataFactory, $siteId, $siteGroup, $trackLuaFunctionCallsPerSiteGroup, $trackLuaFunctionCallsPerWiki) |
|
| incrementKey ( $key) |
| Prefix and increment the given statsd key.
|
|
Helper for tracking accesses of Lua functions.
- Copyright
- GPL-2.0-or-later
- Author
- Marius Hoch
◆ __construct()
Wikibase\Client\DataAccess\Scribunto\LuaFunctionCallTracker::__construct |
( |
StatsdDataFactoryInterface |
$statsdDataFactory, |
|
|
|
$siteId, |
|
|
|
$siteGroup, |
|
|
|
$trackLuaFunctionCallsPerSiteGroup, |
|
|
|
$trackLuaFunctionCallsPerWiki |
|
) |
| |
- Parameters
-
StatsdDataFactoryInterface | $statsdDataFactory | |
string | $siteId | |
string | $siteGroup | |
bool | $trackLuaFunctionCallsPerSiteGroup | |
bool | $trackLuaFunctionCallsPerWiki | |
◆ getPrefixedKeys()
Wikibase\Client\DataAccess\Scribunto\LuaFunctionCallTracker::getPrefixedKeys |
( |
|
$key | ) |
|
|
private |
- Parameters
-
- Returns
- string[]
◆ incrementKey()
Wikibase\Client\DataAccess\Scribunto\LuaFunctionCallTracker::incrementKey |
( |
|
$key | ) |
|
Prefix and increment the given statsd key.
- Parameters
-
◆ $siteGroup
Wikibase\Client\DataAccess\Scribunto\LuaFunctionCallTracker::$siteGroup |
|
private |
◆ $siteId
Wikibase\Client\DataAccess\Scribunto\LuaFunctionCallTracker::$siteId |
|
private |
◆ $statsdDataFactory
Wikibase\Client\DataAccess\Scribunto\LuaFunctionCallTracker::$statsdDataFactory |
|
private |
◆ $trackLuaFunctionCallsPerSiteGroup
Wikibase\Client\DataAccess\Scribunto\LuaFunctionCallTracker::$trackLuaFunctionCallsPerSiteGroup |
|
private |
◆ $trackLuaFunctionCallsPerWiki
Wikibase\Client\DataAccess\Scribunto\LuaFunctionCallTracker::$trackLuaFunctionCallsPerWiki |
|
private |
The documentation for this class was generated from the following file: