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

Description

Service level objective (SLO) information.

Type declaration

  • description: string

    Description

    Describes what the SLO does and measures.

  • Optional implementation?: string

    Description

    Optional implementation query.

    Example

    (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

    Description

    Compliance period in days.

  • target: string

    Description

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

    Example

    99.9%

    Example

    p95

    Example

    350ms

  • type: SloType

    Description

    What type of SLO is this?

Generated using TypeDoc