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

[InfluxDB][Monitoring] Allow passing Client as configuration option. #809

Merged
merged 5 commits into from
Apr 1, 2019

Conversation

Steveb-p
Copy link
Contributor

@Steveb-p Steveb-p commented Mar 28, 2019

also prevent calling database creation if Client driver does not support QueryDriverInterface.

This is a follow up from a discussion regarding #803 and a quick talk on gitter

@steveb_gitlab I've not digged much into the issue. I guess passing a client as a part of config should work out. wdyt?

There are a couple of comments left that I should probably drop, but I've included them to make it clear for you why the code looks in a particular way (regarding doWrite method).
Please tell me if there are any code style changes that you want (if you don't want sprintf calls maybe?) or anything else.

Fixes #803.

Prevent calling database creation if Client driver does not support QueryDriverInterface
@Steveb-p Steveb-p requested a review from makasim March 28, 2019 22:15
Prevent calling database creation if Client driver does not support QueryDriverInterface
Prevent calling database creation if Client driver does not support QueryDriverInterface
Prevent calling database creation if Client driver does not support QueryDriverInterface
Prevent calling database creation if Client driver does not support QueryDriverInterface
@Steveb-p
Copy link
Contributor Author

Steveb-p commented Apr 1, 2019

Since there are not further change requests, can I merge it myself @makasim ?

(Since it's outside of my usual scope - Kafka - I don't want to impose myself)

@makasim
Copy link
Member

makasim commented Apr 1, 2019

Yeap! Once approved you can merge PR. I don't do it because there might be something you want to flesh up.

@Steveb-p Steveb-p merged commit 0bd4136 into master Apr 1, 2019
@Steveb-p Steveb-p deleted the influxdb-config-options branch April 1, 2019 11:43
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.

2 participants