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

Add pipeline unit testing to promtail #883

Merged
merged 1 commit into from
Aug 19, 2019
Merged

Conversation

adityacs
Copy link
Contributor

What this PR does / why we need it ?:
Add pipeline unit testing to promtail

Which issue(s) this PR fixes:
Fixes #769

@adityacs
Copy link
Contributor Author

adityacs commented Aug 12, 2019

@slim-bean Kindly let me know if the changes are relevant to what you mentioned in #769. If not, let me know what exactly should be done.

Thanks!

Note: The code in this PR still needs some refactoring

@adityacs adityacs force-pushed the master branch 5 times, most recently from c2022e8 to bbeb1d4 Compare August 12, 2019 15:38
@slim-bean
Copy link
Collaborator

yes this is exactly what I had in mind! let me know when you are ready and I'll review!

@adityacs adityacs force-pushed the master branch 2 times, most recently from fd2ecd1 to 3cc2184 Compare August 13, 2019 17:46
@adityacs
Copy link
Contributor Author

@slim-bean Kindly review this

labels.Label{
Name: "action",
Value: "GET",
},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you flatten these out to save a little vertical space:

labels.Label{Name: "action", Value: "GET"},

@adityacs
Copy link
Contributor Author

@slim-bean Have made the changes. Kindly review.

Copy link
Collaborator

@slim-bean slim-bean left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@slim-bean slim-bean merged commit da4964d into grafana:master Aug 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

promtail unit test should be updated with pipeline_stages now that entry_parser config is long deprecated
2 participants