Aliaksandr Valialkin
|
1ee5a234dc
|
lib/promscrape: remove ID field from ScrapeWork struct. Use a pointer to ScrapeWork as a key in targetStatusMap
This simplifies the code a bit.
|
2020-12-17 14:31:55 +02:00 |
|
Aliaksandr Valialkin
|
e3999ac010
|
lib/promscrape: show real timestamp and real duration for the scape on /targets page
Previously the scrape duration may be negative when calculated scrape timestamp drifts away from the real scrape timestamp
|
2020-08-10 12:40:49 +03:00 |
|
Aliaksandr Valialkin
|
d962568e93
|
all: use %w instead of %s for wrapping errors in fmt.Errorf
This will simplify examining the returned errors such as httpserver.ErrorWithStatusCode .
See https://blog.golang.org/go1.13-errors for details.
|
2020-06-30 23:33:46 +03:00 |
|
Aliaksandr Valialkin
|
7ee7614e90
|
app/vmagent: initial implementation for vmagent
|
2020-02-23 17:31:54 +02:00 |
|