modelRT/model
douxu 03bd058558 feat: implement end-to-end distributed tracing for HTTP and async tasks
- introduce typed traceCtxKey to prevent context key collisions (staticcheck fix)
  - inject B3 trace values into c.Request.Context() in StartTrace middleware
    so handlers using c.Request.Context() carry trace info
  - create startup trace context in main.go, replacing context.TODO()
  - propagate HTTP traceID/spanID through TaskQueueMessage into RabbitMQ
    worker, linking HTTP request → publish → execution on the same traceID
  - fix GORM logger null traceID by binding ctx to AutoMigrate and queries
    via db.WithContext(ctx)
  - thread ctx through handler factory to fix null traceID in startup logs
  - replace per-request RabbitMQ producer with channel-based
    PushTaskToRabbitMQ goroutine; restrict Swagger to non-production
2026-04-23 16:48:32 +08:00
..
attribute_group_recommend_model.go add component attribute group update api and optimzie diagram hash set params 2026-01-05 17:20:41 +08:00
attribute_model.go optimize real time data query api 2025-11-04 17:12:15 +08:00
basic_model.go write code for adapter new component struct 2024-12-30 16:39:11 +08:00
identity_token_model.go optimize code of sql struct and measurement node recommend api 2025-12-19 17:33:12 +08:00
measurement_group_recommend_model.go fix bug of token4-token7 type attribute recommend api 2025-12-31 16:52:40 +08:00
measurement_protol_model.go optimize struct of rabbitmq event 2026-03-02 17:00:09 +08:00
model_select.go feat(token-parse): 1. add func of parse token 2.add func of query grid、zone、station、component 3.modify package of constant 2025-08-05 15:20:07 +08:00
recommend_cleanup.go fix bug of token6 all search result return case 2025-12-29 15:58:59 +08:00
recommend_islocal_cache.go feat: implement end-to-end distributed tracing for HTTP and async tasks 2026-04-23 16:48:32 +08:00
redis_recommend.go fix bug of token4-token7 type recommend api 2025-12-31 16:24:27 +08:00