What are you trying to achieve?
I want to be able to set the type of log record I am emitting so that the log record can be transformed from the version specified in the schema url to the latest version.
Additional context.
By having the type field seperate from event name would mean that the event name can become fully qualified for that log record rather than pointing to the type.
Example would be https://opentelemetry.io/docs/specs/semconv/azure/azure-events/ has the name azure.resource.log but that doesn't tell you if it is for Entra ID, App Service etc with the proposal here being the type would be azure.resource.log & then name becomes something like Azure Log: {{service}} aka Azure Log: Entra Id. This would mirror spans.
This would also help with consistency.
If we were to increase the volume of definitions in semconv it would enable an increased chance of the name being fully qualified it does however have the trade off that the ability to transform events into metrics is decreased.
An example would be currently if you wanted to get a count of all azure operations which resulted in a result.type of failed, this would be straight forward as you just need to filter events based on result.type & the event name. If it is now split, this list of event name goes from a single value to a large list which must be managed. With this proposal we would have a field dedicated for systems to use for aggregation, querying & transformation.
Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding +1 or me too, to help us triage it. Learn more here.
What are you trying to achieve?
I want to be able to set the type of log record I am emitting so that the log record can be transformed from the version specified in the schema url to the latest version.
Additional context.
By having the type field seperate from event name would mean that the event name can become fully qualified for that log record rather than pointing to the type.
Example would be https://opentelemetry.io/docs/specs/semconv/azure/azure-events/ has the name
azure.resource.logbut that doesn't tell you if it is for Entra ID, App Service etc with the proposal here being the type would beazure.resource.log& then name becomes something likeAzure Log: {{service}}akaAzure Log: Entra Id. This would mirror spans.This would also help with consistency.
If we were to increase the volume of definitions in semconv it would enable an increased chance of the name being fully qualified it does however have the trade off that the ability to transform events into metrics is decreased.
An example would be currently if you wanted to get a count of all azure operations which resulted in a
result.typeof failed, this would be straight forward as you just need to filter events based on result.type & the event name. If it is now split, this list of event name goes from a single value to a large list which must be managed. With this proposal we would have a field dedicated for systems to use for aggregation, querying & transformation.Tip: React with 👍 to help prioritize this issue. Please use comments to provide useful context, avoiding
+1orme too, to help us triage it. Learn more here.