Conversation
There was a problem hiding this comment.
Thanks so much for the pull request!
🤝 ✒️ Just a reminder that the CLA has not yet been signed, and we'll need it before merging. Please sign the CLA when you get a chance, then post a comment here saying !signed-cla
5e21e55 to
e411f69
Compare
|
!signed-cla |
ssoroka
left a comment
There was a problem hiding this comment.
A work of art. well done
|
!signed-cla |
There was a problem hiding this comment.
🤝 ✒️ Just a reminder that the CLA has not yet been signed, and we'll need it before merging. Please sign the CLA when you get a chance, then post a comment here saying !signed-cla
|
!signed-cla |
There was a problem hiding this comment.
🤝 ✒️ Just a reminder that the CLA has not yet been signed, and we'll need it before merging. Please sign the CLA when you get a chance, then post a comment here saying !signed-cla
|
For running the tests, please create a If those preparations are successful, run |
|
!signed-cla |
|
!retry-checks |
|
@srebhan Hi Sven, any chance you could get this pull completed so SQL queries can be run as a Telegraf input please ? |
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
|
@aslgithub your wish is my command. ;-P |
|
@srebhan nice one, thank you, much appreciated :-) |
@srebhan It appears to work as expected in that I am able to connect to the SQL server and complete a basic query that does a select count from a table to return an integer. Specifying a database in the dsn string within inputs.sql doesn't seem to have any impact? Would it be possible to support the tags feature at the query level please? however it doesn't work at the query level : This would be really helpful as I can have each query tagging its data as appropriate under the same connection. Thanks, |
|
@aslgithub nice to hear it's at least not failing completely! :-) |
|
@srebhan Sorry, I'm going to admit doing a PR to add the tag would be beyond me appreciate your support in doing this. Thanks, |
… explicit type conversions for fields.
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
Looks like new artifacts were built from this PR. Get them here!Artifact URLs |
|
@aslgithub give master a test if you can... Thanks to @reimda this plugin will (hopefully) make it into 1.19 |
(cherry picked from commit 908ad2f)
Required for all PRs:
This PR adds a generic SQL input plugin that can be used to query SQL servers and convert the returned data into metrics. In a first attempt only a handful of drivers are supported (see SQL_DRIVERS_INPUT.md) but there are more on the list.
Currently a test-suite is missing, therefore I'm marking this as DRAFT. Reviews, comments, suggestions and tests are welcome!
Takeover of PR #2785
Fixes #352