...

Text file src/github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets/monitoring_v1beta1_monitoringservicelevelobjective.yaml

Documentation: github.com/GoogleCloudPlatform/k8s-config-connector/config/cloudcodesnippets

     1label: Config Connector MonitoringServiceLevelObjective
     2markdownDescription: Creates yaml for a MonitoringServiceLevelObjective resource
     3insertText: |
     4  apiVersion: monitoring.cnrm.cloud.google.com/v1beta1
     5  kind: MonitoringServiceLevelObjective
     6  metadata:
     7    labels:
     8      \${1:test1}: \${2:value1}
     9    name: \${3:monitoringservicelevelobjective-name}
    10  spec:
    11    projectRef:
    12      external: \${4:projects/[PROJECT_ID?]}
    13    serviceRef:
    14      external: \${5:monitoringservicelevelobjective-dep-windowbasedgtrdistributioncut}
    15    displayName: \${6:A window based good total ratio distribution cut filter}
    16    goal: \${7:0.9}
    17    calendarPeriod: \${8:DAY}
    18    serviceLevelIndicator:
    19      windowsBased:
    20        windowPeriod: \${9:60s}
    21        goodTotalRatioThreshold:
    22          threshold: \${10:0.9}
    23          performance:
    24            distributionCut:
    25              distributionFilter: \${11:metric.type="serviceruntime.googleapis.com/api/request_latencies"
    26                resource.type="api"  }
    27              range:
    28                min: \${12:50}
    29                max: \${13:100}

View as plain text