Missing application
property in OgmaServiceMeta
type
#1377
-
According to However, in Nest, it won’t suggest to add this property. When I provide it, Nest nor TypeScript won’t throw an error though. I think the issue lays in export interface OgmaServiceMeta {
context?: string;
correlationId?: string;
[key: string]: unknown;
} I understand that Anyway, what is |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Huh, sure enough. Wonder if I did that cause I never thought that application would be changed within a Nest application. Either way, it can be added.
|
Beta Was this translation helpful? Give feedback.
Huh, sure enough. Wonder if I did that cause I never thought that application would be changed within a Nest application. Either way, it can be added.
correlationId
is a way to correlate the logs to each other, also commonly called arequestId
. All the logs with the same correlation id mean that those logs were made as a part of the same request/command/instruction/etc. Most of the time used in logregation services like LogRocket or DataDog to give extra metrics about your logs as well.