Commit Graph

49 Commits

Author SHA1 Message Date
kaidaguerre
0db7768ce9 Improve startup performance with high plugin count - parallelize plugin startup. Closes #4183 2024-03-13 12:15:04 +00:00
Binaek Sarkar
94e8008eb7 Simplifies available port check. Closes #4030 2024-01-23 09:27:39 +00:00
Binaek Sarkar
c43a8d2fe8 Rationalises uses of hash functions. Closes #2673 2024-01-02 11:42:49 +00:00
Binaek Sarkar
3f84a2630a Fixes issue where 'cloud-*' needed to be global flags. Closes #3923 2023-09-28 15:20:55 +01:00
Puskar Basu
01097a27e6 Warn users to not have mod.sp files in home directory. Closes #2321 2023-09-22 18:07:55 +01:00
Binaek Sarkar
671baeb36a Fixes issue where multiple 'service start' would error even on same listen params. Closes #3861 2023-09-18 16:24:47 +01:00
Binaek Sarkar
2f889e462e Merge branch 'v0.20.x' 2023-09-01 23:05:16 +05:30
Binaek Sarkar
b0fa6b6cbf Rotate SSL certificates before server starts, if necessary. Closes #3599 2023-09-01 22:57:58 +05:30
Puskar Basu
6aaf9bc5be Update 'sperr' import references. Closes #3748 2023-08-17 13:52:04 +05:30
Puskar Basu
5995e35937 Fix issue where interactive prompt exits/crashes when the code panics. Closes #3713 2023-08-07 11:23:31 +01:00
kaidaguerre
b06348757a Fix linting warnings
---------

Co-authored-by: Binaek Sarkar <binaek@turbot.com>
Co-authored-by: Puskar Basu <puskar@turbot.com>
2023-07-06 16:08:23 +01:00
Binaek Sarkar
448ee3b401 Fixes issue where 'service start' is not listening on 'network' by default. Closes #3593 2023-07-06 16:05:47 +01:00
kaidaguerre
43dd6c7a61 Refactor Plugin manager:remove support for plugins which do not support multiple connections, simplify startup.
If plugin process crashes, benchmark or dashboard runs can leave running plugin processes after shutdown. Fixes #3598
2023-06-21 16:18:49 +01:00
Puskar Basu
ce1792ff1c Updated sample config file behaviour as per the proposed changes. Closes #3431 2023-06-09 10:26:24 +01:00
Puskar Basu
e6ed76ca47 Add plugin list acceptance tests. Closes #3519 2023-06-05 15:17:26 +01:00
Patrick Decat
51f43f108b Allow selection of hosts for steampipe service. Closes #3505 2023-06-01 17:14:56 +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
Aaronstotle
17a00353ae Add check to the mod init function so users are aware if it's run in the home directory or if there are a large number of non-mod files in the path. Closes #2562 2023-04-06 09:10:41 +01:00
Puskar Basu
8cb5935a36 Add query column in introspection tables to populate FullName if a QueryProvider references a named query. Closes #3161 2023-03-13 15:32:51 +00:00
kaidaguerre
7c2ae6da93 when executing a query as a dashboard, name the dashboard custom.dashboard.sql_<query_hash>. Closes #3150 2023-02-28 18:19:13 +00:00
kaidaguerre
dd76a500e5 When acquiring a session, if the db schemas have changed, reload SteampipeConfig and re-set required search path. Closes #3137 2023-02-22 14:50:53 +00:00
Puskar Basu
51f557cf60 Fixes issue where autocomplete does not quote table names that need to be quoted. Closes #3065 2023-02-08 11:14:39 +00:00
kaidaguerre
0a391e9636 Update dashboard states to "initialized", "blocked", "running", "complete", "error", "canceled". Closes #2939 2023-01-04 14:08:56 +00:00
Mike Burgess
f1888f3d69 Show dashboard panel log in panel detail. Closes #2895. (#2902) 2022-12-21 12:46:42 +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
d2f8541385 Update the update checker to run asynchronously. Closes #2770 2022-11-25 11:26:50 +00:00
Binaek Sarkar
18a1c51597 Upgrades 'pgx' to v5. Closes #2776 2022-11-23 17:34:21 +00:00
kaidaguerre
4f90440d26 Add support for with blocks. Closes #2772 2022-11-21 16:25:51 +00:00
kaidaguerre
df4779744b Escape query args when resolving prepared statement execution SQL. Closes #2766 2022-11-18 11:26:35 +00:00
Binaek Sarkar
5b33e8c891 Fixes issue where WSL check would fail for 'darwin'. Closes #2668 2022-11-03 13:16:27 +00:00
Puskar Basu
7228dedca2 Fix unintuitive errors from steampipe plugin commands when a plugin (version) is missing. Closes #2361 2022-11-03 11:09:45 +00:00
Binaek Sarkar
efea8a72f2 Fixes issue where 'Alt` keyboard combinations would error in WSL. Closes #2549 2022-11-02 15:40:13 +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
Binaek Sarkar
7374fad40d Fixes issue where progress bars are not sorted for plugin update. Closes #2501 2022-10-31 15:02:19 +00:00
kaidaguerre
b77922d95a When passing empty array as variable, cast to correct type if possible. Closes #2094 2022-10-27 18:31:33 +01:00
Binaek Sarkar
4c490f1ecc Fixes issue where the CLI would fail to connect to local service if there are credential files in ~/.postgresql . Closes #1417 2022-10-27 17:46:22 +01:00
kaidaguerre
d3830b1335 Add steampipe login command. Closes #2583 2022-10-25 17:33:35 +01:00
kaidaguerre
0e27f38202 Update workspace profile parsing to load options blocks. Include these options values in viper with correct precedence. Closes #2579 2022-10-24 13:58:50 +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
947a113eb3 Reduce the max frequency of connection config changed events to every 4 second. Log refreshConnection output. Closes #2535 (#2537) 2022-10-17 13:25:42 +01:00
kaidaguerre
397c951fe2 Refactor control export to use ExportManager. Closes #2515 2022-10-12 16:25:31 +01:00
kaidaguerre
1dc28f4681 Add --source-snapshot option to dashboard command. Closes #2503. (#2491) 2022-10-11 23:36:27 +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
Puskar Basu
1647311a87 Fix the alignment of plugin update/install outputs. Closes #2417 2022-09-05 11:34:33 +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
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