-
Notifications
You must be signed in to change notification settings - Fork 1
MetricsService
github-actions[bot] edited this page Jun 27, 2023
·
12 revisions
Creates arrays for prometheus.
Name | Description |
---|---|
__construct | The constructor sets al needed variables. |
getAll | Search for a given term. |
getErrors | Get metrics concerning errors. |
getObjects | Get metrics concerning objects. |
getPlugins | Get metrics concerning plugins. |
Description
public __construct (\ComposerService $composerService, \EntityManagerInterface $entityManager, \ParameterBagInterface $parameters, \Client|null $client)
The constructor sets al needed variables.
Parameters
-
(\ComposerService) $composerService
: The Composer service -
(\EntityManagerInterface) $entityManager
: The entity manager -
(\ParameterBagInterface) $parameters
: The Parameter bag -
(\Client|null) $client
: The mongodb client
Return Values
void
Description
public getAll (void)
Search for a given term.
See https://getcomposer.org/doc/03-cli.md#show-info for a full list of al options and there function
Parameters
This function has no parameters.
Return Values
array
Description
public getErrors (void)
Get metrics concerning errors.
Parameters
This function has no parameters.
Return Values
array
Description
public getObjects (void)
Get metrics concerning objects.
Parameters
This function has no parameters.
Return Values
array
Description
public getPlugins (void)
Get metrics concerning plugins.
Parameters
This function has no parameters.
Return Values
array