Google\Cloud\Logging\V2\MetricsServiceV2Client::formatMetricName PHP Method

formatMetricName() public static method

Formats a string containing the fully-qualified path to represent a metric resource.
public static formatMetricName ( $project, $metric )
    public static function formatMetricName($project, $metric)
    {
        return self::getMetricNameTemplate()->render(['project' => $project, 'metric' => $metric]);
    }