Plotix
Self-managed Kanban tool that converts HTTP metric push into real-time charts.
Plotix is a self-managed metrics Kanban tool. You can post numbers to a topic via an HTTP request, then subscribe to the topic on the web page, and display the data into charts in real time. It is suitable for recording continuously changing values such as server load, interface time consumption, temperature, power, number of tasks, and business indicators. ##First use After opening the application, first go to the Settings page in the upper right corner and add the current Plotix service address in the Servers area. The example in the input box of the page will automatically use the root address of the application accessed by the current browser, and will not write down the domain name of a certain micro service. The root address of the current application should be filled in, for example: ```text https://plotix. <Your micro service name>. heiyu.space ``` ##Publishing data Go to the Publish page: 1. Select the server you just added. 2. Enter a topic name, such as `cpu`,`memory`,`temperature`. 3. Enter a number, such as `60`. 4. Click Publish. Topic can be understood as an indicator channel. The first time you publish data to a topic, Plotix automatically creates it. You can also publish multiple groups of fields, such as: ```json {"cpu":60,"memory":72} ``` This way, the same topic will display multiple series. ##Subscribe to charts Go to the Subscribe page: 1. Select the server. 2. Enter the topic you want to view, such as `cpu`. 3. Click Subscribe. 4. Go back to the Home page to view the chart. As long as you continue to publish data to the same topic in the future, the chart will be automatically updated. ##Publish data via command Plotix supports publishing data using HTTP requests. The standard form is as follows: ```bash curl -d "60" https://plotix. <Your micro service name>. heiyu.space/api/public/cpu ``` Multi-field example: ```bash curl -d '{"cpu":60,"memory":72}' https://plotix. <Your micro service name>. heiyu.space/api/public/server ```