AlertUpdateConfigurationInputAverageTime
Configuration for AVERAGE_TIME. Average time is used to verify requests times. There are 3 options: - OPTION 1: Can verify average time traffic of a time frame and compare it with an other time frame. (window and historical window) Must set field window and historical windows higher than 0. - OPTION 2: Can verify average time traffic of a time frame and compare it with the value max_average. Must set window higher than 0. - OPTION 3: Can verify average time traffic of a specific number of requests and compare it with the value max_average. Must set window as 0 and minNumRequests higher than 0.
GraphQL schema definition
- type AlertUpdateConfigurationInputAverageTime {
- Int :
- Int :
- Int :
- Int :
- Int :
- Int :
- Int :
- Boolean :
- Boolean :
- Int :
- Int :
- [EmailInput] :
- [HubStatusInput!] :
- [ErrorCodeInput!] :
- [ErrorTypeInput!] :
- [AlertObjectInput!] :
- [AlertObjectInput!] :
- [AlertGroupInput!] :
- [AlertObjectInput!] :
- [AlertObjectInput!] :
- [AlertObjectInput!] :
- [AlertGroups!] :
- }
Fields
- historicalWindow(Int): The timeframe in minutes
- offset(Int): Time frame in minutes to set the beginning of historicalWindow
- max_average(Int): maximum average time allowed in miliseconds
- periodicity(Int): Frequency of time in minutes in which the alert will be reviewed
- window(Int): The time frame in minutes
- timesToAlert(Int): The number of times the alert must be triggered in order to notify
- timesToRecovery(Int): The number of times the alert must be recovered in order to notify
- noRecoveries(Boolean): To allow recoveries notifications
- stateChangesOnly(Boolean): To allow notifications only if the status change
- minNumberRequests(Int): OPTION 1: defines the minimum number of requests must be in our historical Data before cheking the alert. OPTION 2: defines the minimum number of requests must be in the window time frame to check the alert.
- percentageToAlert(Int): Defines the minimum percentage to consider alert in status ALERTING. OPTION 1: Average time difference between window and historical window will be used to calculate the percentage and compared with the minimum percentage set. OPTION 2: Average time difference between window and max_average value field will be used to calculate the percetage and compared with the minimum percentage set. OPTION 3: Average time difference between Requests and max_average value field will be used to calculate the percetage and compared with the minimum percentage set.
- email([EmailInput]): Email addresses to send notifications
- hubStatus([HubStatusInput!]): Possibility to filter traffic by hubStatus
- errorCode([ErrorCodeInput!]): Possibility to filter traffic by errorCodes
- errorType([ErrorTypeInput!]): Possibility to filter traffic by errorTypes
- supplier([AlertObjectInput!]): Possibility to filter traffic by suppliers
- client([AlertObjectInput!]): Possibility to filter traffic by clients
- group([AlertGroupInput!]): Must filter traffic by group. Only PRODUCT group type is allowed
- access([AlertObjectInput!]): Possibility to filter traffic by accesses
- operation([AlertObjectInput!]): Possibility to filter traffic by operations
- api([AlertObjectInput!]): Possibility to filter traffic by apis
- groupBy([AlertGroups!]): Possibility to group by traffic and calculate its parameters separately