Export stats to a time-series database
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 25/100
- Issue type
- Feature
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- ocaml
- Domain
- data, networking, observability-sre
Research direction
Start by mapping the network data path and locating the network stack entry points where packets, bytes, DNS requests, and UDP NAT rules are available. Define the counters and the external InfluxDB output format, then consider the Datakit filter stretch goal. Done means the requested metrics can be exported and visualised, with user-defined filters treated separately.
Written by the indexing model from the issue text.
Description
Since we're on the network data path we can measure the traffic as it passes through. We could measure
- packets per second
- bytes per second
- DNS requests latency
- DNS request failure rate
- Number of active UDP NAT rules
etc
This data could be sent to an external time-series database such as influxdb and then visualised.
This involves
- writing a client for a time-series database (this may be as easy as
connect()ing to it and writing.jsonmessages) - adding some basic counters to the network stack
- (stretch goal): allow the user to define their own filters via datakit and record these too
- Dominant language
- OCaml
- Stars
- 1.2k
- Forks
- 214
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from moby/vpnkit
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 38/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Schema-level dtype cannot be serialized: to_yaml raises RepresenterError, to_json raises TypeError Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
unionai-oss/pandera#2511 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
unitaryfoundation/qldpc-challenge#1651 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
statsmodels/statsmodels#10271 ·