Skip to main content
Module

x/statsd/mod.ts>UnixConfig

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

Information needed to connect to a UDS (Unix Domain Socket) StatsD server.

Properties

proto: "unix"
path: string

The path to the socket file.

optional
maxQueue: number

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