Answers: <p>I am currently looking into <a href="http://www.chartjs.org/" rel="nofollow noreferrer">http://www.chartjs.org/</a>. It looks like that this is able to create graphs. I will add more to this answer if I have created a graph using this library.</p>
  
Answers: CC BY-SA 4.0
Answers: 2018-05-04T07:53:58.357Z
Answers: Consider [Plotly](https://plot.ly) too, they have various open source components you can use
Answers: Gaius
Answers: CC BY-SA 4.0
Answers: 2018-05-02T21:03:16.363Z
Answers: 2018-05-02T21:03:16.363Z
Answers: 030
Body: <p>I am planning to create a microservice that reads a database and shows a graph. Are there any people who have created such a service? What are things to consider before starting? I am thinking about django and <a href="http://www.baeldung.com/spring-graphql" rel="nofollow noreferrer">Springboot</a>. On the other hand, perhaps it is from a "do not reinvent the wheel" perspective better to choose something as graphite, but then still has to configure it.</p>
  
  <p>I am basically seeking for a tool that is able to read a REST interface and shows the results in a graph or otherwise a framework preferably written in Kotlin, golang or java.</p>
  
  <p>The aim is to show how fast something is increasing in a graph. At a certain moment I also would like to show the R2, i.e. consistency of the points, slope and so on.</p>
  
  <p>While writing this question, at a certain moment I would also like to predict whether something will be increased in the near future, i.e. applying data science.</p>
  
  <p>A cron job runs every night and inserts data to the Postgres database. A part of the table looks as follows:</p>
  
  <pre><code>ID = 61
  PACKAGE_NAME = FIREFOX
  DATE = 2018-04-29
  VERSION = 59.0.2                                            
  
  ID = 62
  PACKAGE_NAME = TOMCAT8
  DATE = 2018-04-29
  VERSION = 8.0.51                                            
  
  ID = 63
  PACKAGE_NAME = TOMCAT85
  DATE = 2018-04-29
  VERSION = 8.5.30                                            
  
  ID = 64
  PACKAGE_NAME = TOMCAT9
  DATE = 2018-04-29
  VERSION = 9.0.7                                             
  
  ID = 65
  PACKAGE_NAME = FIREFOX
  DATE = 2018-04-30
  VERSION = 59.0.2                                            
  
  ID = 66
  PACKAGE_NAME = TOMCAT8
  DATE = 2018-04-30
  VERSION = 8.0.51                                            
  
  ID = 67
  PACKAGE_NAME = TOMCAT85
  DATE = 2018-04-30
  VERSION = 8.5.30                                            
  
  ID = 68
  PACKAGE_NAME = TOMCAT9
  DATE = 2018-04-30
  VERSION = 9.0.7
  </code></pre>
  
  <p>This data has to be displayed in a graph like <a href="https://www.tiobe.com/tiobe-index/" rel="nofollow noreferrer">Tiobe</a>:</p>
  
  <p><a href="https://i.sstatic.net/SYXJx.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/SYXJx.png" alt="enter image description here"></a></p>
  
Tags: <microservices>
Title: What are off-the-shelf options for creating a microservice that consults a REST interface and shows the outcome in a graph?
UserDisplayName: 030
ThreadText: # What are off-the-shelf options for creating a microservice that consults a REST interface and shows the outcome in a graph?
  
  (Asked by: username_0 on 2018-03-02)
  
  I am planning to create a microservice that reads a database and shows a graph. Are there any people who have created such a service? What are things to consider before starting? I am thinking about django and [Springboot](http://www.baeldung.com/spring-graphql). On the other hand, perhaps it is from a "do not reinvent the wheel" perspective better to choose something as graphite, but then still has to configure it.
  
  I am basically seeking for a tool that is able to read a REST interface and shows the results in a graph or otherwise a framework preferably written in Kotlin, golang or java.
  
  The aim is to show how fast something is increasing in a graph. At a certain moment I also would like to show the R2, i.e. consistency of the points, slope and so on.
  
  While writing this question, at a certain moment I would also like to predict whether something will be increased in the near future, i.e. applying data science.
  
  A cron job runs every night and inserts data to the Postgres database. A part of the table looks as follows:
  
  ```
  ID = 61
  PACKAGE_NAME = FIREFOX
  DATE = 2018-04-29
  VERSION = 59.0.2                                            
  
  ID = 62
  PACKAGE_NAME = TOMCAT8
  DATE = 2018-04-29
  VERSION = 8.0.51                                            
  
  ID = 63
  PACKAGE_NAME = TOMCAT85
  DATE = 2018-04-29
  VERSION = 8.5.30                                            
  
  ID = 64
  PACKAGE_NAME = TOMCAT9
  DATE = 2018-04-29
  VERSION = 9.0.7                                             
  
  ID = 65
  PACKAGE_NAME = FIREFOX
  DATE = 2018-04-30
  VERSION = 59.0.2                                            
  
  ID = 66
  PACKAGE_NAME = TOMCAT8
  DATE = 2018-04-30
  VERSION = 8.0.51                                            
  
  ID = 67
  PACKAGE_NAME = TOMCAT85
  DATE = 2018-04-30
  VERSION = 8.5.30                                            
  
  ID = 68
  PACKAGE_NAME = TOMCAT9
  DATE = 2018-04-30
  VERSION = 9.0.7
  
  ```
  
  This data has to be displayed in a graph like [Tiobe](https://www.tiobe.com/tiobe-index/):
  
  [![enter image description here](https://i.sstatic.net/SYXJx.png)](https://i.sstatic.net/SYXJx.png)
  
  **Tags:** microservices
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2018-05-02. Score: 1 | Accepted answer
  
  I am currently looking into <http://www.chartjs.org/>. It looks like that this is able to create graphs. I will add more to this answer if I have created a graph using this library.
  
  > **Comments:**
  > **username_1**: Consider [Plotly](https://plot.ly) too, they have various open source components you can use  
  
  ---
  
  