-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into cases_alert_schema
- Loading branch information
Showing
560 changed files
with
3,031 additions
and
11,419 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
51 changes: 51 additions & 0 deletions
51
x-pack/plugins/apm/common/es_fields/__snapshots__/es_fields.test.ts.snap
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
/* | ||
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one | ||
* or more contributor license agreements. Licensed under the Elastic License | ||
* 2.0; you may not use this file except in compliance with the Elastic License | ||
* 2.0. | ||
*/ | ||
|
||
import { Exception } from '../../typings/es_schemas/raw/error_raw'; | ||
import { EventOutcome } from '../../typings/es_schemas/raw/fields/event_outcome'; | ||
import { SpanLink } from '../../typings/es_schemas/raw/fields/span_links'; | ||
import { TimestampUs } from '../../typings/es_schemas/raw/fields/timestamp_us'; | ||
import { AgentName } from '../../typings/es_schemas/ui/fields/agent'; | ||
|
||
export interface WaterfallTransaction { | ||
timestamp: TimestampUs; | ||
trace: { id: string }; | ||
service: { | ||
name: string; | ||
environment?: string; | ||
}; | ||
agent: { name: AgentName }; | ||
event?: { outcome?: EventOutcome }; | ||
parent?: { id?: string }; | ||
processor: { event: 'transaction' }; | ||
transaction: { | ||
duration: { us: number }; | ||
id: string; | ||
name: string; | ||
type: string; | ||
result?: string; | ||
}; | ||
faas?: { | ||
coldstart?: boolean; | ||
}; | ||
span?: { | ||
links?: SpanLink[]; | ||
}; | ||
} | ||
|
||
export interface WaterfallSpan { | ||
timestamp: TimestampUs; | ||
trace: { id: string }; | ||
service: { | ||
name: string; | ||
environment?: string; | ||
}; | ||
agent: { name: AgentName }; | ||
event?: { outcome?: EventOutcome }; | ||
parent?: { id?: string }; | ||
processor: { event: 'span' }; | ||
span: { | ||
id: string; | ||
type: string; | ||
subtype?: string; | ||
action?: string; | ||
name: string; | ||
composite?: { | ||
count: number; | ||
sum: { us: number }; | ||
compression_strategy: string; | ||
}; | ||
sync?: boolean; | ||
duration: { us: number }; | ||
links?: SpanLink[]; | ||
}; | ||
transaction?: { | ||
id: string; | ||
}; | ||
child?: { id: string[] }; | ||
} | ||
|
||
export interface WaterfallError { | ||
timestamp: TimestampUs; | ||
trace?: { id: string }; | ||
transaction?: { id: string }; | ||
parent?: { id: string }; | ||
error: { | ||
id: string; | ||
log?: { | ||
message: string; | ||
}; | ||
exception?: Exception[]; | ||
grouping_key: string; | ||
}; | ||
service: { | ||
name: string; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.