Module middleware

Module middleware 

Source
Expand description

Custom POEM Middleware for this service.

Modulesยง

catch_panic ๐Ÿ”’
A middleware to catch and log panics.
db_check ๐Ÿ”’
Middleware to verify that there is connection the databases.
metrics_updater ๐Ÿ”’
A middleware module wrapping around prometheus::Registry. It acts as an endpoint to export metrics data to the Prometheus service. For every request to this endpoint, it will call the updater function to update metrics to the latest before sending to the service.
node_info ๐Ÿ”’
Adds an information about the running cat-gateway instance for each response headers.
tracing_mw ๐Ÿ”’
Full Tracing and metrics middleware.