Skip to main content
Module

x/statsd/mod.ts>TCPConfig

A simple StatsD client for Deno
Latest
interface TCPConfig
import { type TCPConfig } from "https://deno.land/x/statsd@0.5.0/mod.ts";

Information needed to connect to a TCP StatsD server.

Properties

proto: "tcp"
optional
host: string

The server that we'll send our stats to.

optional
port: number

The server port number that we'll connect to.

optional
maxQueue: number

Sent metrics are queued up for a short bit (see: maxDelayMs) before sending, to increase the number of metrics in each TCP frame. However, if the backlog exceeds this number of items, we'll send the items sooner.