You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by li...@apache.org on 2022/02/28 03:21:07 UTC
[skywalking-data-collect-protocol] branch master updated: Update report process as a entity (#64)
This is an automated email from the ASF dual-hosted git repository.
liuhan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-data-collect-protocol.git
The following commit(s) were added to refs/heads/master by this push:
new b89d47d Update report process as a entity (#64)
b89d47d is described below
commit b89d47d747aaeb7c52924f125779cb52bedf944d
Author: mrproliu <74...@qq.com>
AuthorDate: Mon Feb 28 11:21:01 2022 +0800
Update report process as a entity (#64)
---
ebpf/profiling/Process.proto | 30 ++++++++++++++++++++----------
1 file changed, 20 insertions(+), 10 deletions(-)
diff --git a/ebpf/profiling/Process.proto b/ebpf/profiling/Process.proto
index 680bc12..17da76c 100644
--- a/ebpf/profiling/Process.proto
+++ b/ebpf/profiling/Process.proto
@@ -39,8 +39,8 @@ service EBPFProcessService {
message EBPFProcessReportList {
repeated EBPFProcessProperties processes = 1;
- // Rover generate instance id in local, make sure it inconsistent every time when start
- string roverInstanceId = 2;
+ // An ID generated by eBPF agent, should be unique globally.
+ string ebpfAgentID = 2;
}
message EBPFProcessProperties {
@@ -52,17 +52,27 @@ message EBPFProcessProperties {
}
message EBPFHostProcessMetadata {
- // [required] Service name of process
- // Used to logically aggregate multiple Process
- string serviceName = 1;
- // [required] User define or generated process name
- string name = 2;
+ // [required] Entity metadata
+ // Must ensure that entity information is unique at the time of reporting
+ EBPFProcessEntityMetadata entity = 1;
// [required] Process full command line
- string cmd = 3;
+ string cmd = 2;
// [required] The IP address of the host where the process resides
- string hostIP = 4;
+ string hostIP = 3;
// [required] The Process id of the host
- int32 pid = 5;
+ int32 pid = 4;
+}
+
+// Process Entity metadata
+message EBPFProcessEntityMetadata {
+ // [required] Process belong layer name which define in the backend
+ string layer = 1;
+ // [required] Process belong service name
+ string serviceName = 2;
+ // [required] Process belong service instance name
+ string instanceName = 3;
+ // [required] Process name
+ string processName = 4;
}
// [WIP] Kubernetes process metadata