Vincent Bernat
67703cc61e
console: use templates to build SQL query
...
This is needed if we want to be able to mix use of several tables
inside a single query (for example, flows_1m0s for a part of the query
and flows_5m0s for another part to overlay historical data).
Also, the way we handle time buckets is now cleaner. The previous way
had two stages of rounding and was incorrect. We were discarding the
first and last value for this reason. The new way only has one stage
of rounding and is correct. It tries hard to align the buckets at the
specified start time. We don't need to discard these values anymore.
We still discard the last one because it could be incomplete (when end
is "now").
2022-08-09 11:45:40 +02:00
Vincent Bernat
927a9f3cfd
console: display running version
2022-07-21 12:57:32 +02:00
Vincent Bernat
dff8773c7f
console: move ethertypes for IPv4/IPv6 to helpers package
2022-07-07 02:43:22 +02:00
Vincent Bernat
8be1bca4fd
license: AGPL-3.0-only
...
```
git ls-files \*.js \*.go \
| xargs sed -i '1i // SPDX-FileCopyrightText: 2022 Free Mobile\n// SPDX-License-Identifier: AGPL-3.0-only\n'
git ls-files \*.vue \
| xargs sed -i '1i <!-- SPDX-FileCopyrightText: 2022 Free Mobile -->\n<!-- SPDX-License-Identifier: AGPL-3.0-only -->\n'
```
2022-06-29 11:42:28 +02:00
Vincent Bernat
bf0c474726
console: implement "filter/saved" endpoints
2022-06-13 09:50:43 +02:00
Vincent Bernat
b65d78ab1b
console: turn authentication into a proper component
2022-06-09 19:55:57 +02:00
Vincent Bernat
f5252ce077
console: rework a bit user management
...
Notably, HTTP headers are configurable and a provider is used for the
frontend side.
2022-05-31 17:03:00 +02:00
Vincent Bernat
9567de4ca5
console: add minimal user management
2022-05-30 22:24:18 +02:00
Vincent Bernat
4114568600
console/filter: add completion endpoint
2022-05-26 15:58:52 +02:00
Vincent Bernat
2d4f5214bd
tests: handle JSON in TestHTTPEndpoints
2022-05-26 10:40:55 +02:00
Vincent Bernat
bd3c79c057
console: endpoint for sankey graph
2022-05-22 16:48:36 +02:00
Vincent Bernat
c23e5c1687
console/frontend: use static generated content for fields
...
This is more reliable and efficient but it also remove a bug with
equality comparison failing and thus inability to remove entries.
Also, sorted exactly as we want.
2022-05-18 08:49:03 +02:00
Vincent Bernat
34f153d9cd
console: dynamically fetch available dimensions
2022-05-16 10:19:53 +02:00
Vincent Bernat
eefd7088b9
console: remove /fields endpoint as we don't use it
2022-05-15 15:24:50 +02:00
Vincent Bernat
04d818e00f
console/frontend: add a selector for dimensions
2022-05-15 15:19:55 +02:00
Vincent Bernat
2319262340
console: add visualize tab
...
Currently, there is no controls available.
2022-05-12 14:27:18 +02:00
Vincent Bernat
05276dbc63
console: make use of consolidated tables
2022-05-10 09:30:33 +02:00
Vincent Bernat
370cd6f961
console/frontend: add a graph on the homepage
2022-04-21 16:07:01 +02:00
Vincent Bernat
506bca0291
console: add "top" widgets API
2022-04-14 16:00:35 +02:00
Vincent Bernat
793e55db52
console: add an API to get flow rate
2022-04-14 13:50:00 +02:00
Vincent Bernat
12344a3684
console: add an API to get list of exporters
2022-04-14 10:22:57 +02:00
Vincent Bernat
4be33c70ba
console: add an API to get the last received flow
2022-04-14 10:06:01 +02:00
Vincent Bernat
50ca1987b2
http: use Gin web framework to reduce API boilerplate
2022-04-10 22:13:38 +02:00
Vincent Bernat
bbe6fdb635
console: remove proxy to Grafana
...
This is not really our job to do that.
2022-04-07 11:07:38 +02:00
Vincent Bernat
ce7fce32ba
console: switch to Vue.JS + Tailwind CSS + Headless UI for the frontend
2022-04-06 21:03:19 +02:00
Vincent Bernat
1dc253764d
global: split Akvorado into 3 services
2022-04-01 20:21:53 +02:00