function Schedule::getPeriodSec
Describes the collection period for each metric in seconds. A period of 0 means to not export.
Generated from protobuf field <code>int32 period_sec = 3;</code>
Return value
int
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ Experimental/ MetricConfigResponse/ Schedule.php, line 124
Class
- Schedule
- A Schedule is used to apply a particular scheduling configuration to a metric. If a metric name matches a schedule's patterns, then the metric adopts the configuration specified by the schedule.
Namespace
Opentelemetry\Proto\Metrics\Experimental\MetricConfigResponseCode
public function getPeriodSec() {
return $this->period_sec;
}