-
Notifications
You must be signed in to change notification settings - Fork 526
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
Document standard transaction/span types #3569
Comments
@graphaelli Is this still something we want to do? |
Yes, this is still important. |
Some thoughts and questions. Is this Google Sheet up to date? It looks like it hasn't been updated in a while. What's the relationship between this sheet and the If the Google Sheet and What's important for the user to know? We could easily generate documentation from the Click to expand a very bad table that was generated
But if the Or, am I overthinking all of this, i.e. the spec isn't important or related, and only the fields in the google sheet are important? |
Great points @bmorelli25 . I believe we should get rid of the spreadsheet and instead reflect the missing parts in the spec directly and then use this as the source of truth. |
👋 Picking this up again. I'm still trying to tease out why we want to publish this spec and which use cases would bring a user to this document. Gil initially mentioned these three goals for moving the span name/type spreadsheet to our docs (emphasis mine).
It sounds to me like the versioning and version control problems are solved by moving from the spreadsheet to the spec — which leaves improved discovery. But I reached out the @felixbarny on Slack about publishing the spec, and he mentioned that only a few agents actually test against the spec. So, do we want to bring attention to the spec if only a few agents use it? And if so, can someone help me understand the why? The four potential outcomes from this issue I see are:
cc @SylvainJuge who originally created the spec. |
I like suggestion (3); with the addition to completely retire the spreadsheet and ensure everything that is still valid is in the spec. WDYT? |
I would also be in favor of retiring the spreadsheet.
Currently the "executable spec" in JSON only covers the span type/subtype,
retiring the spreadsheet completely means quite a lot:
- adding the "action" field to the spans spec (I don't know exactly how and
if it's actually used in the product, so it might not be worth the effort)
- creating an equivalent spec for transactions, should at least cover
transaction type
- adding a few examples for transaction and spans naming, that would only
be provided for documentation as it would be quite complex to enforce those
(for example link between "execute a query on Redis" and "expect the redis
span to have this name" might be platform-specific and API dependant.
The JSON document currently documents some inconsistencies, for example
with the Ruby agent (see elastic/apm-agent-ruby#1183
for details).
While not all agents *enforce* this specification, we can still point to it
and use it for documentation purposes.
Also, a while ago we started thinking about name alignment, see
elastic/apm#446 for details.
…On Wed, Apr 27, 2022 at 8:57 AM Silvia Mitter ***@***.***> wrote:
I like suggestion (3); with the addition to completely retire the
spreadsheet and ensure everything that is still valid is in the spec. WDYT?
—
Reply to this email directly, view it on GitHub
<#3569 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAF2JSR4TJKRE3KAO5TE2YTVHDQO5ANCNFSM4LVSVXWA>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks! So it sounds like the path forward could look something like this: 1. Minimal docs
2. Retire the spreadsheet
3. Update the docs
|
Let's move this public document to the documentation to improve discovery, introduce versioning, and improve version control.
I propose adding these to the data model documentation but open to suggestions.
The text was updated successfully, but these errors were encountered: