(entry: LogEntry): ReadonlyArray<string>Decode lineage segment keys from a captured entry's annotations.
Reads annotation key LogAnnotationKeys.lineage only (JSON array of Tag.key segments).
gettersLogAnnotationKeys.lineage
Source src/LogEntry.ts:1432 lines
export const const lineage: (
entry: LogEntry
) => ReadonlyArray<string>
Decode lineage segment keys from a captured entry's annotations.
Reads annotation key
LogAnnotationKeys.lineage
only (JSON array of Tag.key segments).
lineage = (entry: LogEntry(parameter) entry: {
date: string;
level: LogLevel;
message: string;
cause: string;
annotations: Readonly<Record<string, string>>;
spans: ReadonlyArray<string>;
}
entry: LogEntry): interface ReadonlyArray<T>ReadonlyArray<string> =>
const parseLineageJson: (
raw: string | undefined
) => ReadonlyArray<string>
parseLineageJson(entry: LogEntry(parameter) entry: {
date: string;
level: LogLevel;
message: string;
cause: string;
annotations: Readonly<Record<string, string>>;
spans: ReadonlyArray<string>;
}
entry.LogEntry.annotations: Readonly<Record<string, string>>annotations[import LogAnnotationKeysLogAnnotationKeys.lineage]);
Referenced by 3 symbols