c20b36373afeat: add MongoDB K8s deployment manifests and expand deploy guide - add mongodb StatefulSet, Service, PVC, and Secret manifests for Minikube - restructure deploy.md MongoDB section into Docker (1.1) and K8s (1.2) paths - add connection verification, cleanup, and teardown sections to deploy guide - document local go build/run workflow (section 5.2-5.4) - reference eventrt-certs-secret.sh helper and Pod readiness waits - fix MongoDB password env var name in docs (INITDB_ROOT_PASSWORD) - set imagePullPolicy IfNotPresent on rabbitmq deployment for local images
feature-joinDebuggingDemo
douxu2026-06-11 16:20:39 +0800
4c57c37c26refactor: sync logger improvements from modelrt to eventrt - add LokiConfig struct and Loki field to LoggerConfig for dev direct-push - replace getEncoder/getLogWriter with mode-aware encoder and getWriteSyncer (colored console in dev, JSON in container; stdout instead of stderr) - add containerFields() to inject K8s pod/namespace/node as global log fields - add loki_syncer.go: async batched push to Loki with 512-entry channel - introduce makeLogFieldsSkip/getLoggerCallerInfoSkip for wrapper call-frame support - expose ErrorSkip/WarnSkip/InfoSkip facade functions for skip-frame logging - add loki.endpoint placeholder to eventrt-configmap.yaml for self-documentationdouxu2026-06-08 13:58:48 +0800
04d81cedcechore: update k8s deploy config for local Minikube dev environment - add eventrt-certs-secret.sh helper script for creating cert secret - update configmap: use K8s service DNS names for mongodb and jaeger - switch deploy_env to development and image to local eventrt:v1 - add explicit command entrypoint to deployment manifest - update mongodb credentials to match local dev setupdouxu2026-06-05 16:38:48 +0800
582a64ad20docs: expand eventRT image deploy guide and bump Go to 1.26 - add three-stage build table (builder/certs/runtime) to section 3.1 - add --build-arg USER_ID option for custom non-root UID - add method 2: load pre-built local image (e.g. eventrt:v1) into Minikube - add smoke test subsection 3.1.1 with size/inspect/run checks - bump base image from golang:1.25-alpine to golang:1.26-alpine - remove bundled config.example.yaml from image (config should be mounted at runtime)douxu2026-06-02 10:28:31 +0800
c7dec53deddocs: expand deploy guide to cover full project setup - add MongoDB Docker deployment steps with init and auth setup - restructure RabbitMQ section with step-by-step cert generation and K8s deploy - add EventRT Kubernetes deployment section (build, secrets, configmap, checks) - document SSH tunnel setup for Mac local dev (MongoDB, RabbitMQ, OTel, Jaeger) - add config.yaml parameter reference table for local development - add troubleshooting section for cert checks, TLS handshake, and MongoDB connectivitydouxu2026-05-29 14:20:02 +0800
2a1929a180feat: add Kubernetes deployment manifests and hardened Dockerfile - add multi-stage scratch-based Dockerfile with non-root user and mTLS cert support - add K8s Deployment, Service, ConfigMap, and Secret manifests with security hardening - bind MONGODB_PASSWORD and SERVICE_SECRET_KEY from environment variables via viper - restructure deploy/ directory and remove unused modelrt.cnf - bump Go version to 1.26.3 and add event-flow-analysis docdouxu2026-05-29 11:09:03 +0800
715183994cfix: remove status mutation side effect in PublishEventToUI - stop overwriting record.Status inside the publish function - status should be managed by the caller, not the publisherdouxu2026-05-11 17:35:43 +0800
2f7cd5a8fcfeat: add event lifecycle API and UI fanout publishing - extract event status, MQ exchange/queue, and DB name constants to constants/event.go - add bson tags and IsPersisted flag to EventRecord for proper MongoDB serialization - publish persisted alarm events to UI consumers via RabbitMQ fanout exchange - add GET /events/:event_uuid handler to query a single event from MongoDB - add PATCH confirm/close handlers with atomic FindOneAndUpdate status transitions - register /events routes in main.godouxu2026-05-08 15:43:54 +0800
44ded93411feat: add OpenTelemetry distributed tracing to eventRT - add OtelConfig to EventRTConfig and configs/config.yaml - add middleware/trace.go with InitTracerProvider (W3C TraceContext) and StartTrace gin middleware - migrate logger to read traceID/spanID from OTel span context instead of ctx string keys - extract upstream W3C trace context from AMQP headers in processAlarmEventMessage to chain spans across modelRT→eventRT - add per-message span in processAlarmEventMessage for end-to-end trace visibilitydouxu2026-05-07 16:32:53 +0800
e0863eb04aadd code of rabbitmq message ack actiondouxu2026-03-03 17:09:31 +0800
609511c7cdoptimize code of receipt eventdouxu2026-03-02 17:00:56 +0800
d239f9bd85add code of receipt event and store into mongodbdouxu2026-02-27 16:36:40 +0800
f333a830a1optimize file name of modelrt cert config with rabbitmqdouxu2026-02-12 17:08:26 +0800