monitoring.v1beta1.monitoringServiceLevelObjective
Index
fn new(name)
obj metadata
fn withAnnotations(annotations)
fn withAnnotationsMixin(annotations)
fn withClusterName(clusterName)
fn withCreationTimestamp(creationTimestamp)
fn withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
fn withDeletionTimestamp(deletionTimestamp)
fn withFinalizers(finalizers)
fn withFinalizersMixin(finalizers)
fn withGenerateName(generateName)
fn withGeneration(generation)
fn withLabels(labels)
fn withLabelsMixin(labels)
fn withName(name)
fn withNamespace(namespace)
fn withOwnerReferences(ownerReferences)
fn withOwnerReferencesMixin(ownerReferences)
fn withResourceVersion(resourceVersion)
fn withSelfLink(selfLink)
fn withUid(uid)
obj spec
fn withCalendarPeriod(calendarPeriod)
fn withDisplayName(displayName)
fn withGoal(goal)
fn withResourceID(resourceID)
fn withRollingPeriod(rollingPeriod)
obj spec.projectRef
obj spec.serviceLevelIndicator
obj spec.serviceLevelIndicator.basicSli
fn withAvailability(availability)
fn withAvailabilityMixin(availability)
fn withLocation(location)
fn withLocationMixin(location)
fn withMethod(method)
fn withMethodMixin(method)
fn withOperationAvailability(operationAvailability)
fn withOperationAvailabilityMixin(operationAvailability)
fn withVersion(version)
fn withVersionMixin(version)
obj spec.serviceLevelIndicator.basicSli.latency
obj spec.serviceLevelIndicator.basicSli.operationLatency
obj spec.serviceLevelIndicator.requestBased
obj spec.serviceLevelIndicator.windowsBased
fn withGoodBadMetricFilter(goodBadMetricFilter)
fn withWindowPeriod(windowPeriod)
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold
fn withThreshold(threshold)
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance
fn withAvailability(availability)
fn withAvailabilityMixin(availability)
fn withLocation(location)
fn withLocationMixin(location)
fn withMethod(method)
fn withMethodMixin(method)
fn withOperationAvailability(operationAvailability)
fn withOperationAvailabilityMixin(operationAvailability)
fn withVersion(version)
fn withVersionMixin(version)
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.latency
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.operationLatency
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.performance
obj spec.serviceLevelIndicator.windowsBased.metricMeanInRange
obj spec.serviceLevelIndicator.windowsBased.metricSumInRange
obj spec.serviceRef
Fields
fn new
new(name)
new returns an instance of MonitoringServiceLevelObjective
obj metadata
"ObjectMeta is metadata that all persisted resources must have, which includes all objects users must create."
fn metadata.withAnnotations
withAnnotations(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
fn metadata.withAnnotationsMixin
withAnnotationsMixin(annotations)
"Annotations is an unstructured key value map stored with a resource that may be set by external tools to store and retrieve arbitrary metadata. They are not queryable and should be preserved when modifying objects. More info: http://kubernetes.io/docs/user-guide/annotations"
Note: This function appends passed data to existing values
fn metadata.withClusterName
withClusterName(clusterName)
"The name of the cluster which the object belongs to. This is used to distinguish resources with same name and namespace in different clusters. This field is not set anywhere right now and apiserver is going to ignore it if set in create or update request."
fn metadata.withCreationTimestamp
withCreationTimestamp(creationTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withDeletionGracePeriodSeconds
withDeletionGracePeriodSeconds(deletionGracePeriodSeconds)
"Number of seconds allowed for this object to gracefully terminate before it will be removed from the system. Only set when deletionTimestamp is also set. May only be shortened. Read-only."
fn metadata.withDeletionTimestamp
withDeletionTimestamp(deletionTimestamp)
"Time is a wrapper around time.Time which supports correct marshaling to YAML and JSON. Wrappers are provided for many of the factory methods that the time package offers."
fn metadata.withFinalizers
withFinalizers(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
fn metadata.withFinalizersMixin
withFinalizersMixin(finalizers)
"Must be empty before the object is deleted from the registry. Each entry is an identifier for the responsible component that will remove the entry from the list. If the deletionTimestamp of the object is non-nil, entries in this list can only be removed. Finalizers may be processed and removed in any order. Order is NOT enforced because it introduces significant risk of stuck finalizers. finalizers is a shared field, any actor with permission can reorder it. If the finalizer list is processed in order, then this can lead to a situation in which the component responsible for the first finalizer in the list is waiting for a signal (field value, external system, or other) produced by a component responsible for a finalizer later in the list, resulting in a deadlock. Without enforced ordering finalizers are free to order amongst themselves and are not vulnerable to ordering changes in the list."
Note: This function appends passed data to existing values
fn metadata.withGenerateName
withGenerateName(generateName)
"GenerateName is an optional prefix, used by the server, to generate a unique name ONLY IF the Name field has not been provided. If this field is used, the name returned to the client will be different than the name passed. This value will also be combined with a unique suffix. The provided value has the same validation rules as the Name field, and may be truncated by the length of the suffix required to make the value unique on the server.\n\nIf this field is specified and the generated name exists, the server will NOT return a 409 - instead, it will either return 201 Created or 500 with Reason ServerTimeout indicating a unique name could not be found in the time allotted, and the client should retry (optionally after the time indicated in the Retry-After header).\n\nApplied only if Name is not specified. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#idempotency"
fn metadata.withGeneration
withGeneration(generation)
"A sequence number representing a specific generation of the desired state. Populated by the system. Read-only."
fn metadata.withLabels
withLabels(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
fn metadata.withLabelsMixin
withLabelsMixin(labels)
"Map of string keys and values that can be used to organize and categorize (scope and select) objects. May match selectors of replication controllers and services. More info: http://kubernetes.io/docs/user-guide/labels"
Note: This function appends passed data to existing values
fn metadata.withName
withName(name)
"Name must be unique within a namespace. Is required when creating resources, although some resources may allow a client to request the generation of an appropriate name automatically. Name is primarily intended for creation idempotence and configuration definition. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/identifiers#names"
fn metadata.withNamespace
withNamespace(namespace)
"Namespace defines the space within which each name must be unique. An empty namespace is equivalent to the \"default\" namespace, but \"default\" is the canonical representation. Not all objects are required to be scoped to a namespace - the value of this field for those objects will be empty.\n\nMust be a DNS_LABEL. Cannot be updated. More info: http://kubernetes.io/docs/user-guide/namespaces"
fn metadata.withOwnerReferences
withOwnerReferences(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
fn metadata.withOwnerReferencesMixin
withOwnerReferencesMixin(ownerReferences)
"List of objects depended by this object. If ALL objects in the list have been deleted, this object will be garbage collected. If this object is managed by a controller, then an entry in this list will point to this controller, with the controller field set to true. There cannot be more than one managing controller."
Note: This function appends passed data to existing values
fn metadata.withResourceVersion
withResourceVersion(resourceVersion)
"An opaque value that represents the internal version of this object that can be used by clients to determine when objects have changed. May be used for optimistic concurrency, change detection, and the watch operation on a resource or set of resources. Clients must treat these values as opaque and passed unmodified back to the server. They may only be valid for a particular resource or set of resources.\n\nPopulated by the system. Read-only. Value must be treated as opaque by clients and . More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#concurrency-control-and-consistency"
fn metadata.withSelfLink
withSelfLink(selfLink)
"SelfLink is a URL representing this object. Populated by the system. Read-only.\n\nDEPRECATED Kubernetes will stop propagating this field in 1.20 release and the field is planned to be removed in 1.21 release."
fn metadata.withUid
withUid(uid)
"UID is the unique in time and space value for this object. It is typically generated by the server on successful creation of a resource and is not allowed to change on PUT operations.\n\nPopulated by the system. Read-only. More info: http://kubernetes.io/docs/user-guide/identifiers#uids"
obj spec
fn spec.withCalendarPeriod
withCalendarPeriod(calendarPeriod)
"A calendar period, semantically \"since the start of the current `\". At this time, only
DAY,
WEEK,
FORTNIGHT, and
MONTH` are supported. Possible values: CALENDAR_PERIOD_UNSPECIFIED, DAY, WEEK, FORTNIGHT, MONTH, QUARTER, HALF, YEAR"
fn spec.withDisplayName
withDisplayName(displayName)
"Name used for UI elements listing this SLO."
fn spec.withGoal
withGoal(goal)
"The fraction of service that must be good in order for this objective to be met. 0 < goal <= 0.999
."
fn spec.withResourceID
withResourceID(resourceID)
"Immutable. Optional. The name of the resource. Used for creation and acquisition. When unset, the value of metadata.name
is used as the default."
fn spec.withRollingPeriod
withRollingPeriod(rollingPeriod)
"A rolling time period, semantically \"in the past ``\". Must be an integer multiple of 1 day no larger than 30 days."
obj spec.projectRef
"The Project that this resource belongs to."
fn spec.projectRef.withExternal
withExternal(external)
"The project for the resource\n\nAllowed value: The Google Cloud resource name of a Project
resource (format: projects/{{name}}
)."
fn spec.projectRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.projectRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"
obj spec.serviceLevelIndicator
"The definition of good service, used to measure and calculate the quality of the Service
's performance with respect to a single aspect of service quality."
obj spec.serviceLevelIndicator.basicSli
"Basic SLI on a well-known service type."
fn spec.serviceLevelIndicator.basicSli.withAvailability
withAvailability(availability)
"Good service is defined to be the count of requests made to this service that return successfully."
fn spec.serviceLevelIndicator.basicSli.withAvailabilityMixin
withAvailabilityMixin(availability)
"Good service is defined to be the count of requests made to this service that return successfully."
Note: This function appends passed data to existing values
fn spec.serviceLevelIndicator.basicSli.withLocation
withLocation(location)
"OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error."
fn spec.serviceLevelIndicator.basicSli.withLocationMixin
withLocationMixin(location)
"OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error."
Note: This function appends passed data to existing values
fn spec.serviceLevelIndicator.basicSli.withMethod
withMethod(method)
"OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error."
fn spec.serviceLevelIndicator.basicSli.withMethodMixin
withMethodMixin(method)
"OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error."
Note: This function appends passed data to existing values
fn spec.serviceLevelIndicator.basicSli.withOperationAvailability
withOperationAvailability(operationAvailability)
"Good service is defined to be the count of operations performed by this service that return successfully"
fn spec.serviceLevelIndicator.basicSli.withOperationAvailabilityMixin
withOperationAvailabilityMixin(operationAvailability)
"Good service is defined to be the count of operations performed by this service that return successfully"
Note: This function appends passed data to existing values
fn spec.serviceLevelIndicator.basicSli.withVersion
withVersion(version)
"OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error."
fn spec.serviceLevelIndicator.basicSli.withVersionMixin
withVersionMixin(version)
"OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error."
Note: This function appends passed data to existing values
obj spec.serviceLevelIndicator.basicSli.latency
"Good service is defined to be the count of requests made to this service that are fast enough with respect to latency.threshold
."
fn spec.serviceLevelIndicator.basicSli.latency.withExperience
withExperience(experience)
"A description of the experience associated with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED, DELIGHTING, SATISFYING, ANNOYING"
fn spec.serviceLevelIndicator.basicSli.latency.withThreshold
withThreshold(threshold)
"Good service is defined to be the count of requests made to this service that return in no more than threshold
."
obj spec.serviceLevelIndicator.basicSli.operationLatency
"Good service is defined to be the count of operations performed by this service that are fast enough with respect to operation_latency.threshold
."
fn spec.serviceLevelIndicator.basicSli.operationLatency.withExperience
withExperience(experience)
"A description of the experience associated with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED, DELIGHTING, SATISFYING, ANNOYING"
fn spec.serviceLevelIndicator.basicSli.operationLatency.withThreshold
withThreshold(threshold)
"Good service is defined to be the count of operations that are completed in no more than threshold
."
obj spec.serviceLevelIndicator.requestBased
"Request-based SLIs"
obj spec.serviceLevelIndicator.requestBased.distributionCut
"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
."
fn spec.serviceLevelIndicator.requestBased.distributionCut.withDistributionFilter
withDistributionFilter(distributionFilter)
"A monitoring filter specifying a TimeSeries
aggregating values. Must have ValueType = DISTRIBUTION
and MetricKind = DELTA
or MetricKind = CUMULATIVE
."
obj spec.serviceLevelIndicator.requestBased.distributionCut.range
"Range of values considered \"good.\" For a one-sided range, set one bound to an infinite value."
fn spec.serviceLevelIndicator.requestBased.distributionCut.range.withMax
withMax(max)
"Range maximum."
fn spec.serviceLevelIndicator.requestBased.distributionCut.range.withMin
withMin(min)
"Range minimum."
obj spec.serviceLevelIndicator.requestBased.goodTotalRatio
"good_total_ratio
is used when the ratio of good_service
to total_service
is computed from two TimeSeries
."
fn spec.serviceLevelIndicator.requestBased.goodTotalRatio.withBadServiceFilter
withBadServiceFilter(badServiceFilter)
"A monitoring filter specifying a TimeSeries
quantifying bad service, either demanded service that was not provided or demanded service that was of inadequate quality. Must have ValueType = DOUBLE
or ValueType = INT64
and must have MetricKind = DELTA
or MetricKind = CUMULATIVE
."
fn spec.serviceLevelIndicator.requestBased.goodTotalRatio.withGoodServiceFilter
withGoodServiceFilter(goodServiceFilter)
"A monitoring filter specifying a TimeSeries
quantifying good service provided. Must have ValueType = DOUBLE
or ValueType = INT64
and must have MetricKind = DELTA
or MetricKind = CUMULATIVE
."
fn spec.serviceLevelIndicator.requestBased.goodTotalRatio.withTotalServiceFilter
withTotalServiceFilter(totalServiceFilter)
"A monitoring filter specifying a TimeSeries
quantifying total demanded service. Must have ValueType = DOUBLE
or ValueType = INT64
and must have MetricKind = DELTA
or MetricKind = CUMULATIVE
."
obj spec.serviceLevelIndicator.windowsBased
"Windows-based SLIs"
fn spec.serviceLevelIndicator.windowsBased.withGoodBadMetricFilter
withGoodBadMetricFilter(goodBadMetricFilter)
"A monitoring filter specifying a TimeSeries
with ValueType = BOOL
. The window is good if any true
values appear in the window."
fn spec.serviceLevelIndicator.windowsBased.withWindowPeriod
withWindowPeriod(windowPeriod)
"Duration over which window quality is evaluated. Must be an integer fraction of a day and at least 60s
."
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold
"A window is good if its performance
is high enough."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.withThreshold
withThreshold(threshold)
"If window performance >= threshold
, the window is counted as good."
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance
"BasicSli
to evaluate to judge window quality."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.withAvailability
withAvailability(availability)
"Good service is defined to be the count of requests made to this service that return successfully."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.withAvailabilityMixin
withAvailabilityMixin(availability)
"Good service is defined to be the count of requests made to this service that return successfully."
Note: This function appends passed data to existing values
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.withLocation
withLocation(location)
"OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.withLocationMixin
withLocationMixin(location)
"OPTIONAL: The set of locations to which this SLI is relevant. Telemetry from other locations will not be used to calculate performance for this SLI. If omitted, this SLI applies to all locations in which the Service has activity. For service types that don't support breaking down by location, setting this field will result in an error."
Note: This function appends passed data to existing values
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.withMethod
withMethod(method)
"OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.withMethodMixin
withMethodMixin(method)
"OPTIONAL: The set of RPCs to which this SLI is relevant. Telemetry from other methods will not be used to calculate performance for this SLI. If omitted, this SLI applies to all the Service's methods. For service types that don't support breaking down by method, setting this field will result in an error."
Note: This function appends passed data to existing values
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.withOperationAvailability
withOperationAvailability(operationAvailability)
"Good service is defined to be the count of operations performed by this service that return successfully"
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.withOperationAvailabilityMixin
withOperationAvailabilityMixin(operationAvailability)
"Good service is defined to be the count of operations performed by this service that return successfully"
Note: This function appends passed data to existing values
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.withVersion
withVersion(version)
"OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.withVersionMixin
withVersionMixin(version)
"OPTIONAL: The set of API versions to which this SLI is relevant. Telemetry from other API versions will not be used to calculate performance for this SLI. If omitted, this SLI applies to all API versions. For service types that don't support breaking down by version, setting this field will result in an error."
Note: This function appends passed data to existing values
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.latency
"Good service is defined to be the count of requests made to this service that are fast enough with respect to latency.threshold
."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.latency.withExperience
withExperience(experience)
"A description of the experience associated with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED, DELIGHTING, SATISFYING, ANNOYING"
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.latency.withThreshold
withThreshold(threshold)
"Good service is defined to be the count of requests made to this service that return in no more than threshold
."
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.operationLatency
"Good service is defined to be the count of operations performed by this service that are fast enough with respect to operation_latency.threshold
."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.operationLatency.withExperience
withExperience(experience)
"A description of the experience associated with failing requests. Possible values: LATENCY_EXPERIENCE_UNSPECIFIED, DELIGHTING, SATISFYING, ANNOYING"
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.basicSliPerformance.operationLatency.withThreshold
withThreshold(threshold)
"Good service is defined to be the count of operations that are completed in no more than threshold
."
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.performance
"RequestBasedSli
to evaluate to judge window quality."
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.performance.distributionCut
"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
."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.performance.distributionCut.withDistributionFilter
withDistributionFilter(distributionFilter)
"A monitoring filter specifying a TimeSeries
aggregating values. Must have ValueType = DISTRIBUTION
and MetricKind = DELTA
or MetricKind = CUMULATIVE
."
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.performance.distributionCut.range
"Range of values considered \"good.\" For a one-sided range, set one bound to an infinite value."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.performance.distributionCut.range.withMax
withMax(max)
"Range maximum."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.performance.distributionCut.range.withMin
withMin(min)
"Range minimum."
obj spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.performance.goodTotalRatio
"good_total_ratio
is used when the ratio of good_service
to total_service
is computed from two TimeSeries
."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.performance.goodTotalRatio.withBadServiceFilter
withBadServiceFilter(badServiceFilter)
"A monitoring filter specifying a TimeSeries
quantifying bad service, either demanded service that was not provided or demanded service that was of inadequate quality. Must have ValueType = DOUBLE
or ValueType = INT64
and must have MetricKind = DELTA
or MetricKind = CUMULATIVE
."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.performance.goodTotalRatio.withGoodServiceFilter
withGoodServiceFilter(goodServiceFilter)
"A monitoring filter specifying a TimeSeries
quantifying good service provided. Must have ValueType = DOUBLE
or ValueType = INT64
and must have MetricKind = DELTA
or MetricKind = CUMULATIVE
."
fn spec.serviceLevelIndicator.windowsBased.goodTotalRatioThreshold.performance.goodTotalRatio.withTotalServiceFilter
withTotalServiceFilter(totalServiceFilter)
"A monitoring filter specifying a TimeSeries
quantifying total demanded service. Must have ValueType = DOUBLE
or ValueType = INT64
and must have MetricKind = DELTA
or MetricKind = CUMULATIVE
."
obj spec.serviceLevelIndicator.windowsBased.metricMeanInRange
"A window is good if the metric's value is in a good range, averaged across returned streams."
fn spec.serviceLevelIndicator.windowsBased.metricMeanInRange.withTimeSeries
withTimeSeries(timeSeries)
"A monitoring filter specifying the TimeSeries
to use for evaluating window quality."
obj spec.serviceLevelIndicator.windowsBased.metricMeanInRange.range
"Range of values considered \"good.\" For a one-sided range, set one bound to an infinite value."
fn spec.serviceLevelIndicator.windowsBased.metricMeanInRange.range.withMax
withMax(max)
"Range maximum."
fn spec.serviceLevelIndicator.windowsBased.metricMeanInRange.range.withMin
withMin(min)
"Range minimum."
obj spec.serviceLevelIndicator.windowsBased.metricSumInRange
"A window is good if the metric's value is in a good range, summed across returned streams."
fn spec.serviceLevelIndicator.windowsBased.metricSumInRange.withTimeSeries
withTimeSeries(timeSeries)
"A monitoring filter specifying the TimeSeries
to use for evaluating window quality."
obj spec.serviceLevelIndicator.windowsBased.metricSumInRange.range
"Range of values considered \"good.\" For a one-sided range, set one bound to an infinite value."
fn spec.serviceLevelIndicator.windowsBased.metricSumInRange.range.withMax
withMax(max)
"Range maximum."
fn spec.serviceLevelIndicator.windowsBased.metricSumInRange.range.withMin
withMin(min)
"Range minimum."
obj spec.serviceRef
fn spec.serviceRef.withExternal
withExternal(external)
"The service for the resource\n\nAllowed value: The Google Cloud resource name of a MonitoringService
resource (format: projects/{{project}}/services/{{name}}
)."
fn spec.serviceRef.withName
withName(name)
"Name of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/names/#names"
fn spec.serviceRef.withNamespace
withNamespace(namespace)
"Namespace of the referent. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/namespaces/"