Commit Graph

34 Commits

Author SHA1 Message Date
Nicolas
acd5379c27 fix: restore json_parser with timestamp parsing based on local testing 2025-07-29 15:40:26 +08:00
Nicolas
beab7cd117 fix: remove all parsing operators to use raw log content 2025-07-29 15:29:53 +08:00
Nicolas
37db3b4404 fix: remove time_parser to use default timestamp handling 2025-07-29 14:46:13 +08:00
Nicolas
5479b85968 fix: separate timestamp parsing from json_parser to resolve time parsing error 2025-07-29 14:42:29 +08:00
Nicolas
aa8e626b7a fix: remove problematic ParseJSON operations from OpenTelemetry transform processor 2025-07-29 14:30:00 +08:00
Nicolas
22ab4b99ef fix: simplify OpenTelemetry Collector config to resolve timestamp parsing errors 2025-07-29 14:07:39 +08:00
Nicolas
5ced605a20 fix: improve OpenTelemetry Collector JSON parsing for central storage logs 2025-07-29 10:15:39 +08:00
Nicolas
605e66a26b fix: add missing logging environment variables for central storage K8s deployment
- Add LOG_BASE_PATH environment variable
- Add BACKEND_LOG_FILE_NAME environment variable
- Add APPLICATION_ACTIVITY_LOG environment variable
- Fix logging path configuration for K8s environment
2025-07-29 09:36:01 +08:00
Nicolas
8fc5281e23 feat: add DEBUG_MODE environment variable for central-storage 2025-07-28 21:00:33 +08:00
Nicolas
381d25c11b chore(logging): update logPathPattern to /var/log/pods/*/*/*.log for k8s standard log collection 2025-07-25 11:05:28 +08:00
zhenyus
3aad06eeb7 feat: add Vertical Pod Autoscaler (VPA) configuration across multiple services for improved resource management
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-06-10 23:53:31 +08:00
zhenyus
6d9d15d4d2 Add OpenTelemetry logging support across multiple services
- Introduced log ingestion configuration in values files for centralStorage, content, notification, and payment services.
- Updated deployment templates to conditionally include OpenTelemetry annotations and volume mounts based on log ingestion settings.
- Added OpenTelemetry RBAC configurations for service accounts and cluster roles to enable logging.
- Implemented OpenTelemetry collector configuration to process logs and export them to Loki.
- Ensured compatibility with existing Helm chart structure and maintained backward compatibility for services without log ingestion enabled.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 22:03:00 +08:00
zhenyus
b3ad25d6e5 fix: update config file paths in config-checksum annotations for deployment templates
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-27 14:51:41 +08:00
zhenyus
df2ab1c3a4 fix: correct config file path in config-checksum annotations for deployment templates
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-27 14:50:08 +08:00
zhenyus
580f3f8d71 feat: add config checksum annotations to deployment templates and update site URL in values files
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-27 14:48:25 +08:00
zhenyus
a90ee717b2 fix: update Prometheus query intervals from 30s to 1m for improved accuracy
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-18 05:59:05 +08:00
zhenyus
336f1fa0e2 fix: remove hardcoded uid values in dashboard templates for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-18 00:26:16 +08:00
zhenyus
a1ab488cbf fix: update dashboard file names to use dynamic values for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-18 00:25:04 +08:00
zhenyus
a6803210e0 feat: add dashboard configuration for content, payment, notification, and central storage services
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-18 00:22:06 +08:00
zhenyus
56094aa1bd fix: remove version and managed-by labels from service monitor templates for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 23:53:49 +08:00
zhenyus
e8a07a08e6 feat: add metricsEnabled and probesEnabled configuration options to payment, content, centralStorage, authentication, and notification services
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 23:51:35 +08:00
zhenyus
96ab638756 fix: remove serviceMonitor.enabled variable from service templates in authentication, centralStorage, content, notification, and payment services
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 23:47:29 +08:00
zhenyus
e7bb64108c fix: rename service monitor resources to use a consistent naming convention
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 23:45:47 +08:00
zhenyus
bb2bebc164 fix: update service monitor templates to use service-specific values for namespace, labels, interval, and scrapeTimeout
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 23:45:16 +08:00
zhenyus
c9cfa0827e fix: update service monitor templates to check individual serviceMonitor.enabled values
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 23:42:46 +08:00
zhenyus
32198e2f9a fix: remove port definitions from service monitor configurations
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 23:36:46 +08:00
zhenyus
5c9f74c609 fix: add name label to service monitor configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 23:26:34 +08:00
zhenyus
07d4cb7236 fix: update service monitor configurations to use targetPort and remove unnecessary labels
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 23:24:26 +08:00
zhenyus
368c726b0b feat: add METRICS_ENABLED and PROBES_ENABLED environment variables to deployment configurations
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 22:37:27 +08:00
zhenyus
bb30b8ae7c fix: remove terminationGracePeriodSeconds from readiness probe configurations in authentication, centralStorage, content, notification, and payment services
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 21:40:03 +08:00
zhenyus
83f8b7f030 feat: enable serviceMonitor configuration for authentication, central-storage, content, notification, and payment services
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 21:35:31 +08:00
zhenyus
2f8f0a1a1f fix: update probes enabled logic in service configuration templates
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 21:32:13 +08:00
zhenyus
2969cafc9d feat: add serviceMonitor configuration for content, payment, notification, central-storage, and authentication services
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 21:24:35 +08:00
zhenyus
2c00823bd7 feat(helm): add central-storage Helm chart and related configurations
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-07 01:30:23 +08:00