Hopeit Engine Apps Visualizer Plugin
Project description
hopeit.engine apps-visualizer plugin
This library is part of hopeit.engine:
Install using hopeit.engine extras [apps-visualizer]:
pip install hopeit.engine[apps-visualizer]
Include config-manager plugin config file when running hopeit_server
in addition to your existing config files for each process/server that needs to be monitored.
hopeit_server --port=8020 --config-files=server-config.json,plugins/ops/config-manager/config/plugin-config.json,my-app-config.json
Export list of hosts to connect to, and run a new hopeit_server instance with apps-visualizer plugin
export HOPEIT_APPS_VISUALIZER_HOSTS="http://host:8020,in-process"
hopeit_server --port=8098 --config-files=server-config.json,plugins/ops/apps-visualizer/config/plugin-config.json --api-file=plugins/ops/apps-visualizer/api/openapi.json
The first host in the list, specifies to monitor apps running in
http://host:8020
by connecting in intervals to the server through config-manager plugin endpoints.
Using
in-process
as host name local process running apps-visualizer can be monitored also without network load.
Instead of using an environment variable, list of hosts can be directly added to a customized version of plugin-config.json
Visualize App events diagram using url:
http://host:8098/ops/apps-visualizer
To enable Live! events activity visualization, configure and start an instance of log-streamer
:
Copy config/plugin-config.json
and customize parameters to match your runtime environment.
Run a hopeit_server
instance with log_streamer, in each node where you run your applications:
hopeit_server --port=8099 --start-streams --config-files=server-config.json,customized-plugin-config.json
Now when you can switch from
Static
toLive
view clicking on the label at the top right of the Apps Visualizer page
If you want also to monitor log-streamer app, you can set:
export HOPEIT_APPS_VISUALIZER_HOSTS=$HOPEIT_APPS_VISUALIZER_HOSTS,http://host:8099
and re-run apps-visualizer using hopeit_server
command above.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for hopeit_apps_visualizer-0.25.0b2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02d42cc9793daa9dc295da21b8a898ead9b56f76391ee0ea527eac4b793f61ea |
|
MD5 | 5195924ac972935c6786e55108ad79cb |
|
BLAKE2b-256 | 2a3e7c0787fe81da618406e27064896cf35eae3de8c8e6c3c929c513d1de2179 |
Hashes for hopeit.apps_visualizer-0.25.0b2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 73fc43f845ac177011e6a51e79d32d905d466cd39441a6595c9f5688a91efb31 |
|
MD5 | 74a79dd0482fede9f07453efda5c4834 |
|
BLAKE2b-256 | 839e254042b2962f8868ec82e4fa45fff4bc33f2f82dbe2a2e74d885364f38b9 |