-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Defining SLA
Track availability SLA (successful request/total requests)
Total Requests: Coming from the client. For each time client makes a request via ScheduleJob (enqueue to Azure Queue), emit event to Kusto.
Successful Requests: Requests that the runtime completes successfully. By the end of the function code, emit event to Kusto.
ExampleTables
TableName:StampyRequestsTable
Timestamp | RequestId | FlowId | JobType | BuildPath | DeploymentTemplate | Tests | CloudServiceName
TableName:StampyWorkerEvents
Timestamp | RequestId | FlowId | IpAddress | Message
Calculating Deployment SLA
Join(StampyRequestTable Where JobType == 'Deploy')(StampyWorkerEvents) on RequestId
Extend Success = Message == 'CompletedSuccessfully'
Extend Failure = Message != 'CompletedSuccessfully'
Summarize SLA = count(Success)/count(Failure)