Skip to main content

Hopeit Engine Apps Visualizer Plugin

Project description

# hopeit.engine apps-visualizer plugin


This library is part of hopeit.engine:

> check: https://github.com/hopeit-git/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` to `Live` 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

hopeit_apps_visualizer-0.25.2.tar.gz (16.3 kB view details)

Uploaded Source

Built Distribution

hopeit.apps_visualizer-0.25.2-py3-none-any.whl (18.2 kB view details)

Uploaded Python 3

File details

Details for the file hopeit_apps_visualizer-0.25.2.tar.gz.

File metadata

File hashes

Hashes for hopeit_apps_visualizer-0.25.2.tar.gz
Algorithm Hash digest
SHA256 37116e345b910e6343a88e7beaca7cdc367417ba2fc1a53696c3e72bf8e13bd1
MD5 0d361df9a7b68bd0d6048db3c99a6eeb
BLAKE2b-256 eb6271ef89862273cc077651e83027f580dac05c25afba4a8a454d346a3c1c11

See more details on using hashes here.

File details

Details for the file hopeit.apps_visualizer-0.25.2-py3-none-any.whl.

File metadata

File hashes

Hashes for hopeit.apps_visualizer-0.25.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0e6b4cdb0b3fa1c689af76f2d1d16aa2316dc8500fa2997c677a5a5836c87540
MD5 04e043fa12bcebe0ea54e01d3b7d071a
BLAKE2b-256 31e77a91b362b5a7cd73b28aea8323719e8050916c075098722878de05dcb09b

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page