Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MetricObject

Hierarchy

  • MetricObject

Index

Properties

interval

interval: number = -1

分桶统计时间间隔,目前针对Meter/BaseTimer/Compass有效,-1表示此项无效

metric

metric: string

metricLevel

metricLevel: MetricLevel

metricType

metricType: CollectMetricType

tags

tags: object

Type declaration

timestamp

timestamp: number

value

value: any

Static MetricType

MetricType: CollectMetricType = CollectMetricType

Methods

getMetric

  • getMetric(): string

toJSON

  • toJSON(): object

toString

  • toString(): string

Static named