2025-05-29 06:41:23 +02:00
2025-05-26 16:31:10 +02:00
2023-09-18 11:40:03 +02:00
2024-11-08 10:47:30 +01:00
2025-05-28 17:48:45 +02:00
2025-05-28 17:48:45 +02:00
2024-04-15 12:24:27 +01:00
2025-04-29 12:16:53 +02:00
2025-05-29 06:41:23 +02:00
2024-12-04 17:57:13 +01:00
2025-05-29 06:41:23 +02:00
2025-05-28 17:48:45 +02:00
2025-05-29 06:41:23 +02:00
2025-05-06 15:29:09 +02:00
2025-04-07 16:36:11 +02:00
WIP
2024-08-30 16:29:47 +02:00
2024-06-26 11:31:01 +02:00
2025-05-26 10:37:11 +02:00
2024-06-26 11:31:01 +02:00
2024-08-13 15:13:35 +02:00

DAQ Ingest

Build

cargo build --release

The resulting binary is found at target/release/daqingest and dynamically links only to the most basic linux system libraries.

Create the Scylladb Schema

./daqingest scylla-schema-change <CONFIG.YML>

Run

./daqingest channel-access ca-ingest <CONFIG.YML>

Config file example

# Address to bind the HTTP API to, for runtime control and Prometheus metrics scrape:
api_bind: 0.0.0.0:3011
# The backend name to use for the channels handled by this daqingest instance:
backend: scylla
channels: directory-name-with-channel-config-files
# Addresses to use for channel access search:
search:
    - "172.26.0.255"
    - "172.26.2.255"
    - "172.26.8.255"
    - "..."
postgresql:
    host: postgresql-host
    port: 5432
    user: the-username
    pass: the-password
    name: the-database
scylla_st:
    keyspace: backend_st
    hosts:
        - sf-nube-11:19042
        - sf-nube-12:19042
        - sf-nube-13:19042
        - sf-nube-14:19042
scylla_mt:
    keyspace: backend_mt
    hosts:
        - sf-nube-11:19042
        - sf-nube-12:19042
        - sf-nube-13:19042
        - sf-nube-14:19042
scylla_lt:
    keyspace: backend_lt
    hosts:
        - sf-nube-11:19042
        - sf-nube-12:19042
        - sf-nube-13:19042
        - sf-nube-14:19042

Access status and configuration of daqingest at runtime

Status and configuration can be accessed at runtime via http at the address as configured by the api_bind parameter.

Check the state of a channel

http://<api_bind>/daqingest/channel/state?name=[...]

HTTP POST ingest

It is possible to ingest data via the api_bind socket address.

Description
No description provided
Readme 1.4 MiB
Languages
Rust 100%