New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

influxdbudp

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

influxdbudp

Influxdb UDP connector following line protocol supported by influx 0.9+

  • 1.0.2
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
51
decreased by-20.31%
Maintainers
1
Weekly downloads
 
Created
Source

#Influxdb UDP Connector This lib follows line protocol.

#Usage

npm install influxdbudp
var send=require("influxdbudp");
var udpSocket=send({
  host:host,
  port:4444,
  tags:"cpu,unit=unit1",
  values:"value=60,severity=\"low\""
});

This will send following text to Influxdb UDP through line protocol:

cpu,unit=unit1 value=60,severity="low"\n

#Params

{
  tags:String // e.g. "cpu" / "cpu,project=myProject,unit=unit1"
  values: String // e.g. 'value=100,isServer=fales,note="server not available"'
  timestamp: String // optional epoch nanoseconds / microseconds / miliseconds .e.g. "123456789s"
  host: String // ipaddress or hostname where Influxdb is
  port: Number // udp port of influxdb,
  cached: boolean // optional cache the socket. default false;
  close: boolean // close the socket after sending the message. default true;
}

#Test

npm test

FAQs

Package last updated on 18 Apr 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc