-
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
Should there be any attributes marked as stable inside of experimental conventions? #906
Comments
Good point, I'd conclude that the semantics of the attribute are stable, however, the attribute set is not (thus the attribute could be removed). It makes me wonder whether stability markers on attributes make sense in experimental conventions at all. |
The attribute definition could also be further refined (overriding the brief or notes) within the convention. |
Should we have an experimental badge on the semconv/table then? Instead of individual attributes in the table? One future case (we don't have yet) is the opposite: stable semconv with experimental attributes (e.g. http is stable, but you can opt-in into |
E.g. like this: DB Client Spans (option 1)
Attributes
|
DB Client Spans (option 2)
Attributes
|
nit: spans have stability markers on its own, so instead of document status, we can use span markers (like http client)
What if we want to add I.e. this attribute is opt-in until it reaches stability and then its level can change. |
maybe the yaml should require that all "refs" include explicit stability? and use that on the row instead of the attribute's stability from the global registry? |
I think we need to define if overriding stability is allowed and what it means. I don't understand how we can redefine attribute stability:
Attribute values stability is not guaranteed therefore note and brief can change in reasonable way. |
this one sort of seems ok to me if we read it as "experimental within the given semantic convention" (e.g. it may still be removed from the semantic convention) the alternative (having a row displayed as |
I agree, I mean that not having stability on individual attributes under experimental conventions would convey the same information - everything here is experimental, can be added/removed/replaced:
Attributes
While marking stable (in the registry) attribute as experimental (within semconv scope, especially in yaml) seems confusing (to me) |
makes sense, as long as it doesn't say "stable" in the markdown table, I'm 👍 |
That also makes sense to me. |
E.g. it seems confusing that some attributes are marked as stable in database-spans.md:
The text was updated successfully, but these errors were encountered: