Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional process attributes to registry #564

Merged
merged 30 commits into from
Apr 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
4afb258
Add additional fields to process attribute registry
mjwolf Nov 21, 2023
a25b463
Update field descriptions
mjwolf Nov 21, 2023
e388e84
Update process schema
mjwolf Nov 23, 2023
6dbeac8
Merge remote-tracking branch 'origin/main' into add-process-registry-…
mjwolf Nov 28, 2023
a98e855
Specify ISO 8601 format for start, end fields
mjwolf Nov 28, 2023
2910bc0
Update CHANGELOG
mjwolf Nov 28, 2023
4ceb5f6
Update schema-next.yaml
mjwolf Nov 28, 2023
3c92a86
Merge remote-tracking branch 'origin/main' into add-process-registry-…
mjwolf Dec 4, 2023
90d9b33
Merge remote-tracking branch 'origin/main' into add-process-registry-…
mjwolf Dec 7, 2023
d38dcec
Revert rename of parent_pid
mjwolf Dec 7, 2023
e2d4e36
Remove note on usage of process.owner
mjwolf Dec 7, 2023
7b7a518
Revert change to PPID description
mjwolf Dec 7, 2023
f2e8bd7
Merge remote-tracking branch 'origin/main' into add-process-registry-…
mjwolf Dec 12, 2023
14ffaa0
Change env_vars description to SHOULD filter
mjwolf Dec 12, 2023
4c3364c
Merge branch 'open-telemetry:main' into add-process-registry-fields
mjwolf Dec 12, 2023
b9b6b80
Merge branch 'main' into add-process-registry-fields
mjwolf Jan 17, 2024
16cf7dd
Merge remote-tracking branch 'origin/main' into add-process-registry-…
mjwolf Jan 29, 2024
edf0aa3
Remove env_vars from process schema
mjwolf Jan 29, 2024
86d3dad
Merge branch 'open-telemetry:main' into add-process-registry-fields
mjwolf Jan 30, 2024
29c99de
Move change to unreleased section of changelog
mjwolf Jan 30, 2024
1e0d5b2
Merge remote-tracking branch 'origin/main' into add-process-registry-…
mjwolf Feb 8, 2024
b79e269
Add changelog entry
mjwolf Feb 8, 2024
ab10ce1
Merge branch 'main' into add-process-registry-fields
mjwolf Mar 19, 2024
388bffb
Merge remote-tracking branch 'origin/main' into add-process-registry-…
mjwolf Apr 5, 2024
25c54a3
Add experimental stability tag to new fields
mjwolf Apr 5, 2024
5773996
Use namespaces to group process creation and exit fields
mjwolf Apr 5, 2024
2bc84d2
Merge branch 'add-process-registry-fields' of github.com:mjwolf/seman…
mjwolf Apr 5, 2024
8280d52
Undo change to CHANGELOG.md
mjwolf Apr 5, 2024
eca5bff
Merge remote-tracking branch 'origin/main' into add-process-registry-…
mjwolf Apr 5, 2024
07a368d
Merge branch 'main' into add-process-registry-fields
trisch-me Apr 9, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Revert change to PPID description
  • Loading branch information
mjwolf committed Dec 7, 2023
commit 7b7a5180395a1454e49c49d6b512b2f3473997a7
2 changes: 1 addition & 1 deletion docs/attributes-registry/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
| `process.group_leader.pid` | int | The PID of the process's group leader. This is also the process group ID (PGID) of the process. | `23` |
| `process.interactive` | boolean | Whether the process is connected to an interactive shell. | |
| `process.owner` | string | The username of the user that owns the process. | `root` |
| `process.parent_pid` | int | Parent Process identifier (PPID). | `111` |
| `process.parent_pid` | int | Parent Process identifier (PID). | `111` |
| `process.pid` | int | Process identifier (PID). | `1234` |
| `process.real_user.id` | int | The real user ID (RUID) of the process. | `1000` |
| `process.real_user.name` | string | The username of the real user of the process. | `operator` |
Expand Down
2 changes: 1 addition & 1 deletion docs/resource/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
| [`process.executable.name`](../attributes-registry/process.md) | string | The name of the process executable. On Linux based systems, can be set to the `Name` in `proc/[pid]/status`. On Windows, can be set to the base name of `GetProcessImageFileNameW`. | `otelcol` | Conditionally Required: See alternative attributes below. |
| [`process.executable.path`](../attributes-registry/process.md) | string | The full path to the process executable. On Linux based systems, can be set to the target of `proc/[pid]/exe`. On Windows, can be set to the result of `GetProcessImageFileNameW`. | `/usr/bin/cmd/otelcol` | Conditionally Required: See alternative attributes below. |
| [`process.owner`](../attributes-registry/process.md) | string | The username of the user that owns the process. | `root` | Recommended |
| [`process.parent_pid`](../attributes-registry/process.md) | int | Parent Process identifier (PPID). | `111` | Recommended |
| [`process.parent_pid`](../attributes-registry/process.md) | int | Parent Process identifier (PID). | `111` | Recommended |
| [`process.pid`](../attributes-registry/process.md) | int | Process identifier (PID). | `1234` | Recommended |

**Additional attribute requirements:** At least one of the following sets of attributes is required:
Expand Down
2 changes: 1 addition & 1 deletion model/registry/process.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ groups:
- id: parent_pid
type: int
brief: >
Parent Process identifier (PPID).
Parent Process identifier (PID).
examples: [111]
- id: vpid
type: int
Expand Down