express-gateway-prometheus-metrics-example

An example plugin to expose custom prometheus metrics on an endpoint

Usage no npm install needed!

<script type="module">
  import expressGatewayPrometheusMetricsExample from 'https://cdn.skypack.dev/express-gateway-prometheus-metrics-example';
</script>

README

express-gateway-prometheus-metrics-example

An example plugin to expose custom prometheus metrics on an endpoint

This is a sample plugin for Express Gateway, collecting data from all the responses emitted by the Gateway and then exposed as an admin endpoint in the Prometheus format.