Commit Graph

5 Commits

Author SHA1 Message Date
115e5d5051
Linting and comments. 2020-12-23 20:55:50 +05:00
095aff540e
API version checking and linting. 2020-12-23 19:31:09 +05:00
c34babeaf8
Add metric type to metric struct. 2020-12-23 13:45:33 +05:00
7e90814fde
Return list of parsed metrics, for autodiscovery. 2020-12-23 13:37:52 +05:00
529113a41a
Metrics data is stored as structure, HTTP requests logging, got rid of context.
Metrics data now stored as structures. This is a first step for autodiscovery
helping for NMSes.

HTTP requests now logged.

Got rid of context.Context for getting metric data in applications
because context.Context is useless here.
2020-12-23 13:27:17 +05:00