-
Notifications
You must be signed in to change notification settings - Fork 182
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move nodejs attributes to attributes registry
- Loading branch information
Showing
6 changed files
with
157 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!--- Hugo front matter used to generate the website version of this page: | ||
---> | ||
|
||
<!-- NOTE: THIS FILE IS AUTOGENERATED. DO NOT EDIT BY HAND. --> | ||
<!-- see templates/registry/markdown/attribute_namespace.md.j2 --> | ||
|
||
# Nodejs | ||
|
||
## Nodejs Attributes | ||
|
||
Describes Node.js related attributes. | ||
|
||
| Attribute | Type | Description | Examples | Stability | | ||
| --------------------------- | ------ | ------------------------------- | ------------------------------- | ---------------------------------------------------------------- | | ||
| `nodejs.eventloop.lag.type` | string | The type of memory. | `min`; `max`; `avg` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `nodejs.gc.type` | string | The type of garbage collection. | `major`; `minor`; `incremental` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `nodejs.memory.state` | string | The state of memory. | `total`; `used` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `nodejs.memory.type` | string | The type of memory. | `heap`; `external` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `nodejs.version` | string | Node.js version. | `v22.0.0`; `v21.7.3` | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
|
||
`nodejs.eventloop.lag.type` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used. | ||
|
||
| Value | Description | Stability | | ||
| ----- | --------------------------------- | ---------------------------------------------------------------- | | ||
| `min` | Event loop minimum latency. | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `max` | Event loop maximum latency. | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `avg` | Event loop average latency. | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `p50` | Event loop 50 percentile latency. | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `p90` | Event loop 90 percentile latency. | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `p99` | Event loop 99 percentile latency. | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
|
||
`nodejs.gc.type` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used. | ||
|
||
| Value | Description | Stability | | ||
| ------------- | ---------------------------------------- | ---------------------------------------------------------------- | | ||
| `major` | Major (Mark Sweep Compact). | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `minor` | Minor (Scavenge). | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `incremental` | Incremental (Incremental Marking). | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `weakcb` | Weak Callbacks (Process Weak Callbacks). | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
|
||
`nodejs.memory.state` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used. | ||
|
||
| Value | Description | Stability | | ||
| ------- | ------------- | ---------------------------------------------------------------- | | ||
| `total` | Total memory. | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `used` | Used memory | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
|
||
`nodejs.memory.type` has the following list of well-known values. If one of them applies, then the respective value MUST be used; otherwise, a custom value MAY be used. | ||
|
||
| Value | Description | Stability | | ||
| ---------- | --------------- | ---------------------------------------------------------------- | | ||
| `heap` | Heap memory. | ![Experimental](https://img.shields.io/badge/-experimental-blue) | | ||
| `external` | External memory | ![Experimental](https://img.shields.io/badge/-experimental-blue) | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,94 @@ | ||
groups: | ||
- id: attributes.nodejs.version | ||
- id: registry.nodejs | ||
type: attribute_group | ||
brief: "Describes Node.js version attribute." | ||
brief: Describes Node.js related attributes. | ||
prefix: nodejs | ||
attributes: | ||
- id: version | ||
stability: experimental | ||
type: string | ||
requirement_level: recommended | ||
brief: Node.js version. | ||
examples: ["v22.0.0", "v21.7.3"] | ||
- id: eventloop.lag.type | ||
stability: experimental | ||
type: | ||
allow_custom_values: false | ||
members: | ||
- id: min | ||
value: 'min' | ||
brief: 'Event loop minimum latency.' | ||
stability: experimental | ||
- id: max | ||
value: 'max' | ||
brief: 'Event loop maximum latency.' | ||
stability: experimental | ||
- id: avg | ||
value: avg | ||
brief: 'Event loop average latency.' | ||
stability: experimental | ||
- id: p50 | ||
value: 'p50' | ||
brief: 'Event loop 50 percentile latency.' | ||
stability: experimental | ||
- id: p90 | ||
value: 'p90' | ||
brief: 'Event loop 90 percentile latency.' | ||
stability: experimental | ||
- id: p99 | ||
value: 'p99' | ||
brief: 'Event loop 99 percentile latency.' | ||
stability: experimental | ||
brief: The type of memory. | ||
examples: ["min", "p90"] | ||
- id: gc.type | ||
stability: experimental | ||
brief: The type of garbage collection. | ||
type: | ||
allow_custom_values: false | ||
members: | ||
- id: major | ||
value: 'major' | ||
brief: 'Major (Mark Sweep Compact).' | ||
stability: experimental | ||
- id: minor | ||
value: 'minor' | ||
brief: 'Minor (Scavenge).' | ||
stability: experimental | ||
- id: incremental | ||
value: 'incremental' | ||
brief: 'Incremental (Incremental Marking).' | ||
stability: experimental | ||
- id: weakcb | ||
value: 'weakcb' | ||
brief: 'Weak Callbacks (Process Weak Callbacks).' | ||
stability: experimental | ||
- id: memory.type | ||
stability: experimental | ||
type: | ||
allow_custom_values: false | ||
members: | ||
- id: heap | ||
value: 'heap' | ||
brief: 'Heap memory.' | ||
stability: experimental | ||
- id: external | ||
value: 'external' | ||
brief: 'External memory' | ||
stability: experimental | ||
brief: The type of memory. | ||
examples: ["heap", "external"] | ||
- id: memory.state | ||
stability: experimental | ||
type: | ||
allow_custom_values: false | ||
members: | ||
- id: total | ||
value: 'total' | ||
brief: 'Total memory.' | ||
stability: experimental | ||
- id: used | ||
value: 'used' | ||
brief: 'Used memory' | ||
stability: experimental | ||
brief: The state of memory. | ||
examples: ["total", "used"] |