Class ProfilerStatMetadata

Basic metadata for profiler stat.

Constructors

Properties

_group: string
_name: string
_options: EnumValue<ProfilerStatOption, number>
_unit: string

Accessors

  • get group(): string
  • Name of a group used for joint display of stat with other stats. All stats with the same group name should use the same unit and it should be meaningful to add their values together. An example is "Successful HTTP requests" and "Failed HTTP requests"

    • we can display them together in one graph and adding them together gives us the total amount of HTTP requests.

    Returns string

  • set group(value): void
  • Parameters

    • value: string

    Returns void

  • get name(): string
  • User-friendly name of the stat.

    Returns string

  • set name(value): void
  • Parameters

    • value: string

    Returns void

  • get unit(): string
  • Unit of measurement that will be displayed somewhere near the data to further characterize the meaning of the data.

    Returns string

  • set unit(value): void
  • Parameters

    • value: string

    Returns void

Methods