How to use the statsd.uncaught.exception function in statsd

To help you get started, we’ve selected a few statsd examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github uber / uncaught-exception / uncaught / memory-reporter.js View on Github external
function reportPostStatsd(handler) {
    var lines = handler.backupLog.lines;

    handler.stateMachine.addTransition(
        new structures.UncaughtExceptionPostStatsdState({
            currentState: handler.currentState,
            statsdError: handler.statsdAsyncError,
            backupFileUncaughtErrorLine: lines['statsd.uncaught.exception'],
            backupFileStatsdErrorLine: lines['statsd.failure']
        })
    );
};

statsd

Network daemon for the collection and aggregation of realtime application metrics

MIT
Latest version published 4 years ago

Package Health Score

65 / 100
Full package analysis