grafana / alloy

OpenTelemetry Collector distribution with programmable pipelines
https://grafana.com/oss/alloy
Apache License 2.0
1.29k stars 175 forks source link

Follow a certain order when listing blocks and arguments in documentation #338

Open ptodev opened 11 months ago

ptodev commented 11 months ago

Background

The document on best practices with writing Flow components should also include guidance on how to order blocks and attributes when listing them in a table. This will help make our documentation more predictable and easier to read.

Proposal

For example, we could propose that:

It would also be nice if we could also add CI tests for this. But I'm not sure if this is possible.

tpaschalis commented 11 months ago

I'm on-board with the two suggestions here. Also, maybe we should talk about the specific order within required and optional. Is it alphabetical order, is it up to the component author's discretion to order by usefuleness/frequency of use?

clayton-cornell commented 1 week ago

Some drafting (testing ideas and changes) happening in this PR: https://github.com/grafana/alloy/pull/1630