feat(metrics): declare the package and what it refuses to label
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>
This commit is contained in:
5 files changed
+98
-1
No files matched your search
@@ -0,0 +1,25 @@
|
||||
{
|
||||
"name": "@green-tea/metrics",
|
||||
"version": "26.9.0-beta.0",
|
||||
"private": true,
|
||||
"description": "Counts green-tea's lifecycle events and renders them in the Prometheus text format.",
|
||||
"license": "MIT",
|
||||
"author": "green-tea contributors <projects@expressive-tea.io>",
|
||||
"type": "module",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/Expressive-Tea/green-tea-plugins.git",
|
||||
"directory": "packages/metrics"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=22",
|
||||
"deno": ">=2",
|
||||
"bun": ">=1.3"
|
||||
},
|
||||
"exports": {
|
||||
".": "./src/index.ts"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@green-tea/core": "26.9.0-beta.2"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user