How to use signalfx - 2 common examples

To help you get started, we’ve selected a few signalfx 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 nylas-mail-lives / nylas-mail / packages / nylas-metrics / index.js View on Github external
startCapturing(name) {
    if (!shouldReport) { return }
    newrelicClient = require('newrelic')
    signalfxClient = new signalfx.Ingest(SIGNALFX_TOKEN, {
      dimensions: {
        name,
        host: os.hostname(),
        pid: pid.toString(),
        env: NODE_ENV,
      },
    })
  },
github nylas-mail-lives / nylas-mail / packages / cloud-core / metrics.js View on Github external
startCapturing(name) {
    if (!shouldReport) { return }
    signalfxClient = new signalfx.Ingest(SIGNALFX_TOKEN, {
      dimensions: {
        name,
        host: os.hostname(),
        pid: pid.toString(),
        env: NODE_ENV,
      },
    })
  },

signalfx

Node.js client library for SignalFx

Apache-2.0
Latest version published 8 months ago

Package Health Score

63 / 100
Full package analysis

Popular signalfx functions