Skip to content
This repository was archived by the owner on Sep 19, 2024. It is now read-only.
This repository was archived by the owner on Sep 19, 2024. It is now read-only.

Data not saved in graphite #74

Description

@birladeanuadrian

When I try to use gauge for a graphite server, I don't get any errors, but the data is not saved.I use graphite:latest from docker, node-statsd version 0.1.1. Code snippet:

graphite = new StatsD({
    host: GRAFANA_SERVER,
    port: GRAFANA_PORT,
    mock: false
});

graphite.socket.on('error', function(error) {
    return console.error('Error', error);
});

graphite.gauge('gauge.two', 2, undefined, undefined, function(err, bytesSent) {
    console.log('Finished gauge', err, bytesSent); // bytesSent=13
    graphite.close();
});

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions