15 lines
297 B
TypeScript
15 lines
297 B
TypeScript
/**
|
|
* OpenTelemetry event egress is disabled in this build.
|
|
*/
|
|
|
|
export function redactIfDisabled(_content: string): string {
|
|
return '<REDACTED>'
|
|
}
|
|
|
|
export async function logOTelEvent(
|
|
_eventName: string,
|
|
_metadata: { [key: string]: string | undefined } = {},
|
|
): Promise<void> {
|
|
return
|
|
}
|