Puskar Basu
3f4eaae1a8
Fix db client deadlocks with non-blocking cleanup and RW locks ( #4918 )
2025-12-16 21:19:27 +05:30
Puskar Basu
e19d35c457
chore: update module to v2 and bump Go version to 1.24 ( #4597 )
2025-07-07 16:03:56 +05:30
Binaek Sarkar
0387595c36
Update calls to go-kit.ListFiles with the new go-kit.ListFilesWithContext. Closes #3884
2024-01-08 11:45:29 +00:00
kaidaguerre
6f051ea463
Do not add connections in error to plugin manager connection map. Closes #3893
2023-09-22 18:12:29 +01:00
kaidaguerre
f232b14f06
Add support for multiple instances of the same plugin version to execute. Closes #3863
2023-09-18 15:39:17 +01:00
Binaek Sarkar
a786d9292a
Add rotates log files. Closes #3823 . Closes #3825
2023-09-15 12:23:27 +01:00
kaidaguerre
7feb305fde
Provide mechanism for plugin manager to send warnings back to CLI. Closes #3603 ( #3835 )
2023-09-13 15:34:15 +01:00
kaidaguerre
f041597497
Add support for plugin connection config and options blocks. Add options and env var configuration of max memory. Closes #3807
2023-09-06 15:59:13 +01:00
kaidaguerre
2a86d08445
Add support to retrieve plugin rate limiter definitions and use to populate steampipe_rate_limiter table. Closes #3805 ( #3803 )
2023-09-06 13:28:22 +01:00
Binaek Sarkar
08b447a261
Differentiate between user and system queries using application name. Closes #3600
2023-08-25 16:50:27 +01:00
kaidaguerre
202cb68692
Add HCL support for defining rate limiters, with filewatching as per connection config. Closes #3746
2023-08-11 14:24:44 +01:00
Binaek Sarkar
8e73030a0e
Fixes issue with the plugin manager where multi line logs were not coming up. Closes #3706 . Closes #3678 .
2023-08-09 13:08:35 +01:00
kaidaguerre
40804a3201
Execute RefreshConnections asyncronously and optimise for high connection count. Add connection_state table.
...
- Execute RefreshConnections asyncronously
- Add connection_state table to indicate the loading state of connections
- Optimise RefreshConnections by cloning connection schemas
- Add locking to ensure only a single instance of RefreshConnections runs
- Start executing queries without waiting for connections to load, add smart error handling to wait for required connection
- Optimise autocomplete for high connection count
- Autocomplete and inspect data available before all conections are refreshed
- Update file watcher to respond to CHMOD, so thaat it pickes up deletion of file contents
Closes #3394
Closes #3267
2023-05-10 09:05:08 +01:00
kai
d1e677f220
Merge branch 'v0.19.x'
...
# Conflicts:
# pkg/version/version.go
2023-04-27 15:14:05 +01:00
kai
25949522c4
Fix connection validation warning following a file watcher event causing plugin manager to crash with unhandled signal. Closes #3371
2023-04-27 15:05:47 +01:00
Binaek Sarkar
be36276fd8
Add deprecation warnings for connection.options "connection" and global terminal options. CLoses #3246
2023-03-23 14:43:06 +00:00
Binaek Sarkar
17306488fc
Fixes issue where fdw was not updated for 'service restart' command. Closes #3172
2023-03-10 12:33:59 +00:00
kai
9358051bed
Fix Service Stop failing if invoked directly after a schema change notification. Closes #3206
2023-03-09 15:55:43 +00:00
kai
948d70388f
Update executeSqlInTransaction to rollback transaction in case of error
...
Do not create a new client in pluginManager.OnConnectionsChanged, instead pass a client in.
Do not pass appname to plugin manager command - instead plugin manager adds prefix the pg app name. #3184 . #3185
2023-03-08 10:56:29 +00:00
kaidaguerre
075fafec09
Use single Steampipe Postgres notification channel ( #3191 )
2023-03-07 17:34:41 +00:00
kaidaguerre
2171ce66ba
Fix Postgres error "cached plan must not change result type" when dynamic plugin schema changes. Update interactive .inspect and autocomplete based on changes to connection config or dynamic schema updates. Closes #3184 . Closes #3185
2023-03-03 18:45:40 +00:00
kaidaguerre
34bea3d1ef
Add support for aggregator connections with dynamic tables. Closes #2886
2023-01-27 19:47:43 +00:00
kaidaguerre
dbd1d10fcc
Add support for plugin sdk v5, with plugin message stream - support update of dynamic plugin schema based on file events. Closes #2767
2022-11-30 10:50:46 +00:00
kaidaguerre
404dd35e21
Update database code to use pgx interface so we can leverage the connection pool hook functions to pre-warm connections. Closes #2422 ( #2438 )
...
* Provide feedback for failed prepared statements
* Move error functions to error_helpers
* Make maintenance client retriable
2022-10-05 12:38:57 +01:00
kaidaguerre
305fb9107b
Add support for plugins to handle multiple connections. Closes #2262
2022-07-22 14:53:54 +01:00
kaidaguerre
5193c70395
Restructure steampipe repo to use pkg folder. Closes #2204
2022-06-27 11:36:03 +01:00
kai
c560a65096
Update plugin manager logging
2022-03-09 15:15:04 +00:00
kaidaguerre
a4976c3dc5
Fix connection file watching. Closes #1469
2022-03-08 16:32:06 +00:00
kaidaguerre
01c4b4fc43
Update steampipe-plugin-sdk version to v3. Closes #1445
2022-02-14 15:31:13 +00:00
Binaek Sarkar
742879fc53
Create and use a $STEAMPIPE_INSTALL_DIR/tmp for oci installations. Closes #1375
2022-02-08 12:13:35 +00:00
Binaek Sarkar
3f7344c314
Fixes issue where plugins were logging using a different time format from FDW and Database. Closes #927
2022-01-20 14:19:58 +00:00
kaidaguerre
efbebd99ee
Decouple spinner display code from database and execution layer. Closes #1290
2022-01-06 11:54:18 +00:00
kaidaguerre
e0ff19a280
Update package naming to be consistent and follow Go standards. Closes #1282
...
General code spring cleaning:
* move file paths from `consts` package to `filepaths`
* move InitData and ExportData to query and control packages
2022-01-04 12:28:36 +00:00
kaidaguerre
c3ddd658af
Update plugin manager config watcher tro update plugin manager config before refreshing connections before updating plugin manager with the modified config. Closes #1163
2021-11-23 10:37:15 +00:00
kaidaguerre
8d7d2b6b04
Remove daemon process. Closes #1146
2021-11-18 17:57:06 +00:00