Documentation
¶
Index ¶
- func Measure(ctx context.Context) error
- func Nodegraph(req *http.Request) []byte
- func Serve(ctx context.Context)
- type Id
- type Metrics
- type Pid
- type Prometheus
- type Properties
- type Query
- func (query Query) Arrow() string
- func (query Query) BuildGraph(tb process.Table, itr process.Tree, hosts map[Pid]string, ...) []byte
- func (query Query) DataEdge(_ process.Table, conn process.Connection) []string
- func (query Query) DataNode(conn process.Connection) string
- func (query Query) HostEdge(_ process.Table, conn process.Connection) []string
- func (query Query) HostNode(conn process.Connection) string
- func (query Query) Pid() Pid
- func (query Query) ProcEdge(_ process.Table, self, peer Pid) []string
- func (query Query) ProcNode(p *process.Process) string
- type WebServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Metrics ¶
type Metrics struct { HTTPRequests int `json:"http_requests" gomon:"counter,count"` Prometheus `gomon:""` LokiStreams int `json:"loki_streams" gomon:"counter,count"` }
Metrics defines measurement metrics.
type Prometheus ¶
type Properties ¶
type Properties struct {
WebServer `gomon:""`
}
Properties defines measurement properties.
Click to show internal directories.
Click to hide internal directories.