Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Google
Cloud
Logging
LoggingClient
metric
Google\Cloud\Logging\LoggingClient::metric PHP Method
LoggingClient Class Documentation
Datei anzeigen
Open project: GoogleCloudPlatform/gcloud-php
metric()
public
method
Example:
$metric = $logging->metric('my-metric'); echo $metric->name();
public
metric
(
string
$name
) :
Metric
$name
string
The name of the metric.
return
Metric
public function metric($name) { return new Metric($this->connection, $name, $this->projectId); }
LoggingClient
__construct
createMetric
createSink
entries
logger
metric
metrics
psrLogger
sink
sinks