pub struct IncidentRecord {Show 19 fields
pub id: String,
pub fingerprint: String,
pub kind: String,
pub source_file: String,
pub route_pattern: Option<String>,
pub status_code: Option<i64>,
pub error_message: String,
pub detail: Option<String>,
pub context_json: String,
pub git_sha: Option<String>,
pub occurrences: i64,
pub status: String,
pub resolved_in_sha: Option<String>,
pub assignee: Option<String>,
pub external_issue_key: Option<String>,
pub external_issue_url: Option<String>,
pub recent_occurrences_json: String,
pub first_seen_at: String,
pub last_seen_at: String,
}Expand description
Persisted runtime incident row stored in slabs_incidents.
Fields§
§id: StringPrefixed incident identifier (inc_<ulid>).
fingerprint: StringDeterministic SHA-256 deduplication fingerprint.
kind: StringIncident category (for example "panic", "http_5xx", "slow_request", "job_dead", "slow_job", or "client_error").
source_file: StringSource file associated with the incident (for example "slabs/rooms/send_message.rs", "jobs/send_email.rs", or "browser").
route_pattern: Option<String>Optional matched HTTP route pattern or job/browser path.
status_code: Option<i64>Optional HTTP status code associated with the incident.
error_message: StringTruncated error summary (at most 1024 UTF-8 bytes).
detail: Option<String>Optional extended diagnostic detail (at most 4096 UTF-8 bytes).
context_json: StringJSON-serialized redacted diagnostic context.
git_sha: Option<String>Optional Git commit SHA active when the incident was last observed.
occurrences: i64Number of times this fingerprinted incident has occurred.
status: StringLifecycle state ("open", "in_progress", "resolved", or "ignored").
resolved_in_sha: Option<String>Optional Git commit SHA recorded when the incident was resolved.
assignee: Option<String>Optional assignee name (agent or engineer) currently investigating the incident.
external_issue_key: Option<String>Optional external tracker issue key (for example "ENG-412" or "#42").
external_issue_url: Option<String>Optional external tracker issue URL (http:// or https://).
recent_occurrences_json: StringJSON array of the last 10 occurrence snapshots (seen_at, git_sha, request_id, latency_ms).
first_seen_at: StringFixed-width UTC RFC 3339 timestamp when the incident was first recorded.
last_seen_at: StringFixed-width UTC RFC 3339 timestamp when the incident was most recently updated.
Trait Implementations§
Source§impl Clone for IncidentRecord
impl Clone for IncidentRecord
Source§fn clone(&self) -> IncidentRecord
fn clone(&self) -> IncidentRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for IncidentRecord
impl Debug for IncidentRecord
Source§impl<'de> Deserialize<'de> for IncidentRecord
impl<'de> Deserialize<'de> for IncidentRecord
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<IncidentRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<IncidentRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Source§impl<'a, R> FromRow<'a, R> for IncidentRecordwhere
R: Row,
&'a str: ColumnIndex<R>,
String: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
Option<String>: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
Option<i64>: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
i64: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
impl<'a, R> FromRow<'a, R> for IncidentRecordwhere
R: Row,
&'a str: ColumnIndex<R>,
String: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
Option<String>: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
Option<i64>: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
i64: Decode<'a, <R as Row>::Database> + Type<<R as Row>::Database>,
Source§impl Serialize for IncidentRecord
impl Serialize for IncidentRecord
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Auto Trait Implementations§
impl Forget for IncidentRecord
impl Freeze for IncidentRecord
impl Move for IncidentRecord
impl RefUnwindSafe for IncidentRecord
impl Send for IncidentRecordwhere
RawVecInner: Send,
impl Sync for IncidentRecordwhere
RawVecInner: Sync,
impl Unpin for IncidentRecord
impl UnsafeUnpin for IncidentRecord
impl UnwindSafe for IncidentRecordwhere
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> ServiceExt for T
impl<T> ServiceExt for T
Source§fn compression(self) -> Compression<Self>where
Self: Sized,
fn compression(self) -> Compression<Self>where
Self: Sized,
Source§fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
fn trace_for_http(self) -> Trace<Self, SharedClassifier<ServerErrorsAsFailures>>where
Self: Sized,
Source§fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
fn trace_for_grpc(self) -> Trace<Self, SharedClassifier<GrpcErrorsAsFailures>>where
Self: Sized,
Source§fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
fn follow_redirects(self) -> FollowRedirect<Self>where
Self: Sized,
Source§fn override_request_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
fn override_request_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
Source§fn append_request_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
fn append_request_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
Source§fn insert_request_header_if_not_present<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
fn insert_request_header_if_not_present<M>(
self,
header_name: HeaderName,
make: M,
) -> SetRequestHeader<Self, M>where
Self: Sized,
Source§fn override_response_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
fn override_response_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
Source§fn append_response_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
fn append_response_header<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
Source§fn insert_response_header_if_not_present<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
fn insert_response_header_if_not_present<M>(
self,
header_name: HeaderName,
make: M,
) -> SetResponseHeader<Self, M>where
Self: Sized,
Source§fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_request_id<M>(
self,
header_name: HeaderName,
make_request_id: M,
) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
Source§fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
fn set_x_request_id<M>(self, make_request_id: M) -> SetRequestId<Self, M>where
Self: Sized,
M: MakeRequestId,
x-request-id as the header name. Read moreSource§fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_request_id(
self,
header_name: HeaderName,
) -> PropagateRequestId<Self>where
Self: Sized,
Source§fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
fn propagate_x_request_id(self) -> PropagateRequestId<Self>where
Self: Sized,
x-request-id as the header name. Read moreSource§fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
fn request_body_limit(self, limit: usize) -> RequestBodyLimit<Self>where
Self: Sized,
413 Payload Too Large responses. Read more