-
Notifications
You must be signed in to change notification settings - Fork 182
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
[Discussion] How should events be represented in semantic conventions (one per file or one per namespace) #925
Comments
Basic Voting Emoji's 👍 - Require a single file per event |
Where should the events be located in |
Other options for the above exist as well, so please provide other preferences if you have them. |
How does this not affect the proposal of one event per file? I don't really see any difference in this aspect between the two approaches. |
Event definition is part of some other domain. E.g. we're going to define a bunch of events for LLM. So my strong preference is on
or
which seem like the same option. |
Fixed in #1345 |
Area(s)
area:event
Is your change request related to a problem? Please describe.
Description
This issue is a discussion into how should events be described within semantic conventions, there are several options
We currently have a mixture with the following 2 PR's open which are showing the basic 2 options
Describe the solution you'd like
One per file
When using one event per file we should have some file / folder naming conventions to avoid accidentally creating duplicate events with the same name but located in different sections / files of semantic conventions.
Proposals
Note: the
<domain>
is the "area" where the events is created / generated and will most likely be related to the namespace of the event.have a folder structure with the namespace
docs/<domain>/the/namespace/eventname.md
docs/<domain>/the.namespace/eventname.md
docs/events/the/namespace/eventname.md
docs/events/the.namespace/eventname.md
have the filename be full qualified
docs/<domain>/the,namespace.eventname.md
docs/events/the,namespace.eventname.md
Questions
events
folder) or by domainmobile
/browser
One file per namespace
This enables all related events to be grouped together and leaves the naming so all events are in a single file
events.md
Proposals
Note: the
<domain>
is the "area" where the events is created / generated and will most likely be related to the namespace of the event. (mobile
,browser
)docs/<domain>/events.md
One possible downside of this approach is that when / if events become generic they will completely change their location.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: