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 metrics #79

Merged
merged 469 commits into from
Oct 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
469 commits
Select commit Hold shift + click to select a range
9636869
try this
sabban Sep 18, 2024
090b54a
try this
sabban Sep 18, 2024
1839a2e
debug
sabban Sep 18, 2024
24819dd
try this
sabban Sep 18, 2024
d908f9b
try this
sabban Sep 18, 2024
6b01a7f
hop
sabban Sep 18, 2024
cbe2188
try this
sabban Sep 18, 2024
dab18de
hop
sabban Sep 18, 2024
dc86094
lest's try this
sabban Sep 18, 2024
b7fabce
ttyoi
sabban Sep 18, 2024
2a1509a
debug
sabban Sep 18, 2024
118ec5d
fix initial count for active decisions
sabban Sep 18, 2024
b1d98cd
make use of ip type
sabban Sep 18, 2024
83f9eba
try this
sabban Sep 18, 2024
3241a30
wip
sabban Oct 2, 2024
7e53cef
add metrics to lua bouncer [WIP]
sabban May 2, 2024
060ff7d
fix timer.at arg
sabban May 3, 2024
d705fa6
small fixes
sabban May 3, 2024
c7ab9b5
add debug
sabban May 3, 2024
e3ff2dc
debug
sabban May 3, 2024
c63bb6a
typos
sabban May 3, 2024
8c9258c
typo
sabban May 3, 2024
2acf6ca
lua is lua
sabban May 3, 2024
234811a
play with lua function
sabban May 3, 2024
55bbfe5
try this
sabban May 3, 2024
d668d0d
try tehi
sabban May 3, 2024
5c4fc0b
hop
sabban May 6, 2024
52c4ec0
Send_metrics in a request
sabban May 6, 2024
6b3ca62
try tshi
sabban May 6, 2024
387fe20
try this
sabban May 6, 2024
efb6e8a
typo
sabban May 6, 2024
95076d9
call sendMetrics correctly
sabban May 6, 2024
7ea4d01
debug
sabban May 6, 2024
cbfd0ff
try this
sabban May 6, 2024
4e5c26b
try this
sabban May 6, 2024
246d238
fix
sabban May 6, 2024
c4bebb5
fix
sabban May 6, 2024
94736e8
typo
sabban May 6, 2024
2e3adde
update config
sabban May 7, 2024
a014841
more debug
sabban May 7, 2024
17d6d9a
more debug
sabban May 7, 2024
4b63f69
try this
sabban May 7, 2024
7ff6d47
explicitly call the "constructor"
sabban May 7, 2024
cd708fb
typo
sabban May 7, 2024
7998377
debug
sabban May 7, 2024
3cfcc49
debug
sabban May 7, 2024
02fe538
debug
sabban May 10, 2024
307f5b6
more debug
sabban May 10, 2024
22f8c79
fix debug
sabban May 10, 2024
eefa1f7
fix debug
sabban May 10, 2024
d6d938b
huge update
sabban May 10, 2024
cc441f8
fix error
sabban May 10, 2024
3e07d77
ngx.time
sabban May 10, 2024
29d79b5
consistency
sabban May 10, 2024
4e3a52e
leftover
sabban May 10, 2024
78cb558
debug
sabban May 10, 2024
60ba28a
typos
sabban May 10, 2024
c1955f4
add debug
sabban May 10, 2024
2f857d8
even more debug
sabban May 10, 2024
9a6d187
better condition
sabban May 10, 2024
481151a
try this
sabban May 10, 2024
a7d911b
try this
sabban May 10, 2024
c454c99
typo
sabban May 10, 2024
b892e19
factorizer stuff a bit
sabban May 10, 2024
3f74e1d
typo fix
sabban May 10, 2024
4b20898
typo
sabban May 10, 2024
b18f6bf
debug
sabban May 10, 2024
3450acf
debug
sabban May 10, 2024
017f0f9
typo
sabban May 10, 2024
97c6beb
debug
sabban May 10, 2024
b494376
debug
sabban May 10, 2024
113baaa
debug
sabban May 10, 2024
14b87f2
typo
sabban May 10, 2024
60068b9
debug
sabban May 10, 2024
a664188
debug
sabban May 10, 2024
a3530ba
debug
sabban May 10, 2024
1e9c6ea
debug
sabban May 10, 2024
2c5a2a8
fix int deivions
sabban May 10, 2024
717de6c
// has been introduced in lua 5.3
sabban May 10, 2024
f4b1849
try this
sabban May 10, 2024
c19583c
debug
sabban May 10, 2024
57cd148
sned values ony when non empty
sabban May 10, 2024
177ae17
try this
sabban May 11, 2024
ec5fe9c
try this
sabban May 11, 2024
41fbb24
try this
sabban May 11, 2024
3f033c1
trys this
sabban May 11, 2024
237d1de
try this
sabban May 11, 2024
20b5ef3
try this
sabban May 11, 2024
d14bb25
hop
sabban May 11, 2024
9ca294f
try this
sabban May 11, 2024
9ef879c
should fix the broken json
sabban May 13, 2024
dcb3c49
try this
sabban May 13, 2024
70798ca
try this
sabban May 13, 2024
db04822
try this
sabban May 13, 2024
57ef94a
more debug
sabban Sep 3, 2024
460e6f6
reset cache_key after created the json to send
sabban Sep 4, 2024
6452adb
delete key enterily
sabban Sep 4, 2024
23772e2
typo
sabban Sep 4, 2024
9e8240d
hop
sabban Sep 4, 2024
1b4a3cd
update generated json
sabban Sep 6, 2024
f76b238
cleanup
sabban Sep 6, 2024
56e98cf
change json format
sabban Sep 6, 2024
54c0574
change json format
sabban Sep 6, 2024
0c85110
change json forma
sabban Sep 6, 2024
5761ed6
change of json format
sabban Sep 6, 2024
25af5c5
new json format
sabban Sep 6, 2024
72f0737
large update
sabban Sep 10, 2024
80dadd7
large update
sabban Sep 10, 2024
294ff52
update functions
sabban Sep 10, 2024
3a660c5
fix typos
sabban Sep 10, 2024
a267737
typo
sabban Sep 10, 2024
0b02466
typo
sabban Sep 10, 2024
19c1ea3
debug
sabban Sep 10, 2024
8d541cf
debug
sabban Sep 10, 2024
65a247a
logic error
sabban Sep 10, 2024
30506f2
module handling
sabban Sep 10, 2024
289cbfb
cleanup live
sabban Sep 10, 2024
7566d01
simplification
sabban Sep 10, 2024
7a1c907
handle initialization properly for live
sabban Sep 10, 2024
e07ecd6
hop
sabban Sep 10, 2024
e286dec
debug
sabban Sep 10, 2024
c2aec46
debug
sabban Sep 10, 2024
813ee8b
small fixes
sabban Sep 10, 2024
39fcfed
handle split of files properly
sabban Sep 10, 2024
e8eb75f
typo
sabban Sep 10, 2024
921e8a8
fixes
sabban Sep 10, 2024
b7616c0
try this
sabban Sep 10, 2024
8384cce
try this
sabban Sep 10, 2024
d8c1560
debug
sabban Sep 10, 2024
71b95a5
debug
sabban Sep 10, 2024
ce7f960
hoip
sabban Sep 10, 2024
441dddb
try this
sabban Sep 10, 2024
d3e0384
hop
sabban Sep 10, 2024
5129215
try this
sabban Sep 10, 2024
f387c9e
fix
sabban Sep 10, 2024
2bf5f9c
simplifcation
sabban Sep 10, 2024
ba7d715
debug
sabban Sep 10, 2024
8db95d4
try this
sabban Sep 10, 2024
9edc40f
avoid recursion
sabban Sep 10, 2024
8c72294
hop
sabban Sep 10, 2024
61972ad
debug
sabban Sep 10, 2024
5a481b6
debug
sabban Sep 10, 2024
f3dcc07
hhop
sabban Sep 10, 2024
2b42776
fix
sabban Sep 10, 2024
b71e318
test
sabban Sep 11, 2024
ae99ecb
try this
sabban Sep 11, 2024
afc2d60
cleanup
sabban Sep 11, 2024
ffc1269
hop
sabban Sep 11, 2024
5e4549c
more debug
sabban Sep 11, 2024
9a95453
debig
sabban Sep 11, 2024
6567fd1
add os information
sabban Sep 11, 2024
ab94cff
add osinfo
sabban Sep 11, 2024
b64c8ee
debug
sabban Sep 11, 2024
52d02d5
fixes + debug
sabban Sep 12, 2024
eec57e0
update stream
sabban Sep 12, 2024
9bc43f3
typo
sabban Sep 12, 2024
6693f3a
debug
sabban Sep 12, 2024
48aded7
debug
sabban Sep 12, 2024
acf35c1
debug
sabban Sep 12, 2024
572227e
debug
sabban Sep 12, 2024
7258585
debug
sabban Sep 12, 2024
a24ce28
more debug
sabban Sep 12, 2024
6155915
debug
sabban Sep 12, 2024
05631b2
debug
sabban Sep 12, 2024
c1e5758
pouet
sabban Sep 12, 2024
4be48ee
debug
sabban Sep 12, 2024
113135e
debug
sabban Sep 12, 2024
6e2994c
debug
sabban Sep 12, 2024
35356d4
ho
sabban Sep 12, 2024
18ac8ad
changes
sabban Sep 13, 2024
b81b7d1
error management
sabban Sep 13, 2024
5f09d6f
typo
sabban Sep 13, 2024
5125f9f
hop
sabban Sep 13, 2024
4cf7f03
hop
sabban Sep 13, 2024
91da927
hop
sabban Sep 13, 2024
3b02f57
debug
sabban Sep 13, 2024
cd4a3ca
tupo
sabban Sep 13, 2024
8f74010
typo
sabban Sep 13, 2024
d952fee
hop
sabban Sep 13, 2024
b3ebdee
bunch of fixes
sabban Sep 13, 2024
b9d8dcf
debug
sabban Sep 16, 2024
314989e
hop
sabban Sep 16, 2024
066f386
debug
sabban Sep 16, 2024
1814957
debug
sabban Sep 16, 2024
dce8c3c
try this
sabban Sep 16, 2024
8eb92ca
active decision count
sabban Sep 16, 2024
73d8bd2
hop
sabban Sep 16, 2024
fcbcc57
hop
sabban Sep 16, 2024
c0a2d91
typo
sabban Sep 16, 2024
3393871
typo
sabban Sep 16, 2024
c458952
debug
sabban Sep 16, 2024
35555d1
debug
sabban Sep 16, 2024
272c3bd
debug
sabban Sep 16, 2024
840e1a8
hop
sabban Sep 16, 2024
b0c396e
debug
sabban Sep 16, 2024
b11144d
hop
sabban Sep 16, 2024
08b93f0
hop
sabban Sep 16, 2024
e2a0a06
hop
sabban Sep 16, 2024
f364a06
typos
sabban Sep 16, 2024
f1eb5b2
fucking typo
sabban Sep 16, 2024
a0253d0
hop
sabban Sep 16, 2024
30ad979
debug
sabban Sep 16, 2024
85733bb
test this
sabban Sep 16, 2024
e5f99da
try this
sabban Sep 17, 2024
05d3269
typo
sabban Sep 17, 2024
d78d192
hop
sabban Sep 17, 2024
f5fc9c0
try this
sabban Sep 17, 2024
f69bfc1
debug
sabban Sep 17, 2024
3d5dae1
debug
sabban Sep 17, 2024
d4fb669
hop
sabban Sep 17, 2024
dc036c3
hop
sabban Sep 17, 2024
d2003b9
debug
sabban Sep 17, 2024
941e426
try this
sabban Sep 17, 2024
c5a16cd
hop
sabban Sep 17, 2024
5eb0030
try this
sabban Sep 17, 2024
21211de
try this
sabban Sep 17, 2024
5cb6e86
try this
sabban Sep 17, 2024
7282e64
try this
sabban Sep 17, 2024
81b7df8
try this
sabban Sep 17, 2024
483755b
try this
sabban Sep 17, 2024
241e3bd
try this
sabban Sep 17, 2024
7511d27
try this
sabban Sep 17, 2024
af90e5a
try this
sabban Sep 18, 2024
c11fcdc
try this
sabban Sep 18, 2024
a27d301
truy this
sabban Sep 18, 2024
c4eb4e0
try this
sabban Sep 18, 2024
08b0ade
try this
sabban Sep 18, 2024
dc4f8e1
try this
sabban Sep 18, 2024
0826eb5
hop
sabban Sep 18, 2024
2611f0d
hop
sabban Sep 18, 2024
1825d5d
try this
sabban Sep 18, 2024
99c6af0
try now this
sabban Sep 18, 2024
4a36e6b
try this
sabban Sep 18, 2024
a1c2b9e
try this
sabban Sep 18, 2024
365c723
debug
sabban Sep 18, 2024
5cfdc6f
try this
sabban Sep 18, 2024
3d5da11
try this
sabban Sep 18, 2024
c529c36
hop
sabban Sep 18, 2024
f47a37c
try this
sabban Sep 18, 2024
a77567e
hop
sabban Sep 18, 2024
f369e0d
lest's try this
sabban Sep 18, 2024
aba2c1f
ttyoi
sabban Sep 18, 2024
709fdbc
debug
sabban Sep 18, 2024
48df879
fix initial count for active decisions
sabban Sep 18, 2024
86d7c44
make use of ip type
sabban Sep 18, 2024
401581e
try this
sabban Sep 18, 2024
fcf8e8d
wip
sabban Oct 2, 2024
f182e80
Merge branch 'wip_metrics' of github.com:crowdsecurity/lua-cs-bouncer…
sabban Oct 2, 2024
06e584d
Add live test (#78)
sabban Oct 2, 2024
6183716
Merge branch 'metrics' into wip_metrics
sabban Oct 2, 2024
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
Loading