Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] agent配置不生效 #9035

Open
2 of 3 tasks
lzy112314 opened this issue Jan 26, 2025 · 0 comments
Open
2 of 3 tasks

[BUG] agent配置不生效 #9035

lzy112314 opened this issue Jan 26, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@lzy112314
Copy link

Search before asking

  • I had searched in the issues and found no similar feature requirement.

DeepFlow Component

Agent

What you expected to happen

通过deepflow-ctl agent list确认group已经是新建的agent-group
deepflow-ctl agent-group-config list agentid -o yaml信息如下:
vtap_group_id: g-b4zpidrfVj
system_load_circuit_breaker_threshold: 10
system_load_circuit_breaker_recover: 10
system_load_circuit_breaker_metric: load15

查看deepflow-agent启动日志,有vtap_group_id_request: "g-b4zpidrfVj",信息:
controller_port: 30035,
controller_tls_port: 30135,
controller_cert_file_prefix: "",
log_file: "/var/log/deepflow-agent/deepflow-agent.log",
kubernetes_cluster_id: "",
kubernetes_cluster_name: None,
vtap_group_id_request: "g-b4zpidrfVj",
controller_domain_name: [
"deepflow-server",
],

但是config信息仍然是默认的
[2025-01-26 17:37:54.509004 +08:00] INFO [src/config/handler.rs:2575] UserConfig {
global: Global {
limits: Limits {
max_millicpus: 1000,
max_memory: 805306368,
max_log_backhaul_rate: 300,
max_local_log_file_size: 1048576000,
local_log_retention: 25920000s,
max_sockets: 1024,
max_sockets_tolerate_interval: 60s,
},
alerts: Alerts {
thread_threshold: 500,
process_threshold: 10,
check_core_file_disabled: false,
},
circuit_breakers: CircuitBreakers {
sys_memory_percentage: SysMemoryPercentage {
trigger_threshold: 0,
metric: Free,
},
relative_sys_load: RelativeSysLoad {
trigger_threshold: 1.0,
recovery_threshold: 0.9,
metric: Load15,
},
tx_throughput: TxThroughput {
trigger_threshold: 0,
throughput_monitoring_interval: 10s,
},
}

How to reproduce

No response

DeepFlow version

No response

DeepFlow agent list

No response

Kubernetes CNI

No response

Operation-System/Kernel version

No response

Anything else

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@lzy112314 lzy112314 added the bug Something isn't working label Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant