Commit Graph

1215 Commits

Author SHA1 Message Date
M. Mert Yildiran
5256902e9d
Add malformed TODOs 2022-06-01 17:40:21 +03:00
M. Mert Yildiran
94dba8bc64
Temporarily reject the gzip chunks 2022-06-01 17:40:10 +03:00
M. Mert Yildiran
7ee7ef7e44
NULL terminate the bytes with unix.ByteSliceToString 2022-06-01 17:39:37 +03:00
M. Mert Yildiran
4e8d760a12
Add MIZU_GLOBAL_GOLANG_PATH environment variable 2022-06-01 17:30:29 +03:00
M. Mert Yildiran
b6b269eb19
Have a single counter pair and request response matcher per Golang connection 2022-06-01 17:16:21 +03:00
M. Mert Yildiran
52c4b18a9d
Add golangReader struct and implement its Read method 2022-06-01 15:27:54 +03:00
M. Mert Yildiran
68dec6cbbc
Fix the probed line number links 2022-06-01 14:58:39 +03:00
M. Mert Yildiran
c7d40d1caf
Pass the connection address from write to gzip through a common address between gzip and dial 2022-06-01 14:57:16 +03:00
M. Mert Yildiran
76bee7a9df
Make hash map names more meaningful 2022-06-01 14:36:03 +03:00
M. Mert Yildiran
3b332d2a9a
Cancel golang_crypto_tls_read_uprobe if it's a gzip read 2022-06-01 14:34:25 +03:00
M. Mert Yildiran
9fc8e0eb50
Add a uprobe for net/http.(*gzipReader).Read to read chunked HTTP response body 2022-06-01 14:32:24 +03:00
M. Mert Yildiran
a2da15ef2d
Temporarily disable the PCAP capture 2022-06-01 14:25:23 +03:00
M. Mert Yildiran
e453947b12
Fix the read data address one more time 2022-05-31 15:23:11 +03:00
M. Mert Yildiran
9314126fb6
Make golang_dial_writes key __u64 and include the PID 2022-05-31 15:20:38 +03:00
M. Mert Yildiran
0e5571e156
Fix the read data address 2022-05-31 15:12:37 +03:00
M. Mert Yildiran
e9abe14ff5
Fix the indent 2022-05-31 00:54:05 +03:00
M. Mert Yildiran
af40e814a4
Remove len and cap fields 2022-05-31 00:50:47 +03:00
M. Mert Yildiran
fbdbe1a9f1
Change the read symbol from net/http.(*persistConn).Read to crypto/tls.(*Conn).Read 2022-05-31 00:49:57 +03:00
M. Mert Yildiran
3b27c5c704
Fix the mixed offsets and dissection preparation 2022-05-31 00:10:32 +03:00
M. Mert Yildiran
f54d9a453f
Temporarily disable OpenSSL 2022-05-30 23:29:13 +03:00
M. Mert Yildiran
efc81b9baf
Fix exe path finding 2022-05-30 23:27:19 +03:00
M. Mert Yildiran
fcb7663b99
Replace Libssl occurrences with Ssllib for consistency 2022-05-30 22:34:01 +03:00
M. Mert Yildiran
e0a7a04543
Add an environment variable to test Golang locally 2022-05-30 22:32:14 +03:00
M. Mert Yildiran
be1a572f35
Remove unused parameter 2022-05-30 22:27:39 +03:00
M. Mert Yildiran
4111f0f58c
Move map related stuff to maps.h and run go generate tls_tapper.go 2022-05-30 19:37:03 +03:00
M. Mert Yildiran
81a1f50d2c
Fix the linter error 2022-05-30 19:22:22 +03:00
M. Mert Yildiran
eccd042d69
Upgrade github.com/cilium/ebpf version to v0.8.1 2022-05-30 19:20:46 +03:00
M. Mert Yildiran
b91ad2c76c
Add golangConnection struct and implement pollGolangReadWrite method 2022-05-30 19:10:16 +03:00
M. Mert Yildiran
2dc40d5976
Add Golang hooks and offsets 2022-05-30 17:07:29 +03:00
M. Mert Yildiran
464aa98f23
Add golang_uprobes.c 2022-05-30 14:20:15 +03:00
M. Mert Yildiran
e8653f8cdf
Run go generate tls_tapper.go 2022-05-30 13:51:35 +03:00
leon-up9
02b3672e09
added map object (#1119)
Co-authored-by: Leon <>
2022-05-30 13:13:07 +03:00
RoyUP9
45b368b33e
Updated the install command UX (#1118) 2022-05-30 11:18:46 +03:00
Igor Gov
8f64fdaa61
Alert to slack if release action fails (#1117)
* Trigger mizu ent stg deployment on release
2022-05-29 15:16:45 +03:00
AmitUp9
7edb0b153b
added condition that if no selector wouldn't be tooltip also (#1114) 2022-05-26 15:19:00 +03:00
AmitUp9
569a687fdf
Line numbers counter func added to utils (#1112)
* #run_acceptance_tests

* added new line to the end of the file

* #run_acceptance_tests

* linter fix

* more linter issues fix
2022-05-25 13:44:50 +03:00
AmitUp9
11e8b5eb65
TRA_4437- disable line numbers checkbox when only one line in content (#1109)
* number of lines state added

* added useEffect to update to showLineNubers state dynamically

* small cr fixes
2022-05-24 15:07:40 +03:00
AmitUp9
3901f3f3fe
change icon style css to move the icon so it can be clicked (#1111) 2022-05-24 14:16:27 +03:00
Nimrod Gilboa Markevich
2f1cc21fcb
Change redact to opt in (#1104) 2022-05-24 14:12:37 +03:00
leon-up9
433253a27b
font & padding change (#1108)
Co-authored-by: Leon <>
2022-05-24 12:09:13 +03:00
RoyUP9
00cc94fbe5
Changed OAS generator to get entries by push (#1103) 2022-05-22 14:53:48 +03:00
Nimrod Gilboa Markevich
8feef78ab1
Ignore mizu traffic in performance tests (#1102) 2022-05-22 12:08:22 +03:00
Nimrod Gilboa Markevich
992abc99bc
Disable redaction in performance tests (#1101) 2022-05-22 12:05:24 +03:00
Nimrod Gilboa Markevich
486d0b1088
Support tapper profiling on macOS (#1098) 2022-05-19 15:11:46 +03:00
David Levanon
f61a02d288
fix heap and goroutines metrics (#1099) 2022-05-19 14:55:13 +03:00
M. Mert Yıldıran
03694e57c0
Fix checkFilterByMethod in acceptance tests (#1094)
* Fix `checkFilterByMethod` in acceptance tests

* #run_acceptance_tests

* Add `numberOfRecords` parameter to test specs #run_acceptance_tests

* Fix the values #run_acceptance_tests

* Fix the values #run_acceptance_tests

* Fix #run_acceptance_tests

* #run_acceptance_tests

* Reduce value duplication #run_acceptance_tests

Co-authored-by: gadotroee <55343099+gadotroee@users.noreply.github.com>
Co-authored-by: Roee Gadot <roee.gadot@up9.com>
2022-05-19 13:37:50 +03:00
gadotroee
1760afda2b
Add tolerations to api server pod (#1035) 2022-05-19 10:46:36 +03:00
M. Mert Yıldıran
522e2cc3da
Call SetProtocol in AMQP faster and remove GetProtocol method (#1097)
* Call `SetProtocol` in AMQP faster and remove `GetProtocol` method

* #run_acceptance_tests

* Remove the unused fields from the test mocks #run_acceptance_tests
2022-05-19 10:07:40 +03:00
Nimrod Gilboa Markevich
ab38f4c011
Add profiling tools (#1087)
* Add gin-contrib/pprof dependency

* Run pprof server on agent with --profiler flag

* Add --profiler flag to cli

* Fix error message

* Print cpu usage percentage

* measure cpu of current pid instead of globaly on the system

* Add scripts to plot performance

* Plot packetsCount in analysis

* Concat to DataFrame

* Plot in turbo colorscheme

* Make COLORMAP const

* Fix rss units

* Reduce code repetition by adding function for plotting

* Allow grouping based on filenames

* Temporary: Marked with comments where to disable code for experiments

* Add newline at end of file

* Add tap.cpuprofile flag. Change memprofile flag to tap.memprofile

* create tapper modes for debugging using env vars

* Fix rss plot units (MB instead of bytes)

* Remove comment

* Add info to plot script

* Remove tap.cpumemprofile. Rename tap.memprofile to memprofile

* Remove unused import

* Remove whitespaces

Co-authored-by: M. Mert Yıldıran <mehmet@up9.com>

* Remove whitespaces

Co-authored-by: M. Mert Yıldıran <mehmet@up9.com>

* Remove whitespaces

Co-authored-by: M. Mert Yıldıran <mehmet@up9.com>

* Remove whitespaces

Co-authored-by: M. Mert Yıldıran <mehmet@up9.com>

* Remove whitespaces

Co-authored-by: M. Mert Yıldıran <mehmet@up9.com>

* Remove whitespaces

Co-authored-by: M. Mert Yıldıran <mehmet@up9.com>

* Rename debug env vars

* Create package for debug env vars, read each env var once

* Run go mod tidy

* Increment MatchedPairs before emitting

* Only count cores once

* Count virtual and physical cores

* Add dbgctl replace in cli

* Fix lint: Check return values

* Add tap/dbgctl to test-lint make rule

* Replace tap/dbgctl in all modules

* #run_acceptance_tests

* Copy dbgctl module to docker image

* Debug/profile tapper benchmark (#1093)

* add mizu debug env to avoid all extensions

* add readme + run_tapper_benchmark.sh

* temporary change branch name

* fix readme

* fix MIZU_BENCHMARK_CLIENTS_COUNT env

* change tap target to tcp stream

* track live tcp streams

* pr fixes

* rename tapperPacketsCount to ignored_packets_count

* change mizu tapper to mizu debugg

Co-authored-by: David Levanon <dvdlevanon@gmail.com>
Co-authored-by: M. Mert Yıldıran <mehmet@up9.com>
2022-05-18 15:42:13 +03:00
David Levanon
a9de4f0bba
stop tapping self tapper traffic (#1083)
* stop tapping self tapper traffic

* run go mod tidy

* allow to explicitly ignore ports

* remove unused code

* remove shared from tap + go mod tidy

* move ignroe ports to tapper

* rename TapperPacketsCount to IgnoredPacketsCount

* don't check null - go is smart

* remove nil check
2022-05-18 15:13:10 +03:00