Skip to content
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.

Commit

Permalink
nodejs-express: use prom-client (#761)
Browse files Browse the repository at this point in the history
Co-authored-by: Sandy Koh <sandykoh99@gmail.com>
  • Loading branch information
sam-github and skoh7645 authored Apr 22, 2020
1 parent 9dfdcf8 commit 2dac18e
Show file tree
Hide file tree
Showing 8 changed files with 519 additions and 311 deletions.
4 changes: 2 additions & 2 deletions incubator/nodejs-express/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ You can override or enhance the following endpoints by configuring your own heal

Enable powerful monitoring for your distributed application and configure rule-based alerting using Prometheus. This is vital for diagnosing problems and ensuring the reliability of your application.

The [appmetrics-prometheus](https://github.com/CloudNativeJS/appmetrics-prometheus) module will collect a wide range of resource-centric (CPU, memory) and application-centric (HTTP request responsiveness) metrics from your application, and then expose them as multi-dimensional time-series data through an application endpoint for Prometheus to scrape and aggregate.
The [prom-client](https://www.npmjs.com/package/prom-client) module will collect a wide range of resource-centric (CPU, memory) and application-centric (HTTP request responsiveness) metrics from your application, and then expose them as multi-dimensional time-series data through an application endpoint for Prometheus to scrape and aggregate.

This stack also comes with Prometheus metrics, which has been preconfigured to work with your application. You will not be able to override this endpoint:
This stack comes with prom-client preconfigured to work with your application. You will not be able to override this endpoint:

- Metrics endpoint: http://localhost:3000/metrics

Expand Down
Loading

0 comments on commit 2dac18e

Please sign in to comment.