Skip to content

Commit f6e18ec

Browse files
committed
fix L7 meta
1 parent 6e58c04 commit f6e18ec

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: core/ebpf/plugin/network_observer/Connection.cpp

+2-1
Original file line numberDiff line numberDiff line change
@@ -161,12 +161,13 @@ void Connection::TryUpdateProtocolAttr() {
161161
mTags.SetNoCopy<kRpcType>(RPC_25_STR);
162162
mTags.SetNoCopy<kCallKind>(HTTP_CLIENT_STR);
163163
mTags.SetNoCopy<kCallType>(HTTP_CLIENT_STR);
164+
MarkL7MetaAttached();
164165
} else if (mRole == support_role_e::IsServer) {
165166
mTags.SetNoCopy<kRpcType>(RPC_0_STR);
166167
mTags.SetNoCopy<kCallKind>(HTTP_STR);
167168
mTags.SetNoCopy<kCallType>(HTTP_STR);
169+
MarkL7MetaAttached();
168170
}
169-
MarkL7MetaAttached();
170171
}
171172

172173
void Connection::UpdateNetMetaAttr(struct conn_stats_event_t* event) {

0 commit comments

Comments
 (0)