aboutsummaryrefslogtreecommitdiff
path: root/environment_test.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2023-04-01 15:34:34 +0700
committerShulhan <ms@kilabit.info>2023-07-27 00:40:14 +0700
commita91993b95c88cf489e2503b6c8c03cbd7e67e207 (patch)
tree7b7679cbaf3e5d7226ead6a9f1678a0c28dc69fc /environment_test.go
parent631dd476ac3fd7d7c8045b6e6ca59b63955bca67 (diff)
downloadrescached-dev-telemetry.tar.xz
[wip] cmd/rescached: add telemetry using questdbdev-telemetry
The telemetry collect the Go runtime/metrics and forward it to questdb instance in localhost.
Diffstat (limited to 'environment_test.go')
-rw-r--r--environment_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/environment_test.go b/environment_test.go
index 467bd5b..0f1ffdc 100644
--- a/environment_test.go
+++ b/environment_test.go
@@ -73,6 +73,7 @@ func TestLoadEnvironment(t *testing.T) {
fileConfig: filepath.Join(testDirBase, "/etc/rescached/rescached.cfg"),
WUIListen: "127.0.0.1:5381",
+ Telemetry: `questdb+tcp://127.0.0.1:9009`,
HostBlockd: map[string]*Blockd{
"a.block": &Blockd{
Name: "a.block",