The README carries the cardinality rule up front: label on route, which the route table bounds, never on name, which nothing bounds. That is the mistake issue #65 was filed for and the one a collector makes by default. Signed-off-by: Diego Resendez <diego.resendez@zero-oneit.com>
11 lines
409 B
Markdown
11 lines
409 B
Markdown
# Changelog
|
|
|
|
## [Unreleased]
|
|
|
|
### Added
|
|
|
|
- `metrics({ provides? })`: subscribes to the lifecycle stream and publishes a `Metrics` with
|
|
`render()`. Counts `request:end` as requests and `request:failed` separately, labelled on the
|
|
bounded `route` rather than on the caller-controlled `name`. `prometheus` is a `TransformerFn` for
|
|
serving `render()` from a route the application owns. Closes green-tea#68.
|