kaidaguerre
86246ed927
Only call RefreshConnections on service startup or after a file watching event. Closes #3229
2023-03-15 16:33:23 +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
16fd991ee1
Fix tuple concurrently updated error when running multiple instances of steampipe dashboard concurrently. Closes #3188
...
* Add transaction to executeSqlAsRoot
* Add function executeInTransaction
* Add locking to ensureCommandSchema
* Add locking to ensureTempTablePermissions
* Add locking round schema update queries
2023-03-07 10:29:42 +00:00
kai
c1be509141
Add info logging to plugin manager
2023-02-22 14:53:32 +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
Binaek Sarkar
7a16ec8c57
Updates usages of 'go-kit; for changes in Filewatcher and String/Hash helpers. Closes #2779
2022-11-30 10:12:03 +00:00
Binaek Sarkar
6d086a6321
When starting a plugin process, pass a SecureConfig, to silence the nil SecureConfig error. Closes #2657
2022-11-02 11:53:59 +00:00
kai
dec933c09e
Remove warn logging.
2022-10-31 11:50:54 +00:00
kaidaguerre
92e43d0e07
Fix plugin-manager NRE when plugin startup times out. Closes #2546
...
Add plugin name to runningPlugin and use when building the timeout error.
2022-10-18 13:13:12 +01:00
kaidaguerre
028d46c8ff
Revert connection watching min-interval. Remove filewatcher from utils and and use go-kit filewatcher instead.
2022-10-17 22:07:21 +01:00
kaidaguerre
ef845286c1
Add support for sharing snapshots. Add snapshot output and export format for query and check. Add ability to run named dashboards. #2473
2022-10-05 15:30:57 +01: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
kai
8fed20c2ac
Fix connection watching only adding first changed connection config to the payload of the UpdateConnectionConfigs call. Closes #2395
2022-08-31 11:08:05 +01:00
kaidaguerre
3e43fa052c
Fix UpdateConnectionConfigs call to pass the new connection for changed connections (currently the old connection is passed). Closes #2349
2022-08-22 17:27:14 +01:00
kaidaguerre
917da3b4dc
Fix race condition in plugin manager leading to multiple instances of a plugin being created when running a benchmark using an aggregator connection. Closes #2325
2022-08-10 18:38:42 +01:00
kaidaguerre
e9b84104a7
Connection watching fails to set connection config for legacy plugins. Closes #2314
2022-08-09 17:46:40 +01:00
kai
d85982b0f3
Update Max Cache Size env var to STEAMPIPE_CACHE_MAX_SIZE_MB
2022-08-04 20:46:51 +01:00
kaidaguerre
76025788e3
Connection config watching failing to add connection schema when connections are added. Closes #2295
2022-08-04 20:39:18 +01:00
kaidaguerre
e838c8b1f9
Enable GODEBUG madvdontneed=1 to ensure OS reclaims memory immediately
2022-07-27 19:37:18 +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
Puskar Basu
9f7e408e96
Maintain backward and forward compatibility during state and version file migrations. Closes #1913
2022-04-26 11:34:35 +01:00
kaidaguerre
cb207a6880
Fix file migration being applied repeatedly after new install. Closes #1870
2022-04-14 16:17:58 +01:00
Puskar Basu
c4ff352c41
Migrate all json config files to use snake case property names. Closes #1730
2022-04-12 17:23:29 +01:00
Puskar Basu
200f70a822
Fix unit tests. Update acceptance test workflow to run them correctly. Closes #1611
2022-03-17 11:33:57 +00:00
kai
f85c76b139
Update plugin manager to remove plugin from map if startup fails. Prevents timeout when retrying to start a failed plugin. Closes #1631
2022-03-10 16:05:08 +00:00
kai
d11a4f4fa6
Remove unneeded logging
2022-03-10 13:32:30 +00: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
Binaek Sarkar
4ea7167040
Fix issue where plugin-manager becomes unstable if plugins crash. Closes #1453
2022-03-07 16:25:15 +00:00
Binaek Sarkar
5fa20150fa
Adds support for starting dashboard server with service start ( #1472 )
2022-02-21 16:15:19 +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
Puskar Basu
f2d56ddeb8
Fix issues reported by the 'unused', 'staticcheck', 'gosimple' linters. Closes #1360
2022-01-31 16:00:54 +00:00
Gábor Lipták
31ff1f037e
Cleanup deadcode ( #1299 )
...
Signed-off-by: Gábor Lipták <gliptak@gmail.com >
2022-01-20 14:28:05 +00:00
Binaek Sarkar
b4cf62d3a0
Fixes issue in plugin manager where plugin shutdown and process killing messages were logging in at WARN level. Closes #1309
2022-01-18 16:25:23 +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
Binaek Sarkar
984f2795c5
plugin update now checks installed versions before updating. Increase timeout for update request. Closes #216 . Closes #234
2021-03-03 12:39:13 +00:00
Binaek Sarkar
c0517526a5
Change plugin update URL to hub.steampipe.io. Closes #201
2021-02-19 20:26:40 +00:00
Binaek Sarkar
21d2f7d3e8
Plugin update and plugin version check. Closes #164 . Closes #176 . Closes #177 .
2021-02-18 15:26:46 +00:00
kai
5df9c73d8d
update spacing for plugin install output. #93
2021-02-04 15:16:55 +00:00
kaidaguerre
dbc19fbd54
Show link to plugin docs after install. Update the welcome message. Closes #53
2021-01-28 13:42:40 +00:00
kai
dbd4621af4
Initial commit
2021-01-19 16:46:22 +00:00