/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import { ITelemetryContextProperties } from "@fluidframework/server-services-telemetry"; import type { RequestHandler, Request, Response } from "express"; /** * TelemetryContext helper that checks HTTP request and response for {@link TelemetryContextHeaderName} header * and returns global telemetry context properties with those request context properties included if they exist. * @internal */ export declare function getTelemetryContextPropertiesWithHttpInfo(req: Request, res: Response): Partial; /** * Express.js Middleware that binds the global telemetry context to the request for its lifetime. * * Specific telemetry context properties will be set in the response headers. * - {@link CorrelationIdHeaderName}: correlationId * * Requests from the Fluid client may not include a correlationId, so one is generated when unavailable. * @internal */ export declare const bindTelemetryContext: (serviceName: string) => RequestHandler; //# sourceMappingURL=telemetryContext.d.ts.map