Commit Graph

136 Commits

Author SHA1 Message Date
goswamisandeep e44129869c
feat(inputs.sqlserver): introduce timeout for query execution (#12319) 2022-12-06 07:24:19 -07:00
goswamisandeep 4a378c6ff9
feat(inputs.sqlserver): add metric available_physical_memory_kb in sqlserver_server_properties (#12292) 2022-12-01 07:50:38 -07:00
Paweł Żak 960a1f7b14
chore: Fix linter findings for prealloc (part3) (#12246) 2022-11-21 21:53:55 +01:00
David Barbarin 58d7dfc43f
feat(inputs.sqlserver): add data and log used space metrics for Azure SQL DB (#12126) 2022-11-16 07:18:17 -07:00
Paweł Żak 74703d092b
chore: Fix linter findings for prealloc (part2) (#12242) 2022-11-15 09:31:51 +01:00
Paweł Żak 0c5d8de5e2
chore: enable lll linter (#12226) 2022-11-11 08:17:15 -07:00
Paweł Żak d3fabdd0a9
chore: wrap long lines in plugins/inputs/[l-s]* (#12217) 2022-11-10 11:55:58 -07:00
Joshua Powers 49ac03fa80
docs: add global configuration header (#12107) 2022-10-26 14:58:36 -05:00
Sebastian Spaink d67f75e557
docs: Remove warning not to remove go:embed (#11797)
Co-authored-by: Joshua Powers <powersj@fastmail.com>
2022-09-13 12:47:58 -05:00
Joshua Powers 8c49ddccc3
chore: update to go1.19.1 (#11776) 2022-09-08 12:49:36 -06:00
deweter ab185887c0
feat(inputs.sqlserver): Improved filtering for active requests (#11709) 2022-09-07 11:30:11 +02:00
deweter bacb6c385d
fix(inputs.sqlserver): fixing wrong filtering for sqlAzureMIRequests and sqlAzureDBRequests (#11701) 2022-08-22 13:05:43 -06:00
deweter 1cc24efd3b
feat(inputs.sqlserver): Add db name to io stats for MI (#11688) 2022-08-17 13:11:06 -06:00
Mya 9a7c308ade
docs: add timeout section (#11550) 2022-07-26 10:07:34 -06:00
Joshua Powers 911072c17b
fix(inputs.sqlserver): set lower deadlock priority (#11548) 2022-07-26 08:51:15 -06:00
Varlet Nicolas ae695e8736
fix(inputs.sqlserver): set lower deadlock priority (#11522) 2022-07-19 10:12:09 -06:00
Joshua Powers 6aad0a6349
fix: use bigint for backupsize in sqlserver (#11448) 2022-07-07 08:43:15 -06:00
Joshua Powers 3f65217f5e
test: mark integration tests correctly (#11317) 2022-06-16 14:10:11 -06:00
David Barbarin 8c66d604be
feat(inputs.sqlserver): Update query store and latch performance counters (#11216) 2022-06-02 10:04:14 -05:00
Joshua Powers 2fc19fa308
chore: correctly spell embed (#11200) 2022-05-27 07:13:47 -06:00
Sven Rebhan 56eb914998
chore: Embed sample configurations into README for inputs (#11136) 2022-05-24 08:49:47 -05:00
Sebastian Spaink 0f5dc9946c
chore(inputs_m-z): migrate sample configs into separate files (#11133) 2022-05-18 11:31:34 -05:00
Aleksandr Venger 237658d6cd
feat(inputs/sqlserver): add RecentBackups query (#10567) 2022-04-13 09:57:36 -06:00
Giulio Fronterotta 2337fd6e61
docs: update sql readme for creating login in windows (#10967) 2022-04-12 08:32:24 -06:00
Sebastian Spaink 5676326ae9
chore(inputs): add descriptions to config in README.md (#10962) 2022-04-12 08:29:02 -05:00
Sebastian Spaink b355be5ccb
feat: migrate input plugins to new sample config format (M-Z) (#10926) 2022-04-11 16:32:25 -05:00
Gianluca Sartori 141279f1de
fix: inconsistencies in sql*Requests queries (#10553) 2022-03-30 12:06:05 -06:00
Thomas Casteleyn a4f6b27bd5
style: Add deprecation notices to plugin options (#10616) 2022-03-01 15:05:53 -07:00
Abair fe240f0c67
docs: updates readme to add service SID auth and cleans up AAD auth dupe info (#10541) 2022-02-01 15:27:02 -07:00
Mya 837465fcd5
chore: clean up all errors for markdown lint input plugins s through v (#10167) 2021-11-24 11:50:13 -07:00
Paweł Żak 2a0c3059a1
fix: Linter fixes for plugins/inputs/s* (#10104)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-11-18 09:04:52 -07:00
Jean-Sébastien Dupuy a2cf4fb98f
docs: add elastic pool in supported versions in sqlserver (#10044) 2021-11-02 08:50:38 -06:00
Jean-Sébastien Dupuy 5d2b5d15a7
feat: add additional metrics to support elastic pool (sqlserver plugin) (#9841) 2021-10-26 12:07:02 -06:00
Jean-Sébastien Dupuy 374662be07
test: add sqlserver plugin integration tests (#9943)
* Adding integration tests for AzureSQLDBResourceStats.

* Adding azuresqlmanagedqueries_test.go

* Updated integration tests for sql managed instance queries.

* Updated integration tests for sql database queries.

* Updated integration tests for azure sql database queries

* Updated integration tests for azure sql managed instance queries

* Fixed lint issues with make fmt.

Co-authored-by: yannick <yabromba@microsoft.com>
2021-10-25 09:35:12 -06:00
Mark Wilkinson - m82labs 57ecd1d21b
Worktable workfile stats (#8587) 2021-07-26 20:55:03 -05:00
Madhushree Sreenivasa 2267733a04
Provide detailed error message in telegraf log (#9466) 2021-07-13 15:08:41 -06:00
reimda 537ac63c68
Sqlserver input: require authentication method to be specified (#9388) 2021-07-07 13:09:52 -06:00
Giovanni Luisotto ae7d31996b
SQL Server - SQL Requests - added s.[login_name] (#8351) 2021-05-13 23:59:02 -05:00
Giovanni Luisotto 8b9883e2ec
SQL Server - sqlServerRingBufferCPU - removed whitespaces (#9130)
### Required for all PRs:

- [ ] Updated associated README.md.
- [ ] Wrote appropriate unit tests.

Removed a pair of whitespace chars from the **sqlServerRingBufferCPU** SQL statement and added some formatting.
This query exists only for the on-prem version of SQL Server (`database_type = "SQLServer"`)

If you were unlucky enough to have some SQL 2008 the query wouldn't work as the whitespace char is not allowed inside the statement.
2021-05-11 16:08:25 -05:00
Avinash Nigam f39d68d1fa
SQL Server input plugin - Enable Azure Active Directory (AAD) authentication support (#8822)
### Required for all PRs:

- [ ] Associated README.md updated.
- [ ] Has appropriate unit tests.

Associated to feature request - [Azure Active Directory (AAD) authentication support in SQL Server input plugin](https://github.com/influxdata/telegraf/issues/8808#issue-801695311)

Co-authored-by: Sven Rebhan <36194019+srebhan@users.noreply.github.com>
2021-04-21 11:02:07 -05:00
Sven Rebhan 8e7da355b3
Linter fixes (unhandled errors) -- Part 1 (#8992) 2021-04-08 11:43:39 -05:00
Mattias Jiderhamn 871447b22c
input/sqlserver: Add service and save connection pools (#8596) 2021-03-29 11:22:36 -04:00
Samantha Wang 5423e7a049
update: inputs.sqlserver support version in readme (#9040) 2021-03-24 13:42:58 -07:00
Paweł Żak 5de640b855
Linter fixes - unconvert, revive:empty-lines, revive:var-naming, revive:unused-parameter (#9036)
Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-24 11:27:46 -04:00
Cláudio Silva 9aaaf72a96
SQLServer - Fixes sqlserver_process_cpu calculation (#8549) 2021-03-23 17:45:27 -04:00
Paweł Żak 38c61c07ef
Revive fixes - part 4: (#8981)
empty-lines

Co-authored-by: Pawel Zak <Pawel Zak>
2021-03-12 14:21:51 -06:00
Connor Quagliana 30e189df16
Add an optional health metric for the sqlserver input plugin (#8544) 2021-03-11 16:07:38 -05:00
Madhushree Sreenivasa 35b75e959c
Filter data out from system databases for Azure SQL DB only (#8849)
* Excluding data from system databases like msdb,model which are not
relevant for monitoring in Azure SQL

Please enter the commit message for your changes. Lines starting

* Addressing review comments to handle null scenarios
2021-03-11 15:04:09 -06:00
Avinash Nigam cf9ae34d03
SqlServer - fix for default server list (#8655) 2021-03-02 14:55:28 -05:00
Paweł Żak 8a6907a186
Revive fixes - part 3 (#8872)
* * Revive fixes regarding following set of rules: [rule.var-naming]
2021-03-01 16:04:35 -05:00