Vincent Bernat
75f6908f71
Revert "common/daemon: add a method to reexec itself"
...
This reverts commit 216786d40e . We don't
really need that if we move logic to cmd package.
2025-09-19 21:53:01 +02:00
Vincent Bernat
9f34f9caf9
common/helpers: return files parsed by yaml.UnmarshalWithInclude
2025-09-19 21:53:01 +02:00
Vincent Bernat
fa9315b9e1
common/daemon: add a method to reexec itself
2025-09-19 21:53:01 +02:00
Vincent Bernat
f735e46665
common/daemon: test if sending SIGINT terminates the component
2025-09-19 21:53:01 +02:00
github-actions[bot]
4dc671aed2
build: update Nix dependency hashes
2025-09-19 03:53:45 +00:00
Vincent Bernat
a2e04a919c
build: fix computation of Nix hash for pnpm deps
...
We have to put a fake hash as pnpmDeps does not fail on change when the
hash is known.
2025-09-18 08:46:17 +02:00
Vincent Bernat
a80257496c
build: only run Go tests during build-go job
2025-09-18 08:21:24 +02:00
Vincent Bernat
a81ae2de94
console/frontend: npm i vite
...
For some reasons, some optional dependencies were removed when removing
license-compliance (done with `pnpm -D uninstall license-compliance`).
2025-09-18 08:17:02 +02:00
Vincent Bernat
a35ca8bc07
build: replace license-compliance with pnpm
...
Less dependencies!
2025-09-18 08:13:08 +02:00
Vincent Bernat
fce383dbf4
build: switch to pnpm
...
It should be a bit more secure to not install scripts by default and to
allow one to update dependencies with a delay. Also, it is faster. The
downside is that it is not usually shipped with npm, but we can download
it through corepack (which is shipped with node). It also has more
builtin features, including patching packages (but we don't need that
anymore).
2025-09-18 07:31:45 +02:00
Vincent Bernat
dab2f78751
build: do not run install scripts with npm
...
We don't need them and they are a bit of a security hazard (but then, we
execute them, so that does not protect much).
2025-09-17 00:12:13 +02:00
Vincent Bernat
82958eee8e
docker: provide a snippet to unset default database configuration
2025-09-16 22:29:15 +02:00
Vincent Bernat
9e697db49a
console/database: move database initialization to Start()
2025-09-16 21:50:09 +02:00
Vincent Bernat
0db8f43b10
common/httpserver: do not connect to Redis before starting component
...
We need to be able to dump the configuration without redis being present.
2025-09-16 21:50:09 +02:00
Vincent Bernat
327a78cc1c
console/frontend: add packageManager for corepack
2025-09-15 05:46:23 +02:00
github-actions[bot]
eb5b39d0e0
build: update Nix dependency hashes
2025-09-14 20:00:51 +00:00
Vincent Bernat
f429eba3d8
cmd: make "akvorado version" shorter
2025-09-14 20:49:38 +02:00
Vincent Bernat
db8b4f2968
docs: remove mention of "version" directive in Kafka configuration
2025-09-14 20:46:22 +02:00
Vincent Bernat
5fedf43ee2
docker: remove copying mime.types in final container
...
It's present in distroless since more than a month.
2025-09-14 20:28:16 +02:00
Vincent Bernat
b920a369ed
docker: rename console-auth-headers middleware to console-auth
...
The idea is that we could replace it with an authenticating
middleware (like OAuth2 Proxy).
2025-09-14 14:43:52 +02:00
dependabot[bot]
43f2087eeb
build: bump github.com/ClickHouse/clickhouse-go/v2 from 2.40.1 to 2.40.3
...
Bumps [github.com/ClickHouse/clickhouse-go/v2](https://github.com/ClickHouse/clickhouse-go ) from 2.40.1 to 2.40.3.
- [Release notes](https://github.com/ClickHouse/clickhouse-go/releases )
- [Changelog](https://github.com/ClickHouse/clickhouse-go/blob/main/CHANGELOG.md )
- [Commits](https://github.com/ClickHouse/clickhouse-go/compare/v2.40.1...v2.40.3 )
---
updated-dependencies:
- dependency-name: github.com/ClickHouse/clickhouse-go/v2
dependency-version: 2.40.3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-14 14:05:24 +02:00
dependabot[bot]
5712c2ab85
build: bump google.golang.org/grpc from 1.75.0 to 1.75.1
...
Bumps [google.golang.org/grpc](https://github.com/grpc/grpc-go ) from 1.75.0 to 1.75.1.
- [Release notes](https://github.com/grpc/grpc-go/releases )
- [Commits](https://github.com/grpc/grpc-go/compare/v1.75.0...v1.75.1 )
---
updated-dependencies:
- dependency-name: google.golang.org/grpc
dependency-version: 1.75.1
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-14 14:05:15 +02:00
Vincent Bernat
2aaf984552
conntrackfixer: fix tests for deprecation of NetworkSettingsBase
2025-09-14 12:22:13 +02:00
dependabot[bot]
a3714a749b
build: bump google.golang.org/protobuf from 1.36.8 to 1.36.9
...
Bumps google.golang.org/protobuf from 1.36.8 to 1.36.9.
---
updated-dependencies:
- dependency-name: google.golang.org/protobuf
dependency-version: 1.36.9
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-14 12:15:57 +02:00
Vincent Bernat
a66ce7cc3e
outlet/kafka: make lag test more robust
...
The consumer may not have started when testing initial lag. Just try a
bit more.
2025-09-14 12:04:04 +02:00
dependabot[bot]
bf52f4720e
build: bump gorm.io/gorm from 1.30.5 to 1.31.0
...
Bumps [gorm.io/gorm](https://github.com/go-gorm/gorm ) from 1.30.5 to 1.31.0.
- [Release notes](https://github.com/go-gorm/gorm/releases )
- [Commits](https://github.com/go-gorm/gorm/compare/v1.30.5...v1.31.0 )
---
updated-dependencies:
- dependency-name: gorm.io/gorm
dependency-version: 1.31.0
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-14 11:48:47 +02:00
dependabot[bot]
5cd67e80c0
build: bump the typescript group in /console/frontend with 2 updates
...
Bumps the typescript group in /console/frontend with 2 updates: [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node ) and [typescript-language-server](https://github.com/typescript-language-server/typescript-language-server ).
Updates `@types/node` from 24.3.1 to 24.3.3
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases )
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node )
Updates `typescript-language-server` from 4.4.0 to 4.4.1
- [Release notes](https://github.com/typescript-language-server/typescript-language-server/releases )
- [Changelog](https://github.com/typescript-language-server/typescript-language-server/blob/master/CHANGELOG.md )
- [Commits](https://github.com/typescript-language-server/typescript-language-server/compare/v4.4.0...v4.4.1 )
---
updated-dependencies:
- dependency-name: "@types/node"
dependency-version: 24.3.3
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: typescript
- dependency-name: typescript-language-server
dependency-version: 4.4.1
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: typescript
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-14 11:47:46 +02:00
dependabot[bot]
ddd239688a
build: bump the vue group in /console/frontend with 2 updates
...
Bumps the vue group in /console/frontend with 2 updates: [vue-tsc](https://github.com/vuejs/language-tools/tree/HEAD/packages/tsc ) and [@vue/language-server](https://github.com/vuejs/language-tools/tree/HEAD/packages/language-server ).
Updates `vue-tsc` from 3.0.6 to 3.0.7
- [Release notes](https://github.com/vuejs/language-tools/releases )
- [Changelog](https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vuejs/language-tools/commits/v3.0.7/packages/tsc )
Updates `@vue/language-server` from 3.0.6 to 3.0.7
- [Release notes](https://github.com/vuejs/language-tools/releases )
- [Changelog](https://github.com/vuejs/language-tools/blob/master/CHANGELOG.md )
- [Commits](https://github.com/vuejs/language-tools/commits/v3.0.7/packages/language-server )
---
updated-dependencies:
- dependency-name: vue-tsc
dependency-version: 3.0.7
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: vue
- dependency-name: "@vue/language-server"
dependency-version: 3.0.7
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: vue
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-09-14 10:09:48 +02:00
Vincent Bernat
4638272b7b
console/frontend: switch to rolldown-vite
2025-09-14 10:06:23 +02:00
Vincent Bernat
97fd8ca2e4
console/frontend: replace eslint by oxlint
2025-09-14 10:06:23 +02:00
Vincent Bernat
e71a343620
console/frontend: submit on Ctrl-Enter while selecting dimensions
2025-09-14 09:47:27 +02:00
Vincent Bernat
fb49bb5be8
console/frontend: remove useless spread operator
2025-09-14 08:58:16 +02:00
Vincent Bernat
77c0ac203d
docker: don't "advertise" ability to have a ClickHouse cluster
...
It does not make sense in the context of a docker compose setup, even
when distributed manually. Keep the file, interested people may find it.
2025-09-14 08:58:16 +02:00
github-actions[bot]
ef7c390e99
build: update Nix dependency hashes
2025-09-14 03:52:47 +00:00
Vincent Bernat
e85ff0ae31
console/frontend: remove patch for echarts
...
And we don't need patch-package anymore!
2025-09-13 07:58:58 +02:00
Vincent Bernat
6258050251
console/frontend: remove patch for sugar-date
...
Move module declaration in env.d.ts.
2025-09-13 07:53:13 +02:00
Vincent Bernat
970fad2e47
common/schema: fix comment about ConsoleTruncateIP
2025-09-13 07:20:48 +02:00
github-actions[bot]
0ad9389934
build: update Nix dependency hashes
2025-09-13 03:50:04 +00:00
Vincent Bernat
f642964c36
build: fix e2e test checking for akvorado_cmd_info metric
2025-09-12 14:55:34 +02:00
Vincent Bernat
7caae8f991
cmd: add a diode to avoid log blocking
2025-09-12 14:39:48 +02:00
Vincent Bernat
cb6b2bd229
console/frontend: remove autoprefixer
...
Not needed anymore since TailwindCSS switched to Oxide.
2025-09-12 14:39:48 +02:00
github-actions[bot]
5e89fbe3ec
build: update Nix dependency hashes
2025-09-12 03:51:08 +00:00
Vincent Bernat
3424e8b8c9
console/frontend: don't use npm-run-all
...
It is unmaintained and pull a lot of small dependencies.
2025-09-11 08:07:06 +02:00
Vincent Bernat
c4a7db7d54
docs: add a few words about MikroTik
...
Notably, we need to document the incorrect sampling rate reported by
older versions of RouterOS.
2025-09-10 21:30:02 +02:00
Vincent Bernat
9df5d2127e
console/frontend: increase JS coverage for completion
2025-09-10 08:14:27 +02:00
Vincent Bernat
8b1f406745
console/frontend: add some JS tests for palette too
2025-09-10 08:14:27 +02:00
Vincent Bernat
de08974fac
console/frontend: add some tests for util functions
...
Notably for formatXps which was buggy. Also fix its behaviour with
negative numbers. Remove some code cruft for columns ordering (not
needed anymore as we don't want equality between InIf and OutIf).
2025-09-10 08:14:27 +02:00
github-actions[bot]
2c6252d44b
build: update Nix dependency hashes
2025-09-10 03:51:24 +00:00
Vincent Bernat
b9119a8766
console: avoid rounding errors when testing
...
Use value that don't get the risk to have a platform-dependent rounding
error (avoid .5).
2025-09-09 21:17:27 +02:00
Vincent Bernat
0992963ba5
console: do a linear interpolation to select 95th percentile
...
It is more correct than the previous value that was trying to compare
the int index to the float index. Even if the index was an int, due to
rounding issues, it is not guaranteed that the equality result was what
we expected. Instead, always use a linear interpolation.
2025-09-09 20:43:48 +02:00