Skip to content

Latest commit

 

History

History
50 lines (41 loc) · 827 Bytes

README.md

File metadata and controls

50 lines (41 loc) · 827 Bytes

ut-telemetry

Performance monitoring and logging module

Usage

Just add it to server/index array of modules:

module.exports = (...params) => [{
    main: require.resolve('ut-telemetry'),
    pkg: require.resolve('ut-telemetry/package.json')
}]

Configuration

Logging

{
    "utPortConsole": {
        "server": {
            "address": "0.0.0.0",
            "port": 30001
        },
        "jwt": {
            "key": "..."
        },
        "ssoAuthUrl": "http://host:8004/admin.html#/sso/console/",
        "cookie": {
            "isSecure": false,
            "isHttpOnly": false,
            "clearInvalid": false,
            "strictHeader": false
        }
    }
}

Performance monitoring

{
    "performance": {
        "impl": "...",
        "prometheus" : true
    }
}