Skip to content

Latest commit

 

History

History
66 lines (47 loc) · 1.77 KB

README.md

File metadata and controls

66 lines (47 loc) · 1.77 KB

[WIP] AppSignal for Moleculer framework

Moleculer Metrics reporter and Tracing exporter for AppSignal.

Install

$ npm i moleculer-appsignal

Please note, AppSignal's Agent works only on Linux OS.

Usage

You should set your AppSignal API key. Use the APPSIGNAL_PUSH_API_KEY environment variable or set the apiKey in reporter options under appSignal property.

Metrics

// moleculer.config.js
const { AppSignalMetricReporter } = require("moleculer-appsignal");

module.exports = {
    nodeID: "demo",

    metrics: {
        enabled: true,
        reporter: new AppSignalMetricReporter({
            // Common reporter options. More info: https://moleculer.services/docs/0.14/metrics.html#Metrics-Reporters
            appSignal: {
                // AppSignal options. More info: https://docs.appsignal.com/nodejs/configuration
            }
        })
    }
};

Dashboards

Main common dashboard

Download the dashboard

Dashboard image

Tracing

WIP

Test

$ npm test

In development with watching

$ npm run ci

Contribution

Please send pull requests improving the usage and fixing bugs, improving documentation and providing better examples, or providing some testing, because these things are important.

License

The project is available under the MIT license.

Contact

Copyright (c) 2020 MoleculerJS

@MoleculerJS @MoleculerJS