grafana / alloy

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

Alloy "Test Mode" / "draft mode" #1424

Open Jayclifford345 opened 1 month ago

Jayclifford345 commented 1 month ago

Request

To have a -test or --draft flag for Alloy which allows you to launch Alloy's UI with a partially complete config. This would allow users to visually build their pipeline in stages and understand how components are connecting without needing to provide a fully complete config. If a component has not been created this would leave some form of indicator within the graph that this named receiver is missing.

Within --test mode you could always take this one step further and have Alloy run through each step of the pipeline without actually exporting the data from Alloy. Thus allowing you to use the new "live debugging" feature to its full effect.

Use case

When teaching users the concepts of Alloy one of the most important features is the Alloy UI itself. However for users to run Alloy and see the components within the UI they must have all of the components mentioned defined otherwise Alloy will fail to load the config. For many users, they will start from ingest and move through the pipeline step by step until they reach the output. To do this in Alloy and use the UI you would have to go backwards to not cause dependency issues. This feature flag would allow users to run partially built configs and understand what they need to do next as well as understand gaps in the pipeline. as well

github-actions[bot] commented 1 week ago

This issue has not had any activity in the past 30 days, so the needs-attention label has been added to it. If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue. The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity. Thank you for your contributions!