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
|
31b6591e0e
|
build: update revive
And remove some unused variables.
|
2025-09-09 07:39:00 +02:00 |
|
Vincent Bernat
|
f7cc5e3dbc
|
orchestrator/clickhouse: add a benchmark for networks.csv
```
goos: linux
goarch: amd64
pkg: akvorado/orchestrator/clickhouse
cpu: AMD Ryzen 5 5600X 6-Core Processor
BenchmarkNetworks-12 482 2.447 ms/op
```
|
2025-08-17 11:05:58 +02:00 |
|
Vincent Bernat
|
a70029a4cd
|
orchestrator/clickhouse: also guess the port when guessing HTTP URL
|
2025-07-30 08:11:28 +02:00 |
|
Vincent Bernat
|
18beb310ee
|
chore: replace interface{} with any
|
2025-07-29 07:42:49 +02:00 |
|
Vincent Bernat
|
8ae23f9ae3
|
common/httpserver: log healthcheck and metrics endpoint at debug level
|
2025-07-27 11:38:20 +02:00 |
|
Vincent Bernat
|
0239cd0a9f
|
common: remove MarshalJSON helpers for mapstructure
They are not needed anymore since we don't exchange configuration files
using JSON, since baac495b9c.
|
2024-07-20 14:51:40 +02:00 |
|
Vincent Bernat
|
39882fd98e
|
common: handle per-candidate ports for external service checks
|
2024-01-20 09:25:31 +01:00 |
|
Vincent Bernat
|
b49abde028
|
common: use 127.0.0.1 instead of localhost for external test services
|
2024-01-20 08:29:32 +01:00 |
|
Vincent Bernat
|
9db516e424
|
build: don't use ioutil
This is deprecated.
|
2023-11-12 22:58:41 +01:00 |
|
Vincent Bernat
|
62521e629d
|
common/http: rename to common/httpserver
This is a preparation to introduce an httpclient common package. And it
makes it easier to use http from the standard library.
|
2023-05-28 09:08:29 +02:00 |
|