-
Notifications
You must be signed in to change notification settings - Fork 397
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
支持 subpath 路由 #2026
base: main
Are you sure you want to change the base?
支持 subpath 路由 #2026
Conversation
@@ -294,16 +294,57 @@ bool FlusherSLS::Init(const Json::Value& config, Json::Value& optionalGoPipeline | |||
mContext->GetRegion()); | |||
} | |||
|
|||
// TelemetryType | |||
string telemetryType; | |||
if (!GetOptionalStringParam(config, "TelemetryType", telemetryType, errorMsg)) { |
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.
298-347这段逻辑 处理顺序是 log、metric、arms。
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.
ok
logData, | ||
bufferMeta.rawsize(), | ||
bufferMeta.has_shardhashkey() ? bufferMeta.shardhashkey() : "", | ||
bufferMeta.subpath()); |
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.
同理,log、metric、apm的顺序
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.
ok
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.
已修改
const std::string& subPath) const { | ||
|
||
optional<uint64_t> seqId; | ||
if (item->mExactlyOnceCheckpoint) { |
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.
跟exactly无关,忽略即可
@@ -80,6 +80,8 @@ static sls_logs::EndpointMode GetEndpointMode(EndpointMode mode) { | |||
static const string kAKErrorMsg = "can not get valid access key"; | |||
#endif | |||
|
|||
static const string kNoSubpathErrorMsg = "subpath not set"; |
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.
diskbuffer需要有E2E覆盖,可以找笃敏交流下
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.
ok
No description provided.