Commit Graph

13 Commits

Author SHA1 Message Date
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
de5b55da43
Fix fetcher flag usage misplacement. 2020-11-29 19:36:04 +05:00
afad4f5d7f
A very naive, simple and not so robust HTTP API responder implementation. 2020-11-29 06:09:35 +05:00
f5d898b025
Little linting fixes. 2020-11-29 05:52:52 +05:00
aaaebaa95a
Add log message in storage about items putting. 2020-11-29 05:50:35 +05:00
cb5fdd4d8e
Little refactor for Prometheus metrics parser. 2020-11-29 05:49:45 +05:00
5b1094c258
Linter config tuning and first version of Prometheus metrics parser. 2020-11-29 05:44:21 +05:00
edc3351eb8
Use proxified Docker image for linting. 2020-11-29 03:24:12 +05:00
f915470c0b
Rethink how metricator will work, golangci-lint and gitlab ci configs. 2020-11-29 03:22:39 +05:00
e679fecf6e
Correctly set version info when building, fixed build script and added headers for apps endpoints. 2020-11-28 23:46:24 +05:00
cdf9997cfe
Initial commit. 2020-11-28 23:34:20 +05:00