Reference documentation and code samples for the Stackdriver Monitoring V3 Client class RequestBasedSli.
Service Level Indicators for which atomic units of service are counted directly.
Generated from protobuf message google.monitoring.v3.RequestBasedSli
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ good_total_ratio |
Google\Cloud\Monitoring\V3\TimeSeriesRatio
|
↳ distribution_cut |
Google\Cloud\Monitoring\V3\DistributionCut
|
getGoodTotalRatio
good_total_ratio
is used when the ratio of good_service
to
total_service
is computed from two TimeSeries
.
Generated from protobuf field .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
Returns | |
---|---|
Type | Description |
Google\Cloud\Monitoring\V3\TimeSeriesRatio|null |
hasGoodTotalRatio
setGoodTotalRatio
good_total_ratio
is used when the ratio of good_service
to
total_service
is computed from two TimeSeries
.
Generated from protobuf field .google.monitoring.v3.TimeSeriesRatio good_total_ratio = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Monitoring\V3\TimeSeriesRatio
|
Returns | |
---|---|
Type | Description |
$this |
getDistributionCut
distribution_cut
is used when good_service
is a count of values
aggregated in a Distribution
that fall into a good range. The
total_service
is the total count of all values aggregated in the
Distribution
.
Generated from protobuf field .google.monitoring.v3.DistributionCut distribution_cut = 3;
Returns | |
---|---|
Type | Description |
Google\Cloud\Monitoring\V3\DistributionCut|null |
hasDistributionCut
setDistributionCut
distribution_cut
is used when good_service
is a count of values
aggregated in a Distribution
that fall into a good range. The
total_service
is the total count of all values aggregated in the
Distribution
.
Generated from protobuf field .google.monitoring.v3.DistributionCut distribution_cut = 3;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Monitoring\V3\DistributionCut
|
Returns | |
---|---|
Type | Description |
$this |
getMethod
Returns | |
---|---|
Type | Description |
string |