@mollitia/prometheus
    TypeScript icon, indicating that this package has built-in type declarations

    0.0.8 • Public • Published

    Mollitia - Prometheus Addon

    Quality Gate Status Coverage Version Downloads License

    The Mollitia Prometheus addon adds metrics on every circuit and module so that you can monitor and analyze your applications.

    Documentation

    Full documentation website can be found here.

    Installation

    With Node or any web UI Framework

    # Install mollitia
    npm install mollitia --save
    # Install the prometheus addon
    npm install @mollitia/prometheus --save
    // Javascript
    const Mollitia = require('mollitia');
    const { PrometheusAddon } = require('@mollitia/prometheus');
    
    Mollitia.use(new PrometheusAddon());
    // ES6 or TypeScript
    import * as Mollitia from 'mollitia';
    import { PrometheusAddon } from '@mollitia/prometheus';
    
    Mollitia.use(new PrometheusAddon());

    With CDN

    <!-- CDN -->
    <script type="text/javascript" src="https://unpkg.com/mollitia"></script>
    <script type="text/javascript" src="https://unpkg.com/@mollitia/prometheus"></script>
    <script>
      window.Mollitia.use(new window.MollitiaPrometheus.PrometheusAddon());
    </script>

    Features

    • Works on Node and on browser (even Internet Explorer 11, wow).
    • Adds metrics for each circuit and module created on your application.
    • Allow labels to be added so that you can monitor easily.

    License

    Install

    npm i @mollitia/prometheus

    DownloadsWeekly Downloads

    28

    Version

    0.0.8

    License

    MIT

    Unpacked Size

    525 kB

    Total Files

    50

    Last publish

    Collaborators

    • cadgerfeast
    • tichon29