collectd is gone
This commit is contained in:
@@ -206,7 +206,7 @@ async function sendToGraphite() {
|
||||
|
||||
return new Promise((resolve) => {
|
||||
const client = new net.Socket();
|
||||
client.connect(constants.GRAPHITE_PORT, '127.0.0.1', () => {
|
||||
client.connect(constants.GRAPHITE_PORT, constants.GRAPHITE_SERVICE_IPv4, () => {
|
||||
const now = Math.floor(Date.now() / 1000);
|
||||
|
||||
for (const metric of graphiteMetrics) {
|
||||
|
||||
Reference in New Issue
Block a user