Commit Graph

13516 Commits

Author SHA1 Message Date
Matija Petrunic
181b35dc5e Extend peer score event with score components 2021-09-29 16:20:43 +02:00
Mak Muftic
7b19beaf5d Fix linter errors 2021-09-29 13:12:42 +02:00
Mak Muftic
3433fa4a6e Add stringdocs to config props and generate docs 2021-09-29 12:51:43 +02:00
Mak Muftic
45bb8c3ebf Remove cli flags 2021-09-29 12:50:30 +02:00
Matija Petrunić
58afade1bb
Merge pull request #9 from ChainSafe/mpetrun5/lotus-extended-tracer
Lotus extended pubsub tracer
2021-09-28 16:35:57 +02:00
Matija Petrunic
1e9a0894f1 Merge branch 'mpetrun5/lotus-extended-tracer' of github.com:ChainSafe/lotus into mpetrun5/lotus-extended-tracer 2021-09-27 15:09:06 +02:00
Matija Petrunic
581a54663c Add README for creating kibana dashboards 2021-09-27 15:09:03 +02:00
Mak Muftic
36913f4efc Fix elasticsearch index setup 2021-09-27 13:28:28 +02:00
Matija Petrunic
6c680e306d Rename json tracer flag 2021-09-24 16:25:41 +02:00
Mak Muftic
30fc2387be Merge branch 'mpetrun5/lotus-extended-tracer' of github.com:ChainSafe/lotus into mpetrun5/lotus-extended-tracer 2021-09-24 14:16:31 +02:00
Matija Petrunic
22f8d321d7 Merge branch 'mpetrun5/lotus-extended-tracer' of github.com:ChainSafe/lotus into mpetrun5/lotus-extended-tracer 2021-09-24 14:08:16 +02:00
Matija Petrunic
72d8e62075 Add kibana dashboard configurations 2021-09-24 14:07:47 +02:00
Mak Muftic
9332b9f399 Change json config naming 2021-09-24 13:53:31 +02:00
Matija Petrunić
70e3a9aff8
Merge pull request #10 from ChainSafe/mmuftic/add-cli-flags
Add cli flags
2021-09-24 13:51:00 +02:00
Mak Muftic
4438c4bd87 Move index name to config only and add default value 2021-09-24 13:43:25 +02:00
Mak Muftic
22bbb113e7 Fix schema creation 2021-09-24 12:58:32 +02:00
Mak Muftic
94a1601ab2 Remove hardcoded url schema 2021-09-24 12:40:33 +02:00
Mak Muftic
e46da5a181 Add cli flags 2021-09-24 12:37:16 +02:00
Matija Petrunic
0c390d12f7 Append source auth flag to lotus tracer event 2021-09-21 12:54:07 +02:00
Matija Petrunic
d65d9aa6e0 Send peerID peer score as separate events to enable usage of kibana runtime fields 2021-09-21 12:30:50 +02:00
Mak Muftic
082f70757c Revert additional logging in elastic client 2021-09-20 12:29:12 +02:00
Mak Muftic
a685ccc955 Remove document id 2021-09-17 15:14:39 +02:00
Mak Muftic
0962e73e3e Add loger to elastic search client 2021-09-17 14:22:57 +02:00
Matija Petrunic
7d0aefacbb Change peer score event type to avoid exceeding elastisearch field limit 2021-09-17 13:46:26 +02:00
Matija Petrunic
a91ffa60d6 Set peer id event as string in lotus trace event 2021-09-17 12:11:14 +02:00
Mak Muftic
dc79ea363d Change index name 2021-09-17 11:35:36 +02:00
Mak Muftic
f09f5c2d11 Change elastic document name 2021-09-16 16:49:47 +02:00
Mak Muftic
8e2b474fc7 Use only one document on elastic 2021-09-16 16:44:35 +02:00
Matija Petrunic
9efa495b0e Write every trace to new line when using json transport 2021-09-16 16:42:18 +02:00
Matija Petrunic
941a0f7153 Update peer score tracker creation to include lotus tracer 2021-09-16 16:31:36 +02:00
Matija Petrunic
9cdc5261c4 Fix lotus tracer being nil when remote tracer is not configured 2021-09-16 15:53:39 +02:00
Matija Petrunic
d067bc9f01 Move creating and opening file to json transport constructor 2021-09-16 15:22:18 +02:00
Matija Petrunic
e2206147cc Add source auth token to lotus traces 2021-09-16 12:21:57 +02:00
Matija Petrunić
515925a178
Merge pull request #7 from ChainSafe/mmuftic/elastic-search-transport
Add Elasticsearch transport
2021-09-16 12:20:22 +02:00
Mak Muftic
c25a5e06cf Use config string for elasticsearch client 2021-09-16 12:15:42 +02:00
Mak Muftic
5cbd2519da Remove processing elasticsearch result 2021-09-15 16:20:36 +02:00
Mak Muftic
67c1d633c6 Rename jsonEvent to evt 2021-09-15 16:16:12 +02:00
Mak Muftic
add13c2646 Code cleanup 2021-09-15 16:05:44 +02:00
Mak Muftic
71a2ca9e7c Add new wrapper structure in tracer transport 2021-09-15 16:03:51 +02:00
Mak Muftic
707faf57b5 Code cleanup 2021-09-15 15:11:34 +02:00
Mak Muftic
e20cd0ef27 Propagate error on creating transport 2021-09-15 14:58:36 +02:00
Mak Muftic
cf06096565 Fix tracer initialization 2021-09-15 14:54:20 +02:00
Mak Muftic
bb85ca031d Add elasticsearch transport 2021-09-15 14:50:27 +02:00
mace
d2702209a4
Merge pull request #6 from ChainSafe/mpetrun5/tracer-json-transport
Json tracer transport
2021-09-15 14:25:00 +02:00
Matija Petrunic
c064ce4852 Add generated documentation 2021-09-15 14:22:48 +02:00
Matija Petrunic
8a657b90a7 Refactor lotus tracer to behave like lp2p tracer 2021-09-15 13:41:56 +02:00
Matija Petrunic
ab86c5419d Implement json tracer transport 2021-09-15 13:41:03 +02:00
Matija Petrunic
8e6a01de6d Add configuration in pubsub to trace locally to json file 2021-09-15 13:40:54 +02:00
Matija Petrunic
d5a4b0637a Add lotus tracer transport calls 2021-09-10 15:37:38 +02:00
Mak Muftic
c367533a3c Add transport interface 2021-09-10 12:36:38 +02:00