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

parseMetricFromMetricName() public static method

Parses the metric from the given fully-qualified path which represents a metric resource.
public static parseMetricFromMetricName ( $metricName )
    public static function parseMetricFromMetricName($metricName)
    {
        return self::getMetricNameTemplate()->match($metricName)['metric'];
    }