Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Track Deployment Telemetry SLA #1

Open
hforeste opened this issue Feb 22, 2018 · 0 comments
Open

Track Deployment Telemetry SLA #1

hforeste opened this issue Feb 22, 2018 · 0 comments
Assignees

Comments

@hforeste
Copy link
Owner

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)

@hforeste hforeste self-assigned this Feb 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant