Commit Graph

32 Commits

Author SHA1 Message Date
79d860cee7 make computation of mean value optional 2017-09-23 12:42:22 +02:00
c2ee632f76 plot exactly the selected time frame
Before gnuplot would only plot the range with values.
But that is not really helpful, when you navigate with the new
navigation buttons.
2017-04-22 11:23:13 +02:00
5ab6309fc5 reduce size of x-axis labels 2017-04-19 20:02:02 +02:00
ac1ee20046 replace ludb with data-store
LuDB has a few disadvantages. 
  1. Most notably disk space. H2 wastes a lot of valuable disk space.
     For my test data set with 44 million entries it is 14 MB 
     (sometimes a lot more; depends on H2 internal cleanup). With 
     data-store it is 15 KB.
     Overall I could reduce the disk space from 231 MB to 200 MB (13.4 %
     in this example). That is an average of 4.6 bytes per entry.
  2. Speed:
     a) Liquibase is slow. The first time it takes approx. three seconds
     b) Query and insertion. with data-store we can insert entries 
        up to 1.6 times faster.

Data-store uses a few tricks to save disk space:
  1. We encode the tags into the file names.
  2. To keep them short we translate the key/value of the tag into 
     shorter numbers. For example "foo" -> 12 and "bar" to 47. So the
     tag "foo"/"bar" would be 12/47. 
     We then translate this number into a numeral system of base 62
     (a-zA-Z0-9), so it can be used for file names and it is shorter.
     That way we only have to store the mapping of string to int.
  3. We do that in a simple tab separated file.
2017-04-16 09:07:28 +02:00
ce44c3d8d6 add logarithmic scaling for the y-axis
Often we have a few very high values and a lot
low values. With a linearly scaled y-axis the
plot is mostly useless.
2017-04-12 19:59:35 +02:00
8baf05962f group by multiple fields
Before we could only group by a single field. But it is acutally
very useful to group by multiple fields. For example to see the
graph for a small set of methods grouped by host and project.
2017-04-12 19:16:19 +02:00
72436e9c8c extract utility method
a method to send json over tcp can be used by several tests
2017-04-08 08:21:50 +02:00
7b92a306f3 remove warning by using the logger 2017-04-02 11:15:41 +02:00
5fb285a4b4 gnuplot needs forward slashes even on windows 2017-04-01 19:15:28 +02:00
46ce445010 return information about the plotted sequences
this information can be used for tests
2017-04-01 18:27:43 +02:00
2875237272 replace the dateTo with an interval
I hope an interval is easier to handle than having 
to change two date fields
2017-03-27 20:07:32 +02:00
726258020f make it possible to specify the time in the range 2017-03-27 19:38:02 +02:00
364997e611 show better error message, when no data points are found 2017-03-26 17:30:50 +02:00
c245a1f7d4 fix typo that broke the gnuplot integration 2017-03-20 18:52:48 +01:00
cc71a32d27 make location of gnuplot configurable 2017-03-19 20:04:07 +01:00
ea905c2315 replace sysout with logger 2017-03-19 09:20:00 +01:00
aadc9cbd21 move TcpIngestor to pdb-ui
and start it in the web application.
Also use the spring way of handling property files.
2017-03-19 08:00:18 +01:00
16f9c92d13 add special logger for throughput metrics
so that we can enable/disable it individually
2017-03-18 10:20:14 +01:00
a01c8b3907 fix flaky test and improve error handling
just ignore invalid entries
2017-03-18 10:14:41 +01:00
3456177291 add date range filter 2017-03-17 11:17:57 +01:00
f178603bc1 add time to x-axis labels only if range is less than two weeks 2017-02-12 19:08:42 +01:00
d137f7c9cb limit the number of plots 2017-02-12 18:17:36 +01:00
becd04ed13 set terminal mode for gnuplot to noenhanced
otherwise labels are parsed as LaTeX
2017-02-12 11:15:37 +01:00
c2e42ea5fb test didn't stop correctly
because I used offer() on a blocking queue of length 1 (chances are
high, that the element won't be added).
2017-02-05 11:21:09 +01:00
3722ba02b1 add slf4j via log4j 2 logging 2017-02-05 09:53:25 +01:00
c283568757 group plots by a single field 2016-12-30 18:45:01 +01:00
62437f384f minor unimportant changes 2016-12-30 13:16:30 +01:00
f520f18e13 leverage the cached pdbwriters
this increased performance from 500 entries per second to 4000.
2016-12-29 19:24:16 +01:00
68ac1dd631 reuse pdb writers 2016-12-28 08:39:20 +01:00
c5f0e8514c remove debug output 2016-12-23 19:28:11 +01:00
bc5d1b0b7b show rendered image
added loading icon
image is scaled to available space
2016-12-21 20:06:11 +01:00
d1e39513f3 create web application 2016-12-21 17:48:36 +01:00