...
Note, there is a lot of intelligent caching here so that repeated hits do not do queries each time.
In v4.10+ Grouper diagnostics will report success based on the schedule of the job. Jobs that run every minute, hour, day, week, month, year makes threshold: 30 min, 150 min, 52 hours, 8 days, 33 days, and 367 days.
Sample configuration
Code Block |
---|
#if ignore tests. Note, in job names, invalid chars need to be replaced with underscore (e.g. colon) #anything in this regex: [^a-zA-Z0-9._-] ws.diagnostic.ignore.memoryTest = false ws.diagnostic.ignore.dbTest_grouper = false ws.diagnostic.ignore.source_jdbc = false ws.diagnostic.ignore.loader_CHANGE_LOG_changeLogTempToChangeLog = false ws.diagnostic.ignore.loader_MAINTENANCE__grouperReport = false #number of minute that can go by without a success before an error is thrown ws.diagnostic.minutesSinceLastSuccess.loader_SQL_GROUP_LIST__aStem_aGroup2 = 60 # list groups which should check the size, in this case, "employee" or "students" in the key name is a variable # {valueType: "group", required: true, regex: "^ws\\.diagnostic\\.checkGroupSize\\.([a-zA-Z0-9._-]+)\\.groupName$"} #ws.diagnostic.checkGroupSize.students.groupName = community:students # min group size of known groups # {valueType: "integer", required: true, regex: "^ws\\.diagnostic\\.checkGroupSize\\.([a-zA-Z0-9._-]+)\\.minSize$"} #ws.diagnostic.checkGroupSize.students.minSize = 18000 #if a change log consumer hasn't had a success but it is running and progress is being made, treat as a success # {valueType: "boolean", required: true} ws.diagnostic.successIfChangeLogConsumerProgress = true # usdu daemon minutes since success 10 days # {valueType: "integer"} ws.diagnostic.minutesSinceLastSuccess.loader_OTHER_JOB_usduDaemon = 14400 # allow diagnostics from these IP ranges, e.g. 1.2.3.4/32 or 2.3.4.5/24, comma separated, leave blank if available from everywhere # {valueType: "string", multiple: true} ws.diagnostic.sourceIpAddresses = # if status details should be sent to the client or just logged # {valueType: "boolean", required: true} ws.diagnostic.sendDetailsInResponse = true |
...