canonical / dqlite

Embeddable, replicated and fault-tolerant SQL engine.
https://dqlite.io
Other
3.89k stars 218 forks source link

feat: integrate anatoliy o11y prototype #667

Closed letFunny closed 4 months ago

letFunny commented 4 months ago

This is the chronoscope.yaml used:

.p1: &tick_parser_positions
  id: 10
  pid: 8
  type: 6
  time: 1
  event: 11

.p2: &rel_parser_positions
  type: 6
  orig_pid: 8
  dest_pid: 10
  orig_id: 12
  dest_id: 14

.p3: &attr_parser_positions
  id: 6
  pid: 4
  type: 2
  name: 7
  value: 1

tick:
  - type: follower
    pos: *tick_parser_positions
  - type: leader
    pos: *tick_parser_positions
  - type: work
    pos: *tick_parser_positions
  - type: rpc
    pos: *tick_parser_positions
  - type: to
    pos: *tick_parser_positions

relation:
  - type: leader-to-rpc
    pos: *rel_parser_positions
  - type: leader-to-work
    pos: *rel_parser_positions
  - type: leader-to-to
    pos: *rel_parser_positions
  - type: follower-to-rpc
    pos: *rel_parser_positions
  - type: follower-to-work
    pos: *rel_parser_positions
  - type: follower-to-to
    pos: *rel_parser_positions

attr:
  - type: gw-attr
    pos: *attr_parser_positions
  - type: req-attr
    pos: *attr_parser_positions
  - type: conn-attr
    pos: *attr_parser_positions

Examples: follower

leader

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 95.23810% with 1 line in your changes missing coverage. Please review.

Project coverage is 77.78%. Comparing base (ee07596) to head (3e580c5). Report is 6 commits behind head on master.

Files Patch % Lines
src/lib/sm.c 90.00% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #667 +/- ## ========================================== + Coverage 77.56% 77.78% +0.22% ========================================== Files 197 197 Lines 27638 27651 +13 Branches 5486 5486 ========================================== + Hits 21438 21509 +71 + Misses 4326 4322 -4 + Partials 1874 1820 -54 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.