Commit Graph

2 Commits

Author SHA1 Message Date
douxu 34b9a569ae feat(data-object)!: enhance measurement mode update workflow
- support numeric manual and automatic measurement modes
- allow omitted fields and optional manual data values
- start or stop dataRT writes when switching measurement modes
- atomically replace manual measurement values in Redis
- record bounded operations with Unix millisecond timestamps
- propagate client tokens through request contexts
- return errors instead of panicking when Redis initialization fails
- optimize measurement queries and add regression tests
2026-07-21 16:13:23 +08:00
douxu 07ef921b75 feat: add measurement data-object attribute APIs
- classify and validate measurement tokens in supported formats
- query measurement attributes and latest values from PostgreSQL and Redis
- add measurement mode support and centralized SQL definitions
- register data-object attribute query and update routes
- fix logger caller attribution and measurement identifier generation
- add tests for token parsing, attribute queries, Redis values, and logging
2026-07-16 16:24:26 +08:00