Commit Graph

31 Commits

Author SHA1 Message Date
Nicolas
1fac5d3bf2 feat(opentelemetry): enhance logging attributes with additional Kubernetes labels and service names 2025-09-28 10:12:21 +08:00
Nicolas
92fcddc04b feat(config): add ENVIRONMENT variable to devsvc-config.yaml for improved configuration management 2025-09-26 15:47:20 +08:00
Nicolas
6df7fba1e6 feat(config): add environment variable to values files and update OpenTelemetry attributes 2025-09-26 12:37:46 +08:00
1f993da23e revert e76da4ea18
revert Remove all such cert usage(across all services) if service is already deployed in k8s
2025-08-29 03:53:51 +00:00
Nicolas
e76da4ea18 Remove all such cert usage(across all services) if service is already deployed in k8s 2025-08-29 10:03:35 +08:00
zhenyus
e898a18b4d refactor(devsvc): implement secret management for sensitive configurations
- Removed direct references to sensitive data (e.g., MongoDB URI, Gitea token, RabbitMQ password) in values files and replaced them with a structured secrets section.
- Updated deployment and configuration templates to inject secrets from FreeleapsSecretStore, enhancing security and maintainability.
- This change aligns with the new secret management strategy across the application.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-18 16:17:16 +08:00
zhenyus
ff8ddce530 fix: rename Docker registry configuration keys in values.alpha.yaml and devsvc-config.yaml for consistency
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-03 04:24:43 +08:00
cb70534764 Merge pull request 'fix: remove invalid k8scluster receiver to resolve OpenTelemetry startup error' (#43) from Nicolas_local_ops into master
Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/43
2025-08-01 00:27:30 +00:00
Nicolas
aa74f6a4f7 fix: remove invalid k8scluster receiver to resolve OpenTelemetry startup error
- Remove k8scluster receiver (invalid type name)
- Remove unused otlp receiver definitions
- Keep only filelog receiver which is actually used in pipeline
- Fixes CrashLoopBackOff issue in central-storage pod
2025-08-01 07:52:37 +08:00
80773c8c82 Merge pull request 'Nicolas_local_ops' (#42) from Nicolas_local_ops into master
Reviewed-on: https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops/pulls/42
2025-07-31 15:20:01 +00:00
Nicolas
d85f9408e4 fix: change Chinese comments to English in OpenTelemetry configs
- Replace Chinese comments with English in opentelemetry.yaml files
- Maintain consistent English-only comments in freeleaps-ops repository
- Keep the same functionality while improving code readability
2025-07-31 23:17:45 +08:00
Nicolas
5101e6d2cd fix: optimize OpenTelemetry configuration to prevent duplicate log collection
- Change receivers from [filelog, otlp, k8scluster] to [filelog] only
- Prevent duplicate logs from multiple collection sources
- Keep only filelog receiver to collect logs from application log files
- This eliminates duplicate logs appearing in Grafana for devsvc and central-storage
2025-07-31 23:08:10 +08:00
zhenyus
a2791e37b7 feat(devsvc): add RabbitMQ and Docker registry configuration options
- Introduced RabbitMQ configuration parameters including host, port, username, password, and virtual host.
- Added default Git and Docker registry credentials for improved deployment flexibility.
- Updated configuration template to include new parameters for RabbitMQ and Docker registry.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-07-31 16:07:20 +08:00
Nicolas
ef36db54c2 feat: optimize devsvc OpenTelemetry logging configuration
- Change start_at from beginning to end to avoid processing old logs
- Add poll_interval: 1s for more frequent file monitoring
- Add otlp and k8scluster receivers for comprehensive log collection
- Reduce batch processor send_batch_size to 1 and timeout to 1s for real-time logging
- Update pipelines to include all three receivers
2025-07-31 12:47:10 +08:00
Nicolas
ea44bbfef3 fix: 修复devsvc服务OpenTelemetry配置中的语法错误
- 修复transform处理器中访问不存在log.attributes字段的问题
- 将配置更新为与其他服务一致的格式
- 确保ArgoCD能够成功同步devsvc服务配置
2025-07-30 09:42:50 +08:00
Nicolas
09eef0e622 fix: update devsvc OTC transform processor to use correct log.attributes path 2025-07-29 20:15:08 +08:00
Nicolas
06aa63da07 Fix OTC transform processor for devsvc logs - correct attribute paths and remove invalid ParseJSON 2025-07-29 19:19:25 +08:00
Nicolas
18b6bfc9e5 Add APPLICATION_ACTIVITY_LOG environment variable to devsvc config 2025-07-29 19:02:46 +08:00
Nicolas
a65edb236d Update devsvc OTC config to monitor .log file and start from beginning 2025-07-29 18:20:01 +08:00
Nicolas
8fc5281e23 feat: add DEBUG_MODE environment variable for central-storage 2025-07-28 21:00:33 +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
4cd3f695f4 feat(opentelemetry): implement logging ingestion with OpenTelemetry collector and RBAC configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-21 22:34:09 +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
1a5e9fef5b feat: add ServiceMonitor configuration and enable metrics and probes in devsvc
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-18 03:17:14 +08:00
zhenyus
1727906647 fix(helm): update GITEA_URL to reference giteaUrl in devsvc-config.yaml
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-26 16:30:19 +08:00
zhenyus
7d0728ab39 fix(helm): rename GITEA_URI to GITEA_URL in configuration files
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-26 16:28:23 +08:00
zhenyus
d06904117a feat(devsvc): update MongoDB and Gitea configurations in values.alpha.yaml
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-24 17:30:23 +08:00
zhenyus
348e08fb66 feat(helm): add Gitea and PostgreSQL Helm charts with initial configurations
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-02-24 15:07:36 +08:00