Skip to content

Latest commit

 

History

History
40 lines (22 loc) · 913 Bytes

prometheus_httpd_ct.md

File metadata and controls

40 lines (22 loc) · 913 Bytes

Module prometheus_httpd_ct

Ready-to-use test function.

Description

Helps to test an app actually has working metrics endpoint. Configuration is a proplist(hence compatible with common test) with two keys:

  • metrics_port;
  • metrics_path. Function assumes localhost.

Function Index

self_test/1
self_test/2

Function Details

self_test/1

self_test(Config) -> any()

self_test/2

self_test(Port, Path0) -> any()