build-tools icon indicating copy to clipboard operation
build-tools copied to clipboard

Improve documentation of code generator

Open joaopgrassi opened this issue 1 year ago • 6 comments

There are a couple of issues about our current code generator documentation. In general, I feel the process to get the things working is not clear. There are several arguments that are not documented at all, and folks need either to ask here, or dig into the code themselves to find things out.

I can tell from my own experience as a "first timer". It was particularly painful for me when I was trying to get it to work for the .NET SDK https://github.com/open-telemetry/opentelemetry-dotnet/pull/2069.

I feel we need to cover in the docs:

  • All the parameters the tool accepts and what they do
  • Examples of how to use it to generate code files from YAML
    • Here we could either link to the existing one we know in Java + another language as JS

joaopgrassi avatar Aug 23 '23 11:08 joaopgrassi

Hello, can I work on this?

ezinneanne avatar Aug 24 '23 12:08 ezinneanne

Hi @ezinneanne sure! Feel free to work on it and reach out if something is unclear.

joaopgrassi avatar Aug 24 '23 14:08 joaopgrassi

@ezinneanne are you working on this? Let me know so I can assign it to you then. Thank you!

joaopgrassi avatar Sep 07 '23 06:09 joaopgrassi

Hello, I would love to work on this but am preoccupied at the moment. You can assign it to someone else. Thank you @joaopgrassi

ezinneanne avatar Sep 08 '23 05:09 ezinneanne

I think this was covered in #243 and will be fully merged in #295

lmolkova avatar Mar 12 '24 04:03 lmolkova

There were a lot of docs improvements in the 0.24.0 release - https://github.com/open-telemetry/build-tools/blob/v0.24.0/semantic-conventions/README.md#code-generator

I think we can still improve it further documenting a few remaining filters and tests, so I'm keeping it open.

lmolkova avatar Mar 25 '24 18:03 lmolkova