Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

Accessors

  • get date(): Date
  • Gets the datetime data as a Date object.

    Note

    The object created here will be relative to local time. If the timezone at the time of recording is different, the timezone offset will be applied before transforming to an object.

    Returns Date

    A date object.

  • get dateISOString(): string
  • get timezone(): number

Methods

  • payload(): string
  • Gets this metrics value in its payload representation.

    For this metric, the payload is the timezone aware ISO date string truncated to the time unit given at the time of recording.

    Note

    The timezone of the final string is the timezone at the time of recording.

    Returns string

    The metric value.

Generated using TypeDoc