Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/zipkin-instrumentation-express/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ import {Tracer} from 'zipkin';
* Note that if the next middleware makes async calls, it should either
* store the span id manually or use a CLSContext so that the annotations
* go to the correct spans
*
* @param {Object} options
* @property {Tracer} options.tracer
* @property {number} options.port
*/
export declare function expressMiddleware(
options: {tracer: Tracer, port?: number}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function formatRequestUrl(req) {
/**
* @typedef {Object} MiddlewareOptions
* @property {Object} tracer
* @property {string} serviceName
* @property {string} serviceName @deprecated use the localEndpoint in Tracer instead
* @property {number} port
*/

Expand Down