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>