The Mollitia
Prometheus addon adds metrics on every circuit and module so that you can monitor and analyze your applications.
Full documentation website can be found here.
# 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());
<!-- 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>
- 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.
- MIT license
- Copyright 2021 © Genesys.