zap-cdk
    Preparing search index...

    Interface IMonitorTest

    Interface for monitor tests.

    Example YAML representation:

    - name: 'test one'                      # Name of the test, optional
    type: monitor # Specifies that the test is of type 'monitor'
    statistic: 'stats.addon.something' # Name of an integer / long statistic
    site: # Name of the site for site specific tests, supports vars
    threshold: 10 # The threshold at which a statistic fails
    onFail: 'info' # String: One of 'warn', 'error', 'info', mandatory

    IMonitorTest

    interface IMonitorTest {
        name?: string;
        onFail: OnFailType;
        site?: string;
        statistic: string;
        type: "monitor";
    }
    Index

    Properties

    name?: string

    Name of the test, optional.

    onFail: OnFailType

    Action to take on failure, mandatory.

    site?: string

    Name of the site for site specific tests, supports vars.

    statistic: string

    Name of an integer / long statistic.

    type: "monitor"

    Specifies that the test is of type 'monitor'.