Draft
Conversation
Signed-off-by: Caleb Metz <caleb.metz@datadoghq.com>
Signed-off-by: Caleb Metz <caleb.metz@datadoghq.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Adds a lading tui to assist in building configs and previewing payloads generated
Motivation
Make it easier to build configs and validate contents are what you expect
In order to run lading you need all the right packages on your machine. To use this, open up a workspace under smp repo which should have all the necessary deps installed already and try running
cargo run -p lading_tui -- --config examples/lading-pii-mixed.yamlAdditional Notes
This is scoped to just file_gen logrotate_fs for now and the preview tab is currently only set up for viewing log files.
I will admit that in our current state building the config with claude rather than yourself (manually or with tui) is more powerful but I built this more to answer the question of "what does my config actually generate"
This will need to be restructured in order to add more generator types
TODO
I recall there being one missing dep from prebuilt dev container, need to update that in order for this to work OOTB