Skip to content

Commit

Permalink
rename nodejs to jsruntime
Browse files Browse the repository at this point in the history
  • Loading branch information
maryliag committed May 3, 2024
1 parent b2ca8e0 commit ce06636
Show file tree
Hide file tree
Showing 11 changed files with 271 additions and 272 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
change_type: new_component

# The name of the area of concern in the attributes-registry, (e.g. http, cloud, db)
component: nodejs
component: jsruntime

# A brief description of the change. Surround your text with quotes ("") if it needs to start with a backtick (`).
note: Introducing semantic conventions for Node.js runtime metrics.
note: Introducing semantic conventions for Runtime Javascript (e.g. NodeJS, DenoJS, BunJS) runtime metrics.

# Mandatory: One or more tracking issues related to the change. You can use the PR number here if no issue exists.
# The values here must be integers.
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ body:
- area:heroku
- area:host
- area:http
- area:jsruntime
- area:jvm
- area:k8s
- area:log
- area:messaging
- area:network
- area:nodejs
- area:oci
- area:opentracing
- area:os
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/change_proposal.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ body:
- area:heroku
- area:host
- area:http
- area:jsruntime
- area:jvm
- area:k8s
- area:log
- area:messaging
- area:network
- area:nodejs
- area:oci
- area:opentracing
- area:os
Expand Down
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/new-conventions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@ body:
- area:heroku
- area:host
- area:http
- area:jsruntime
- area:jvm
- area:k8s
- area:log
- area:messaging
- area:network
- area:nodejs
- area:oci
- area:opentracing
- area:os
Expand Down
2 changes: 1 addition & 1 deletion docs/attributes-registry/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,12 @@ Currently, the following namespaces exist:
- [Host](host.md)
- [HTTP](http.md)
- [iOS](ios.md)
- [Jsruntime](jsruntime.md)
- [JVM](jvm.md)
- [K8s](k8s.md)
- [Log](log.md)
- [Messaging](messaging.md)
- [Network](network.md)
- [Nodejs](nodejs.md)
- [OCI](oci.md)
- [OpenTracing](opentracing.md)
- [OS](os.md)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,22 @@
<!-- NOTE: THIS FILE IS AUTOGENERATED. DO NOT EDIT BY HAND. -->
<!-- see templates/registry/markdown/attribute_namespace.md.j2 -->

# Nodejs
# Jsruntime

## Nodejs Attributes
## Jsruntime Attributes

Describes Node.js related attributes.
Describes JS Runtime related attributes.

| Attribute | Type | Description | Examples | Stability |
| --------------------------- | ------ | ----------------------------------- | ------------------------------- | ---------------------------------------------------------------- |
| `nodejs.eventloop.lag.type` | string | The type of the event loop latency. | `min`; `max`; `mean` | ![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.heap.size.state` | string | The size of heap memory. | `total`; `used` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `nodejs.heap.space.state` | string | The space of heap memory. | `total`; `used` | ![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.version` | string | Node.js version. | `v22.0.0`; `v21.7.3` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| Attribute | Type | Description | Examples | Stability |
| ------------------------------ | ------ | ----------------------------------- | ------------------------------- | ---------------------------------------------------------------- |
| `jsruntime.eventloop.lag.type` | string | The type of the event loop latency. | `min`; `max`; `mean` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `jsruntime.gc.type` | string | The type of garbage collection. | `major`; `minor`; `incremental` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `jsruntime.heap.size.state` | string | The size of heap memory. | `total`; `used` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `jsruntime.heap.space.state` | string | The space of heap memory. | `total`; `used` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `jsruntime.memory.state` | string | The state of memory. | `total`; `used` | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `jsruntime.version` | string | JS Runtime 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.
`jsruntime.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 |
| -------- | -------------------------------------- | ---------------------------------------------------------------- |
Expand All @@ -31,7 +31,7 @@ Describes Node.js related attributes.
| `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.
`jsruntime.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 |
| ------------- | ---------------------------------------- | ---------------------------------------------------------------- |
Expand All @@ -40,21 +40,21 @@ Describes Node.js related attributes.
| `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.heap.size.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.
`jsruntime.heap.size.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 heap memory size. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `used` | Used heap memory size. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |

`nodejs.heap.space.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.
`jsruntime.heap.space.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 heap memory space. | ![Experimental](https://img.shields.io/badge/-experimental-blue) |
| `used` | Used heap memory space. | ![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.
`jsruntime.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 |
| ------- | ------------- | ---------------------------------------------------------------- |
Expand Down
2 changes: 1 addition & 1 deletion docs/runtime/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Also consider the
semantic conventions when instrumenting runtime environments.

- [JVM](jvm-metrics.md)
- [Node.js](nodejs-metrics.md)
- [JS Runtime](jsruntime-metrics.md)

### Attributes

Expand Down
Loading

0 comments on commit ce06636

Please sign in to comment.