8bf293bfc5
influxdb (udp + http(s)) only for now general architecture looks as follows: the helper functions influxdb_http/udp start a tokio task and return a Metrics struct, that can be used to send data and wait for the tokio task. if the struct is dropped, the task is canceled. so it would look like this: let metrics = influxdb_http(..params..)?; metrics.send_data(...).await?; metrics.send_data(...).await?; metrics.join?; on join, the sending part of the channel will be dropped and thus flushing the remaining data to the server Signed-off-by: Dominik Csapak <d.csapak@proxmox.com> [renamed proxmox_async::io::udp -> proxmox_async::net::udp] Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
24 lines
434 B
TOML
24 lines
434 B
TOML
[workspace]
|
|
members = [
|
|
"proxmox-api-macro",
|
|
"proxmox-async",
|
|
"proxmox-borrow",
|
|
"proxmox-http",
|
|
"proxmox-io",
|
|
"proxmox-lang",
|
|
"proxmox-metrics",
|
|
"proxmox-router",
|
|
"proxmox-schema",
|
|
"proxmox-serde",
|
|
"proxmox-shared-memory",
|
|
"proxmox-section-config",
|
|
"proxmox-sortable-macro",
|
|
"proxmox-sys",
|
|
"proxmox-tfa",
|
|
"proxmox-time",
|
|
"proxmox-uuid",
|
|
]
|
|
exclude = [
|
|
"build",
|
|
]
|