collectd is gone

This commit is contained in:
Girish Ramakrishnan
2025-11-24 13:22:56 +01:00
parent 9c9e2c6a62
commit de75ae5b9e
5 changed files with 2 additions and 15 deletions

View File

@@ -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) {