Skip to content

Commit

Permalink
ebpf_apps: Move ebpf submenu near apps submenu
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagoftsm committed May 28, 2020
1 parent 4e2294f commit a5ed28e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 16 deletions.
20 changes: 10 additions & 10 deletions collectors/ebpf.plugin/ebpf_process.c
Expand Up @@ -293,7 +293,7 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_FILE_OPEN_CLOSE_COUNT
, "Calls"
, NETDATA_FILE_GROUP
, 970
, 21000
, ebpf_create_global_dimension
, process_publish_aggregated
, 2);
Expand All @@ -303,7 +303,7 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_FILE_OPEN_ERR_COUNT
, "Calls"
, NETDATA_FILE_GROUP
, 971
, 21001
, ebpf_create_global_dimension
, process_publish_aggregated
, 2);
Expand All @@ -313,7 +313,7 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_VFS_FILE_CLEAN_COUNT
, "Calls"
, NETDATA_VFS_GROUP
, 972
, 21002
, ebpf_create_global_dimension
, &process_publish_aggregated[NETDATA_DEL_START]
, 1);
Expand All @@ -322,7 +322,7 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_VFS_FILE_IO_COUNT
, "Calls"
, NETDATA_VFS_GROUP
, 973
, 21003
, ebpf_create_global_dimension
, &process_publish_aggregated[NETDATA_IN_START_BYTE]
, 2);
Expand All @@ -332,13 +332,13 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_VFS_IO_FILE_BYTES
, "bytes/s"
, NETDATA_VFS_GROUP
, 974);
, 21004);

ebpf_create_chart(NETDATA_EBPF_FAMILY
, NETDATA_VFS_FILE_ERR_COUNT
, "Calls"
, NETDATA_VFS_GROUP
, 975
, 21005
, ebpf_create_global_dimension
, &process_publish_aggregated[2]
, NETDATA_VFS_ERRORS);
Expand All @@ -349,7 +349,7 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_PROCESS_SYSCALL
, "Calls"
, NETDATA_PROCESS_GROUP
, 976
, 21006
, ebpf_create_global_dimension
, &process_publish_aggregated[NETDATA_PROCESS_START]
, 2);
Expand All @@ -358,7 +358,7 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_EXIT_SYSCALL
, "Calls"
, NETDATA_PROCESS_GROUP
, 977
, 21007
, ebpf_create_global_dimension
, &process_publish_aggregated[NETDATA_EXIT_START]
, 2);
Expand All @@ -367,14 +367,14 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_PROCESS_STATUS_NAME
, "Total"
, NETDATA_PROCESS_GROUP
, 978);
, 21008);

if (em->mode < MODE_ENTRY) {
ebpf_create_chart(NETDATA_EBPF_FAMILY
, NETDATA_PROCESS_ERROR_NAME
, "Calls"
, NETDATA_PROCESS_GROUP
, 979
, 21009
, ebpf_create_global_dimension
, &process_publish_aggregated[NETDATA_PROCESS_START]
, 2);
Expand Down
12 changes: 6 additions & 6 deletions collectors/ebpf.plugin/ebpf_socket.c
Expand Up @@ -132,7 +132,7 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_TCP_FUNCTION_COUNT
, "Calls"
, NETDATA_SOCKET_GROUP
, 950
, 21070
, ebpf_create_global_dimension
, socket_publish_aggregated
, 3);
Expand All @@ -141,7 +141,7 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_TCP_FUNCTION_BYTES
, "bytes/s"
, NETDATA_SOCKET_GROUP
, 951
, 21071
, ebpf_create_global_dimension
, socket_publish_aggregated
, 3);
Expand All @@ -151,7 +151,7 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_TCP_FUNCTION_ERROR
, "Calls"
, NETDATA_SOCKET_GROUP
, 952
, 21072
, ebpf_create_global_dimension
, socket_publish_aggregated
, 2);
Expand All @@ -161,7 +161,7 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_UDP_FUNCTION_COUNT
, "Calls"
, NETDATA_SOCKET_GROUP
, 953
, 21073
, ebpf_create_global_dimension
, &socket_publish_aggregated[NETDATA_UDP_START]
, 2);
Expand All @@ -170,7 +170,7 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_UDP_FUNCTION_BYTES
, "bytes/s"
, NETDATA_SOCKET_GROUP
, 954
, 21074
, ebpf_create_global_dimension
, &socket_publish_aggregated[NETDATA_UDP_START]
, 2);
Expand All @@ -180,7 +180,7 @@ static void ebpf_create_global_charts(ebpf_module_t *em) {
, NETDATA_UDP_FUNCTION_ERROR
, "Calls"
, NETDATA_SOCKET_GROUP
, 955
, 21075
, ebpf_create_global_dimension
, &socket_publish_aggregated[NETDATA_UDP_START]
, 2);
Expand Down

0 comments on commit a5ed28e

Please sign in to comment.