-
Notifications
You must be signed in to change notification settings - Fork 351
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
support send medata to config server #885
base: main
Are you sure you want to change the base?
Conversation
dragonYang200
commented
May 30, 2023
- 新增支持火山top网关加签算法BytedanceSign.h/BytedanceSign.cpp
- 新增元数据上报接口
- 心跳上报接口新增agent_machine_id字段
- 新增ConfigServiceClientBase基类,用以扩展字节火山configServer api调用接口
core/app_config/AppConfig.cpp
Outdated
else if (port < 1 || port > 65535) | ||
LOG_WARNING(sLogger, ("ilogtail_configserver_address", "illegal port")("port", port)); | ||
else | ||
mConfigServerAddresses.push_back(ConfigServerAddress(host, port)); | ||
} | ||
|
||
mConfigServerAvailable = true; | ||
LoadStringParameter(mGatewayService, confJson, "gateway_service", "GATEWAY_SERVICE"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
读取ilogtail_config.json文件内容需要在GetStringParameter这个接口里面额外额外实现吗?还是在LoadAppConfig的时候用一个变量将ilogtail_config.json文件内容保存下来
@@ -83,6 +83,7 @@ message HeartBeatRequest { | |||
int32 interval = 8; // Agent's heartbeat interval | |||
repeated ConfigInfo pipeline_configs = 9; // Information about the current PIPELINE_CONFIG held by the Agent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
文档、changelog
} | ||
LOG_WARNING(sLogger, ("FlushCredential", "success")); | ||
try { | ||
mConfigServiceClient->SignHeader(request); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SignHeader FlushCredential 为什么对异常的处理方式不一样?