-
Notifications
You must be signed in to change notification settings - Fork 388
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
Implemented self-monitoring logic for eBPF-related plugins #1799
Conversation
25cab4e
to
c637478
Compare
43020b6
to
1f59574
Compare
Signed-off-by: qianlu.kk <[email protected]>
Signed-off-by: qianlu.kk <[email protected]>
1f59574
to
4a0b690
Compare
|
||
const string METRIC_PLUGIN_EBPF_LOSS_KERNEL_EVENTS_TOTAL = "plugin_ebpf_loss_kernel_events_total"; | ||
const string METRIC_PLUGIN_EBPF_NETWORK_OBSERVER_CONNTRACKER_NUM = "plugin_network_observer_conntracker_num"; | ||
const string METRIC_PLUGIN_EBPF_NETWORK_OBSERVER_WORKER_HANDLE_EVENTS_TOTAL = "plugin_network_observer_worker_handle_events_total"; |
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.
命名后面 @Takuka0311 统一按照规范改一次
core/ebpf/eBPFServer.cpp
Outdated
for (int i = 0; i < int(nami::PluginType::MAX); i ++) { | ||
if (mPluginProject[i] != "") { | ||
res += mPluginProject[i]; | ||
res += ""; |
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.
少了空格
/********************************************************** | ||
* ebpf server | ||
**********************************************************/ | ||
const string METRIC_RUNNER_EBPF_START_PLUGIN_TOTAL = "runner_start_plugin_total"; |
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.
这个指标项看上去更应该是公共的 @Takuka0311
CI失败处理下 |
No description provided.