Slide 23
Slide 23 text
------------------------------------------
reason_code.proto:
------------------------------------------
enum ReasonCode {
RC00000 = 0[(ext.reason_code) = {
message: [
"A foo error occurred.",
"Please check resources at https://example.com.",
"If it's bar, please proceed”,
“with the standard workaround."
]
}];
RC00001 = 1[(ext.reason_code) = {
message: [
"5xx errors returned from foo's system.",
"Their system might be experiencing issues.",
"Check logs and if it's not temporary,”,
"contact the responsible party through PM.",
"foo, Inc.”,
"080-1111-1111"
]
}];
}
23
Single Source of Truth: Proto File
● Runbookͱඥ͚ΔϢχʔΫίʔυ
Message (Runbook)
● Reason code ʹඥ͚ΒΕͨ Runbook ຊମ
Reason Code