Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
class Metric
import { Metric } from "https://deno.land/x/natsws@v1.28.0/src/nats-base-client.ts";

Constructors

new
Metric(name: string, duration: number)

Properties

optional
asyncRequests: boolean
bytes: number
date: number
duration: number
lang: string
optional
max: number
optional
min: number
msgs: number
name: string
payload: number
version: string

Methods

toCsv(): string
toString(): string