Commit Graph

68 Commits

Author SHA1 Message Date
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
zhenyus
00d58cc790 fix(devsvc): update RabbitMQ host in values.alpha.yaml
- Changed the RabbitMQ host from 'freeleaps-alpha-rabbitmq-cluster' to 'freeleaps-alpha-rabbitmq' to ensure proper connectivity to the RabbitMQ service in the alpha environment.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-01 00:57:17 +08:00
zhenyus
4a4ac0c304 feat(devsvc): add RabbitMQ and logging configuration in values.prod.yaml
- Introduced RabbitMQ connection settings including host, port, username, password, and virtual host.
- Added logging configuration with a specified log base path.
- Set default Git and Docker registry credentials for the production environment.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-08-01 00:19:09 +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
54420c53bf fix(devsvc): disable log ingestion in alpha environment
- Changed logIngest.enabled from true to false to prevent log ingestion in the alpha environment.

Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-07-31 16:10:15 +08:00
zhenyus
ccbbdf09f2 Merge branch 'master' of https://gitea.freeleaps.mathmast.com/freeleaps/freeleaps-ops 2025-07-31 16:07:23 +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
freeleaps-gitops-bot
405c7953f5 ci(bump): bump devsvc image version for alpha to snapshot-a12ffcc 2025-07-31 08:07:03 +00: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
070f238bdb merge: resolve conflict in values.alpha.yaml
- Choose newer image tag: snapshot-eec7ac2
- Resolve merge conflict between branches
2025-07-29 09:51:04 +08:00
Nicolas
8fc5281e23 feat: add DEBUG_MODE environment variable for central-storage 2025-07-28 21:00:33 +08:00
freeleaps-gitops-bot
5a6239b86c ci(bump): bump devsvc image version for alpha to snapshot-95c400e 2025-07-28 02:11:15 +00: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
9c9d58186f Merge branch 'master' of https://dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops 2025-04-21 22:34:12 +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
freeleaps-gitops-bot
e36dd7f0b8 ci(bump): bump devsvc image version for alpha to snapshot-95c400e 2025-04-21 14:30:16 +00:00
freeleaps-gitops-bot
25de112fee ci(bump): bump devsvc image version for prod to 1.1.0 2025-04-18 05:56:51 +00:00
zhenyus
6ebdef8933 Update ingress hosts and issuer references for alpha environment
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-04-11 01:22:29 +08:00
zhenyus
f415b83a85 ci: update execute mode to 'on-demand' in Jenkinsfiles and change MongoDB URIs to use SRV format
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-31 13:51:04 +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
5b8429d883 chore: update Gitea configuration and migration script for production
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-27 14:36:24 +08:00
freeleaps-gitops-bot
35649c45cd ci(bump): bump devsvc image version for alpha to snapshot-9046780 2025-03-21 17:48:24 +00:00
zhenyus
6e7417ae00 feat: add migration script and update Helm values for various services with readiness and liveness probes
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-22 01:03:59 +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
784db23bb5 feat: enable dashboard in production configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-18 03:19:03 +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
freeleaps-gitops-bot
d4bb643c38 ci(bump): bump devsvc image version for prod to 1.1.0 2025-03-17 19:11:59 +00:00
zhenyus
0f97bc7ca9 fix: update codeDepotHttpPort to use the correct port in production configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-17 03:02:04 +08:00
zhenyus
a8c522b880 fix: update codeDepotDomainName to remove protocol from production configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-14 16:21:43 +08:00
zhenyus
3abaa80bfa fix: increase memory limit for devsvc in production configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-12 02:17:31 +08:00
zhenyus
9b86aae0f6 fix: increase CPU resource requests and limits across multiple services in production configuration
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-11 13:12:14 +08:00
zhenyus
628d570a8f feat: add Redis configuration options to chat and freeleaps templates
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-08 22:15:44 +08:00
zhenyus
d2927ce4ba fix: update resource requests and limits for multiple services to optimize performance
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-08 20:31:11 +08:00
zhenyus
4a13923d47 feat: update Gitea configuration for production environment
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-07 07:44:16 +08:00
zhenyus
9c9c8e384f feat(devsvc): update MongoDB URI to remove port in production values
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-07 05:50:07 +08:00
freeleaps-gitops-bot
a723794350 ci(bump): bump devsvc image version for prod to 1.0.0 2025-03-06 21:47:29 +00:00
zhenyus
9a72ed45fb Merge branch 'master' of https://dev.azure.com/freeleaps/freeleaps-ops/_git/freeleaps-ops
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-07 05:38:21 +08:00
zhenyus
de4669239d feat(devsvc): update MongoDB URI to include port in production values
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-07 05:38:04 +08:00
freeleaps-gitops-bot
ede61deacd ci(bump): bump devsvc image version for prod to snapshot-ad94c7e 2025-03-06 20:32:09 +00:00
zhenyus
e969c1c3d9 feat(devsvc): change imagePullPolicy to Always in production values
Signed-off-by: zhenyus <zhenyus@mathmast.com>
2025-03-07 04:28:18 +08:00