statsd_exporter/pkg
subham sarkar 4c0e26bfa1 Avoid unnecessary initialization of variables
This commit fixes the case when the metric is not present in rm (registered metric) then LastRegisteredAt and TTL are initialized twice. Firstly, LastRegisteredAt is initialized with the time.Time's zero value and then with clock.Now(). Plus, TTL is initialized with the same value twice.

Signed-off-by: subham sarkar <subham.sarkar@guavus.com>
2020-09-06 16:49:25 +05:30
..
address squash! Updated structs and tests. 2020-04-09 11:44:13 -04:00
clock hopefully now linux 2020-04-08 15:29:54 -04:00
event rename events for consistency 2020-06-22 14:53:52 -04:00
exporter move to line parser struct and option functions 2020-08-10 12:44:23 -04:00
line move to line parser struct and option functions 2020-08-10 12:44:23 -04:00
listener move to line parser struct and option functions 2020-08-10 12:44:23 -04:00
mapper Merge pull request #309 from prometheus/mr/issue-256 2020-06-19 14:15:01 +02:00
metrics Added license. 2020-04-08 15:30:01 -04:00
registry Avoid unnecessary initialization of variables 2020-09-06 16:49:25 +05:30