Directories
¶
| Path | Synopsis |
|---|---|
|
Package httplog logs one line per HTTP request through the application's slog.Logger.
|
Package httplog logs one line per HTTP request through the application's slog.Logger. |
|
Package instruments is each metric that osapi records: its name, kind, unit, labels, the component that records it, and its doc.
|
Package instruments is each metric that osapi records: its name, kind, unit, labels, the component that records it, and its doc. |
|
Package metrics provides a lightweight HTTP server for per-component Prometheus metrics with isolated registries.
|
Package metrics provides a lightweight HTTP server for per-component Prometheus metrics with isolated registries. |
|
Package opspan opens the span of one operation of a store or a client, such as job.list or audit.get.
|
Package opspan opens the span of one operation of a store or a client, such as job.list or audit.get. |
|
Package process collects the metrics of the osapi process, and the conditions that its limits give, such as high memory.
|
Package process collects the metrics of the osapi process, and the conditions that its limits give, such as high memory. |
|
mocks
Package mocks provides mock implementations for testing.
|
Package mocks provides mock implementations for testing. |
|
Package respspan times what the controller does after a handler has its answer, as two spans of their own under the request: response.encode, the encode of the answer as JSON, and response.write, the write of it to the client, which waits on the network.
|
Package respspan times what the controller does after a handler has its answer, as two spans of their own under the request: response.encode, the encode of the answer as JSON, and response.write, the write of it to the client, which waits on the network. |
|
Package traces reads the spans of a trace from a tracing backend, so that osapi can show a trace without the caller reaching the backend.
|
Package traces reads the spans of a trace from a tracing backend, so that osapi can show a trace without the caller reaching the backend. |
|
Package tracing provides OpenTelemetry tracing initialization and helpers.
|
Package tracing provides OpenTelemetry tracing initialization and helpers. |
Click to show internal directories.
Click to hide internal directories.