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

feat: Supervisord input plugin #9015

Merged
merged 39 commits into from
Aug 8, 2022
Merged

Conversation

niasar
Copy link
Contributor

@niasar niasar commented Mar 18, 2021

Hello, I've seen some interest(#5126) in adding input plugin for monitoring processes, that running under supervisord plus maybe supervisord itself and I am interested in it as well. Unit and integration tests are included.

Required for all PRs:

  • Associated README.md updated.
  • Has appropriate unit tests.

Copy link
Contributor

@telegraf-tiger telegraf-tiger bot left a comment

Choose a reason for hiding this comment

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

🤝 ✅ CLA has been signed. Thank you!

@telegraf-tiger telegraf-tiger bot added feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin new plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins labels Mar 18, 2021
@sjwang90
Copy link
Contributor

Hi @niasar! Thanks for the PR! Could you resolve the conflicts so we can get this reviewed?

@niasar
Copy link
Contributor Author

niasar commented Sep 23, 2021

Hi @niasar! Thanks for the PR! Could you resolve the conflicts so we can get this reviewed?

Hey, thank you for showing interest. I'll try to do it at this or next weekend.

@niasar
Copy link
Contributor Author

niasar commented Sep 25, 2021

@sjwang90 Done

Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

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

Hi! This showed up in my list of things to look through today. It looks like it has sat for a while, but I still wanted to give it a review. At a high level, I appreciate that you took the time to write this and include not only unit tests, but an integration test.

I have added a few comments and one big question around username/password. Before I dive into the code, I wanted to see your thoughts on that area first and if you were still interested in looking through this.

Thanks!

= added 2 commits October 9, 2021 19:58
… disable basic auth. Added details about using plugin with authentication enabled.
@niasar niasar requested a review from powersj October 10, 2021 07:08
@lcgogo
Copy link

lcgogo commented Dec 28, 2021

when will this PR be merged? @niasar

@sjwang90
Copy link
Contributor

sjwang90 commented Jan 4, 2022

@niasar Can you edit the title of the pull request to feat: Supervisord input plugin so it passes the Semantic Pull Request check?

@powersj
Copy link
Contributor

powersj commented Jan 4, 2022

Additionally please rebase on master to resolve the conflict on go.mod

@srebhan would be a good one for you to quickly look over :)

Copy link
Member

@srebhan srebhan left a comment

Choose a reason for hiding this comment

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

@niasar the code looks quite good already, however I have some comments... :-/ It's mostly minor things.

@powersj I'm not sure about the location of the Dockerfile and friend, so it would be nice to get your or @reimda's feedback.

@srebhan srebhan self-assigned this Jan 6, 2022
@powersj
Copy link
Contributor

powersj commented Jul 25, 2022

Hi,

@niasar wanted to check in and see if you were planning any further updates!

Thanks!

@powersj powersj added the waiting for response waiting for response from contributor label Jul 25, 2022
@reimda
Copy link
Contributor

reimda commented Jul 26, 2022

Since this already has one review approval and is only waiting on small docs change requests from me, if @niasar doesn't come back I think we should complete it instead of closing due to inactivity.

@telegraf-tiger telegraf-tiger bot removed the waiting for response waiting for response from contributor label Jul 26, 2022
@niasar
Copy link
Contributor Author

niasar commented Jul 27, 2022

Hello and sorry for absence. As I'm now moved to a new place, i had shortage of free time for a few months. I'll be ready to get back to work in the beginning of next week.

@niasar
Copy link
Contributor Author

niasar commented Aug 2, 2022

Could we make a few changes to the wording of the documentation? Also I think using a string instead of a boolean for the use_identification_tag setting would work better. What do you think?

Thanks for feedback, i'll look in your suggestions later, for now i'm going to merge latest master branch and make integration tests using testutil.container.

@srebhan
Copy link
Member

srebhan commented Aug 2, 2022

Hey @niasar, thanks for your effort! It seems like the license file needs one line removed to make the tests happy. You can run make check-deps locally to see what needs to be done... Can you please fix this?

@srebhan
Copy link
Member

srebhan commented Aug 3, 2022

And another conflict @niasar. Let me know if you cannot find time and I can resolve this for you...

@niasar niasar requested a review from reimda August 4, 2022 15:57
@telegraf-tiger
Copy link
Contributor

telegraf-tiger bot commented Aug 6, 2022

@niasar niasar requested a review from reimda August 6, 2022 12:26
@srebhan srebhan added the ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review. label Aug 8, 2022
Copy link
Contributor

@powersj powersj left a comment

Choose a reason for hiding this comment

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

Thanks for finishing this up!

Can I please ask you to put a README on your dockerhub page? Something that lays out 1) the port used and 2) where the configuration file exists?

@powersj powersj merged commit b80d34a into influxdata:master Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat Improvement on an existing feature such as adding a new setting/mode to an existing plugin new plugin plugin/input 1. Request for new input plugins 2. Issues/PRs that are related to input plugins ready for final review This pull request has been reviewed and/or tested by multiple users and is ready for a final review.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants