fix(core): update
This commit is contained in:
parent
8d2a4bff17
commit
97538b2a40
16
ts/index.ts
16
ts/index.ts
@ -54,8 +54,22 @@ export interface ILogContext {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface ILogCorrelation {
|
export interface ILogCorrelation {
|
||||||
|
/**
|
||||||
|
* a unique id for this log
|
||||||
|
*/
|
||||||
id: string;
|
id: string;
|
||||||
type: 'none' | 'group' | 'build' | 'requestchain' | 'job';
|
/**
|
||||||
|
* the type of this log
|
||||||
|
*/
|
||||||
|
type: 'none' | 'service' | 'build' | 'infrastructure' | 'cdn';
|
||||||
|
/**
|
||||||
|
* a series of logs
|
||||||
|
*/
|
||||||
|
group?: string;
|
||||||
|
/**
|
||||||
|
* a log that belongs to a transaction. E.g. a Payment or a request traveling through multiple backend instances
|
||||||
|
*/
|
||||||
|
transaction?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user