Skip to content

Conversation

@jkyberneees
Copy link
Contributor

No description provided.

@jkyberneees jkyberneees requested a review from Copilot June 15, 2025 08:39
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds Prometheus middleware support for metrics collection, enabling integrated monitoring within the application.

  • Adds the "prom-client" dependency and reorders dependency entries in package.json.
  • Exports Prometheus middleware and integration functions in lib/middleware/index.js.
  • Updates documentation in README.md and provides a functional demo in demos/prometheus.ts.

Reviewed Changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

File Description
package.json Adds "prom-client" and reorders dependencies.
lib/middleware/index.js Exports Prometheus middleware and integration functions.
lib/middleware/README.md Documents usage, configuration, and advanced options.
demos/prometheus.ts Provides a demo showcasing the new Prometheus integration.

@jkyberneees jkyberneees merged commit 72f351b into main Jun 15, 2025
5 checks passed
@jkyberneees jkyberneees deleted the adding-prometheus-middleware branch June 15, 2025 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants