-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
When using curl -X GET http://localhost:8000/\*\*
no data come from influxdb2
after a post method.
Different from influxdb
To reproduce
docker run \
-p 8086:8086 \
-v myInfluxVolume:/var/lib/influxdb2 \
influxdb:1.8
./zenohd -c influx.json5 --adminspace-permissions=rw
curl -X PUT -d '"Hello World!"' http://localhost:8000/demo/example/test
curl -X GET http://localhost:8000/\*\*
my influx.json5
{
plugins: {
storage_manager: {
volumes: {
influxdb: {
// URL to the InfluxDB service
url: "http://0.0.0.0:8086",
private: {
token: "eCqM_gNl9fbVZE4JeQTtcLgI28vGztI2yQJUn7Kf5c4m73JaweWbgZJvydvhRVtFvAHAhftIeegCDkQVsalZZA=="
}
}
},
storages: {
demo: {
key_expr: "demo/example/**",
strip_prefix: "demo/example",
volume: {
id: "influxdb",
db: "test",
create_db: true,
on_closure: "drop_db",
private: {
token: "eCqM_gNl9fbVZE4JeQTtcLgI28vGztI2yQJUn7Kf5c4m73JaweWbgZJvydvhRVtFvAHAhftIeegCDkQVsalZZA=="
}
}
}
}
},
rest: { http_port: 8000 }
}
}
This steps work in influxdb
but fail in influxdb2
, the config need to change for influxdb
since the username and password are required for this version.
System info
The zenoh router v0.10.0-rc built with rustc 1.72.0 (5680fa18f 2023-08-23)
-`
.o+` patrick@pichau
`ooo/ OS: Arch Linux
`+oooo: Kernel: x86_64 Linux 6.5.9-arch2-1
`+oooooo: Uptime: 14d 19h 34m
-+oooooo+: Packages: 2689
`/:-:++oooo+: Shell: zsh 5.9
`/++++/+++++++: Resolution: 7680x2160
`/++++++++++++++: DE: KDE 5.111.0 / Plasma 5.27.9
`/+++ooooooooooooo/` WM: KWin
./ooosssso++osssssso+` GTK Theme: [GTK2/3]
.oossssso-````/ossssss+` Icon Theme: bloom
-osssssso. :ssssssso. Disk: 800G / 911G (92%)
:osssssss/ osssso+++. CPU: AMD Ryzen 7 2700 Eight-Core @ 16x 3.2GHz
/ossssssss/ +ssssooo/- GPU: NVIDIA GeForce GTX 1060 6GB
`/ossssso+/:- -:/+osssso+- RAM: 33051MiB / 64247MiB
`+sso+:-` `.-/+oso:
`++:. `-/+/
.` `/
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working