Skip to content
This repository has been archived by the owner on Sep 13, 2022. It is now read-only.

Commit

Permalink
Fix typo and correct parameter types in the comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Yuri Shkuro committed Feb 8, 2017
1 parent 884c9df commit c58eef9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions src/tracer.js
Expand Up @@ -46,14 +46,14 @@ export default class Tracer {
_metrics: any;

/**
* @param {string} [serviceName] - name of the current service or application.
* @param {object} [reporter] - reporter used to submit finished spans to Jaeger backend.
* @param {object} [sampler] - sampler used to decide if trace should be samlped when starting a new one.
* @param {object} [options] - the fields to set on the newly created span.
* @param {object} [options.tags] - set of key-value pairs which will be set
* @param {String} [serviceName] - name of the current service or application.
* @param {Object} [reporter] - reporter used to submit finished spans to Jaeger backend.
* @param {Object} [sampler] - sampler used to decide if trace should be sampled when starting a new one.
* @param {Object} [options] - the fields to set on the newly created span.
* @param {Object} [options.tags] - set of key-value pairs which will be set
* as process-level tags on the Tracer itself.
* @param {object} [options.metrics] - instance of the Metrics class from ./metrics/metrics.js.
* @param {object} [options.logger] - a logger matching NullLogger API from ./logger.js.
* @param {Object} [options.metrics] - instance of the Metrics class from ./metrics/metrics.js.
* @param {Object} [options.logger] - a logger matching NullLogger API from ./logger.js.
*/
constructor(serviceName: string,
reporter: Reporter = new NoopReporter(),
Expand Down

0 comments on commit c58eef9

Please sign in to comment.