Commit Graph

44 Commits

Author SHA1 Message Date
26ce90bb84
Linting fixes. 2021-11-21 14:45:09 +05:00
16be332d38
Add Drone configuration. 2021-11-21 14:12:09 +05:00
e2a928fac4 Merge branch 'shanvl/bug_fix' into 'master'
Fix logger config and parser bugs; use scanner instead of reading request body at once

See merge request pztrn/metricator!1
2021-06-04 08:50:12 +00:00
Andrey Shcherbinin
a252681b26 Fix logger config and parser bugs; use scanner instead of reading request body at once 2021-06-04 08:50:12 +00:00
fb34d0d53e
Version 0.2.0 and build fix. 2021-02-19 19:43:52 +05:00
abe6734a46
Preparing to 0.1.1 release. 2021-02-19 19:27:46 +05:00
c32d99ea65
Ability to overwrite go binary path when building.
Fixes #9.
2021-02-19 19:27:17 +05:00
edfbd5a90d
Differentiate git/release data for binary data embedding.
Fixes #10.
2021-02-19 19:24:42 +05:00
10d761f07d
Fix errors when building something with make.
Fixes #8.
2021-02-19 19:18:10 +05:00
ddf3ff9240
Documentation update and linting fix. 2020-12-24 23:33:24 +05:00
25d8b2776c
Add metricator-client to docker image. 2020-12-24 23:17:38 +05:00
cdbb3b7089
Add possibility to format metricator client output.
Closes #5.
2020-12-24 23:15:56 +05:00
614526b16d
The very basic metricator-client and package.
Package can be used in external things if needed.
2020-12-24 23:06:13 +05:00
f1418a7a31
Linting improvements. 2020-12-24 13:48:00 +05:00
9410522dd5
Add more debug output and fixed metrics name composing. 2020-12-23 22:12:25 +05:00
cdfa948b7d
Documentation improvement. 2020-12-23 21:33:39 +05:00
084de1520f
Link to configuration documentation. 2020-12-23 21:14:24 +05:00
fd8e5b9e1f
Documentation. 2020-12-23 21:13:56 +05:00
115e5d5051
Linting and comments. 2020-12-23 20:55:50 +05:00
08d5f36c36
Add /api/v1/info for build info output. 2020-12-23 20:48:23 +05:00
095e24a2b0
Fix binary path for docker building. 2020-12-23 20:28:24 +05:00
2d003fdf07
We also need bash to build docker image. 2020-12-23 20:18:18 +05:00
8f0aafd51a
Happens with the best of us... install -> add for apk command. 2020-12-23 20:15:08 +05:00
f8fa6bc707
Install dependencies when building docker image. 2020-12-23 20:13:47 +05:00
306c90205c
Add forgotten docker image name and move lint-test image name into vars. 2020-12-23 20:08:47 +05:00
6efe28f598
Docker container building. 2020-12-23 20:07:14 +05:00
095aff540e
API version checking and linting. 2020-12-23 19:31:09 +05:00
045769a292
Should fix CI. 2020-12-23 19:19:59 +05:00
95c8181d2a
Add simple debug logging. 2020-12-23 16:28:57 +05:00
935d5d8109
Comment out unneeded in default working mode logging and add changelog. 2020-12-23 15:54:51 +05:00
2e8fdb194c
Fill HELP and TYPE for metrics.
Fixes #2.
2020-12-23 15:40:48 +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
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