Skip to content
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

Pipeline stages tooling #820

Closed
cyriltovena opened this issue Jul 31, 2019 · 8 comments
Closed

Pipeline stages tooling #820

cyriltovena opened this issue Jul 31, 2019 · 8 comments
Assignees
Labels
keepalive An issue or PR that will be kept alive and never marked as stale. type/feature Something new we should do

Comments

@cyriltovena
Copy link
Contributor

cyriltovena commented Jul 31, 2019

The YAML configuration is quite hard to get right and the feedback loop is horrible.

It would great to have a tool that validates, lint and explains this configuration.

Cherry on the top that would be neat to be able to test with some real log line.

I’m thinking about building a small web ui container, we could also host it at Grafana so our users wouldn’t need to use docker at all. But first we should simply promtail as a cli.

/cc @slim-bean

@slim-bean
Copy link
Collaborator

one version of this I've seen with other tools and would like to do with promtail is to run the binary with a flag to your config file and something like -stdin where it doesn't tail files but just parses log lines from stdin and prints out how it would have been processed

@slim-bean
Copy link
Collaborator

when we figure out a Loki website I think having a hosted config validator as you describe would be fantastic

@sh0rez sh0rez self-assigned this Aug 1, 2019
@sh0rez sh0rez added the type/feature Something new we should do label Aug 1, 2019
@stale
Copy link

stale bot commented Sep 3, 2019

This issue has been automatically marked as stale because it has not had any activity in the past 30 days. It will be closed in 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale A stale issue or PR that will automatically be closed. label Sep 3, 2019
@slim-bean slim-bean added the keepalive An issue or PR that will be kept alive and never marked as stale. label Sep 3, 2019
@stale stale bot removed the stale A stale issue or PR that will automatically be closed. label Sep 3, 2019
@pracucci
Copy link
Contributor

Cherry on the top that would be neat to be able to test with some real log line.

@cyriltovena May the experiment done in https://github.com/pracucci/lokitool be of any interest to be backported to this repo?

@cyriltovena
Copy link
Contributor Author

Yeah for sure

@pracucci
Copy link
Contributor

@cyriltovena How would you name the tool once backported to the grafana/loki repo? Should be integrated into logcli or as a separate tool?

@v-stickykeys
Copy link
Contributor

Cherry on the top that would be neat to be able to test with some real log line.

@cyriltovena May the experiment done in https://github.com/pracucci/lokitool be of any interest to be backported to this repo?

I would also be happy to help with adding a vscode plugin for this (if that is of interest)

@cyriltovena
Copy link
Contributor Author

Cherry on the top that would be neat to be able to test with some real log line.

@cyriltovena May the experiment done in https://github.com/pracucci/lokitool be of any interest to be backported to this repo?

I would also be happy to help with adding a vscode plugin for this (if that is of interest)

Sure is !

Promtail now support --dry-run so you could use that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
keepalive An issue or PR that will be kept alive and never marked as stale. type/feature Something new we should do
Projects
None yet
Development

No branches or pull requests

5 participants