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

How to monitor only a few tables? #91

Closed
abcfy2 opened this issue Jul 1, 2016 · 3 comments
Closed

How to monitor only a few tables? #91

abcfy2 opened this issue Jul 1, 2016 · 3 comments

Comments

@abcfy2
Copy link

abcfy2 commented Jul 1, 2016

I find that bottledwater will monitor the whole database, but I just want to monitor only a few tables, how to ?

And, if a table has no PK, bottledwater will be exited. How does bottledwater will only print this waring, but will not exit? I want bottledwater to run as a background daemon.

Thanks.

@ept
Copy link
Contributor

ept commented Jul 1, 2016

I find that bottledwater will monitor the whole database, but I just want to monitor only a few tables, how to ?

This is not yet supported, see #21.

And, if a table has no PK, bottledwater will be exited. How does bottledwater will only print this waring, but will not exit?

Use the --allow-unkeyed command line option. The error message should in fact tell you to do this.

@ept ept closed this as completed Jul 1, 2016
@badboyd
Copy link
Contributor

badboyd commented Jul 2, 2016

Hi @abcfy2, I have done that feature which you asking for. I can share you the code. It's just the first version, so I need feedback from you or anybody.

@samstokes
Copy link
Contributor

Hi @badboyd, if you're looking for feedback on some code, please feel welcome to submit it as a Pull Request! It doesn't need to be completely finished or perfectly polished, we should be able to help you get it there. It might take a while for someone to respond, though, since nobody is working full-time on Bottled Water.

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

No branches or pull requests

4 participants