SloItem: {
    description: string;
    implementation?: string;
    period: number;
    target: string;
    type: SloType;
}

Type declaration

  • description: string

    Describes what the SLO does and measures.

  • Optionalimplementation?: string

    Optional implementation query.

    `(sum:trace.aws.lambda.hits.by_http_status{http.status_class:2xx AND service IN (demoservice-user,demoservice-greet)} by {service}.as_count() - sum:trace.aws.lambda.errors.by_http_status{http.status_class:5xx AND service IN (demoservice-user,demoservice-greet)} by {service}.as_count()) / (sum:trace.aws.lambda.hits{service IN (demoservice-user,demoservice-greet)} by {service}.as_count())`
    
  • period: number

    Compliance period in days.

  • target: string

    Compliance target, typically described as a percentage, percentile, or duration.

    `99.9%`
    
    `p95`
    
    `350ms`
    
  • type: SloType

    What type of SLO is this?

Service level objective (SLO) information.