Метод | Описание | |
---|---|---|
Dispose ( ) : void | ||
Send ( string command ) : void | ||
StatsdUDPClient ( string name, int port = 8125, int maxUdpPacketSizeBytes = MetricsConfig.DefaultStatsdMaxUDPPacketSize ) : System |
Creates a new StatsdUDP class for lower level access to statsd.
|
Метод | Описание | |
---|---|---|
Dispose ( bool disposing ) : void |
Метод | Описание | |
---|---|---|
Send ( byte encodedCommand ) : void |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | |
Результат | void |
public StatsdUDPClient ( string name, int port = 8125, int maxUdpPacketSizeBytes = MetricsConfig.DefaultStatsdMaxUDPPacketSize ) : System | ||
name | string | Hostname or IP (v4) address of the statsd server. |
port | int | Port of the statsd server. Default is 8125. |
maxUdpPacketSizeBytes | int | Max packet size, in bytes. This is useful to tweak if your MTU size is different than normal. Set to 0 for no limit. Default is MetricsConfig.DefaultStatsdMaxUDPPacketSize. |
Результат | System |