-
Notifications
You must be signed in to change notification settings - Fork 871
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
erlang process.runtime attributes: remove TODO note and update descriptions #1445
erlang process.runtime attributes: remove TODO note and update descriptions #1445
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does Erland SDK populate these already?
I don't know what the semantic convention failure is about. Are docs on this in the repo? |
@yurishkuro in the latest |
This reminded me to update the spec matrix, so I've now included that in this PR as well. |
| Name | `process.runtime.name` | `process.runtime.version` | `process.runtime.description` | | ||
| --- | --- | --- | --- | | ||
| beam | BEAM | 11.0.3 | Erlang/OTP 24 erts-11.0.3 | | ||
<!-- semconv process.runtime --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This would add the same table as above when running the semantic conventions generator tool. Since this table is maintained manually, you'll have to remove those markers or the build fails. Currently it's complaining about a mismatch with the (potentially) generated files. See how it's done with the other tables below.
| Name | `process.runtime.name` | `process.runtime.version` | `process.runtime.description` | | ||
| --- | --- | --- | --- | | ||
| beam | BEAM | 11.0.3 | Erlang/OTP 24 erts-11.0.3 | | ||
<!-- semconv process.runtime --> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
985428c
to
ca9600b
Compare
Ah, woops, thanks @arminru and @SergeyKanzhelev :). I had copied from the earlier table in the document without thinking, should be fixed now. |
| Name | `process.runtime.name` | `process.runtime.version` | `process.runtime.description` | | ||
| --- | --- | --- | --- | | ||
| beam | BEAM | 11.0.3 | Erlang/OTP 24 erts-11.0.3 | | ||
| Attribute | Type | Description | Examples | Required | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To be consistent with other languages, I would keep the list form, as in the removed text.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at it again, this even repeats the Type
and Required
column. I think this is rather misleading. Please either:
- Revert to the list notation as above, just remove the TODO, maybe add a table with examples (as for other runtimes like Java) if you have more than one; or
- remove the Type and Required columns from the table.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please resolve conflicts
| Name | `process.runtime.name` | `process.runtime.version` | `process.runtime.description` | | ||
| --- | --- | --- | --- | | ||
| beam | BEAM | 11.0.3 | Erlang/OTP 24 erts-11.0.3 | | ||
| Attribute | Type | Description | Examples | Required | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking at it again, this even repeats the Type
and Required
column. I think this is rather misleading. Please either:
- Revert to the list notation as above, just remove the TODO, maybe add a table with examples (as for other runtimes like Java) if you have more than one; or
- remove the Type and Required columns from the table.
cef5e84
to
1eb74cd
Compare
Switched it back to a list and merged the spec matrix with the latest in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, but you might want to keep the example somehow.
Ok, added an example table. |
No real change here, simply removes the TODO since it is done and updates the attributes into a table.
Related issue: open-telemetry/opentelemetry-erlang#96