Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
netprobe-central
command
Command netprobe-central is the server that stores results and serves the UI.
|
Command netprobe-central is the server that stores results and serves the UI. |
|
netprobe-edge
command
Command netprobe-edge is the agent that runs probes and reports to the central.
|
Command netprobe-edge is the agent that runs probes and reports to the central. |
|
Package e2e tests the edge and the central together; it is the only package that imports both.
|
Package e2e tests the edge and the central together; it is the only package that imports both. |
|
internal
|
|
|
api
Package api defines the wire contract between the edge and the central.
|
Package api defines the wire contract between the edge and the central. |
|
central
Package central is the server: edge API, web API, storage and alerting.
|
Package central is the server: edge API, web API, storage and alerting. |
|
central/alert
Package alert opens an incident when a check keeps failing or an edge goes quiet, resolves it when it stops, and tells the channels of each event.
|
Package alert opens an incident when a check keeps failing or an edge goes quiet, resolves it when it stops, and tells the channels of each event. |
|
central/auth
Package auth hashes passwords, enforces their policy and throttles login attempts.
|
Package auth hashes passwords, enforces their policy and throttles login attempts. |
|
central/store
Package store keeps edges, checks and results in PostgreSQL with TimescaleDB.
|
Package store keeps edges, checks and results in PostgreSQL with TimescaleDB. |
|
central/store/storetest
Package storetest gives tests a throwaway database; tests skip without NETPROBE_TEST_DATABASE_URL.
|
Package storetest gives tests a throwaway database; tests skip without NETPROBE_TEST_DATABASE_URL. |
|
central/webapi
Package webapi is the JSON API the web UI talks to: accounts, sessions and the data of the central.
|
Package webapi is the JSON API the web UI talks to: accounts, sessions and the data of the central. |
|
cli
Package cli holds what both commands share: environment defaults and logging.
|
Package cli holds what both commands share: environment defaults and logging. |
|
doctor
Package doctor runs diagnostic steps in order and prints what is wrong and how to fix it.
|
Package doctor runs diagnostic steps in order and prints what is wrong and how to fix it. |
|
edge
Package edge is the agent: it polls the central, runs probes and reports results.
|
Package edge is the agent: it polls the central, runs probes and reports results. |
|
logsafe
Package logsafe cleans what a client sent before it goes in a log line.
|
Package logsafe cleans what a client sent before it goes in a log line. |
|
pkitest
Package pkitest makes a throwaway certificate authority for tests.
|
Package pkitest makes a throwaway certificate authority for tests. |
|
probe
Package probe runs network measurements and knows nothing about the central.
|
Package probe runs network measurements and knows nothing about the central. |
|
version
Package version holds the build information injected at link time.
|
Package version holds the build information injected at link time. |
Click to show internal directories.
Click to hide internal directories.