[metrics-team] Collector 1.1 Instance

Tom Ritter tom at ritter.vg
Sat Nov 19 17:16:22 UTC 2016


On 18 November 2016 at 02:40, iwakeh <iwakeh at torproject.org> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
>
>
> On 11/18/2016 05:11 AM, Tom Ritter wrote:
>> On 17 November 2016 at 07:14, iwakeh <iwakeh at torproject.org> wrote:
>>> -----BEGIN PGP SIGNED MESSAGE-----
>>> Hash: SHA256
>>>
>>>
>>> Thanks for posting this!
>>>
>>> The problem seems to be due to an incorrect json file, which was probably
>>> written during the heap-space-incident.
>>>
>>> You could just remove the current 'stats/references-history' file in order
>>> to get rid of the error.
>>
>> I'm afraid this did not solve the problem, as I removed the file
>> (without restarting the service) and still receive the errors.
>
> Oh, I pasted the wrong line.  The Json file to delete is 'stats/references'.
> As you expected, that will work without restart.



I think this fixed it, hopefully my json file looks correct now? Would
you be able to either point me to the 'json file sanity checkers' part
of collector or list them for me?  I'd like to improve my current
alert[0] to be more robust.

-tom

[0] https://github.com/tomrittervg/checker/blob/master/samplejobs/MetricsChecker.py
just checks for a daily consensus file


More information about the metrics-team mailing list