Skip to content

Commit

Permalink
chore: change SpanOptions startTime to TimeInput (open-telemetry#1815)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyladan committed Feb 18, 2021
1 parent baad68f commit 3ceb7f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion api/src/trace/SpanOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
* limitations under the License.
*/

import { TimeInput } from '../common/Time';
import { Attributes } from './attributes';
import { Link } from './link';
import { SpanKind } from './span_kind';
Expand All @@ -35,7 +36,7 @@ export interface SpanOptions {
links?: Link[];

/** A manually specified start time for the created `Span` object. */
startTime?: number;
startTime?: TimeInput;

/** The new span should be a root span. (Ignore parent from context). */
root?: boolean;
Expand Down

0 comments on commit 3ceb7f9

Please sign in to comment.