Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TestMetrics ¶
TestMetrics provides testing helpers for metrics.
func Start ¶
func Start(ctx context.Context) TestMetrics
Start configures, creates and starts metrics server, returns initialized TestMetrics object.
func (TestMetrics) FetchContent ¶
func (tm TestMetrics) FetchContent() (string, error)
FetchContent fetches content from /metrics.
Click to show internal directories.
Click to hide internal directories.