function MetricConfigResponse::getSchedules
A single metric may match multiple schedules. In such cases, the schedule that specifies the smallest period is applied. Note, for optimization purposes, it is recommended to use as few schedules as possible to capture all required metric updates. Where you can be conservative, do take full advantage of the inclusion/exclusion patterns to capture as much of your targeted metrics.
Generated from protobuf field <code>repeated .opentelemetry.proto.metrics.experimental.MetricConfigResponse.Schedule schedules = 2;</code>
Return value
\Google\Protobuf\Internal\RepeatedField
File
-
vendor/
open-telemetry/ gen-otlp-protobuf/ Opentelemetry/ Proto/ Metrics/ Experimental/ MetricConfigResponse.php, line 147
Class
- MetricConfigResponse
- Generated from protobuf message <code>opentelemetry.proto.metrics.experimental.MetricConfigResponse</code>
Namespace
Opentelemetry\Proto\Metrics\ExperimentalCode
public function getSchedules() {
return $this->schedules;
}