Skip to content
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

add metric new #1015

Merged
merged 43 commits into from
Aug 24, 2023
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8be811c
add metric
linrunqi08 Jul 14, 2023
9132164
refine code
linrunqi08 Jul 17, 2023
7ee4a51
refine code
linrunqi08 Jul 17, 2023
f3c5677
refine code
linrunqi08 Jul 17, 2023
356047e
refine code
linrunqi08 Jul 17, 2023
4e1e329
refine code
linrunqi08 Jul 17, 2023
0a60735
add exportor
linrunqi08 Jul 24, 2023
0dabb6d
add exportor
linrunqi08 Jul 24, 2023
c712ff2
refine code and test
linrunqi08 Jul 24, 2023
a9e5c2f
refine code
linrunqi08 Jul 24, 2023
a9fd256
fix comment
linrunqi08 Jul 31, 2023
378b8df
fix comment
linrunqi08 Jul 31, 2023
c5b4c60
fix raw ptr
linrunqi08 Jul 31, 2023
7b934c3
fix comment
linrunqi08 Aug 2, 2023
a98305c
Merge branch 'main' of https://github.com/alibaba/ilogtail into featu…
linrunqi08 Aug 2, 2023
e6c8a8e
add change log
linrunqi08 Aug 2, 2023
2d21c4e
add group by region
linrunqi08 Aug 7, 2023
54d1fae
fix comments
linrunqi08 Aug 15, 2023
404b1af
Merge branch 'main' of https://github.com/alibaba/ilogtail into featu…
linrunqi08 Aug 15, 2023
baf9989
fix cooment
linrunqi08 Aug 17, 2023
3d55184
fix cooment
linrunqi08 Aug 17, 2023
ff73c03
fix comments
linrunqi08 Aug 17, 2023
3a25ef5
Merge branch 'main' of https://github.com/alibaba/ilogtail into featu…
linrunqi08 Aug 17, 2023
e22d5aa
refine code
linrunqi08 Aug 21, 2023
7a725d8
refine code
linrunqi08 Aug 21, 2023
6cc915b
Merge branch 'main' of https://github.com/alibaba/ilogtail into featu…
linrunqi08 Aug 21, 2023
b0892d8
refine code
linrunqi08 Aug 21, 2023
2fb349f
refine code
linrunqi08 Aug 22, 2023
ad2c7ee
refine code
linrunqi08 Aug 22, 2023
6944fce
refine code
linrunqi08 Aug 23, 2023
ea21800
refine code
linrunqi08 Aug 23, 2023
6ca91dc
refine code
linrunqi08 Aug 23, 2023
17b5be6
refine code
linrunqi08 Aug 23, 2023
b3f437e
refine code
linrunqi08 Aug 23, 2023
9db4193
refine code
linrunqi08 Aug 23, 2023
f34a75f
refine code
linrunqi08 Aug 23, 2023
2485093
refine coder
linrunqi08 Aug 23, 2023
bc44e7a
refine coder
linrunqi08 Aug 23, 2023
de2f991
refine code
linrunqi08 Aug 23, 2023
6316ad5
refine code
linrunqi08 Aug 23, 2023
4ae61bb
refine code
linrunqi08 Aug 23, 2023
e7eaad0
refine code
linrunqi08 Aug 23, 2023
dee1a1e
refine code
linrunqi08 Aug 24, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions core/controller/EventDispatcherBase.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@
#include "monitor/LogtailAlarm.h"
#include "monitor/LogIntegrity.h"
#include "monitor/LogLineCount.h"
#include "monitor/MetricExportor.h"
#include "log_pb/metric.pb.h"
#include "log_pb/sls_logs.pb.h"
#include "checkpoint/CheckPointManager.h"
Expand Down Expand Up @@ -874,6 +875,7 @@ bool EventDispatcherBase::Dispatch() {
DumpCheckPointPeriod(curTime);
if (curTime - lastCheckDir >= INT32_FLAG(main_loop_check_interval)) {
LogFileProfiler::GetInstance()->SendProfileData();
MetricExportor::GetInstance()->PushMetrics(false);
#if defined(__linux__)
CheckShennong();
#endif
Expand Down
Loading
Loading