Metrics: Fix timestamps, they were not epoch 83/32883/4
authorVratko Polak <vrpolak@cisco.com>
Thu, 24 Jun 2021 17:40:38 +0000 (19:40 +0200)
committerVratko Polak <vrpolak@cisco.com>
Thu, 24 Jun 2021 17:40:38 +0000 (19:40 +0200)
commitfd59d7ff012291f27e9ad2cd6ca863d8307f9104
tree7a14a9b3fb5f32c4cb3f43677d6a510940c6f000
parent39001a2af7f465bb97e21747db749ff3e44ebbd4
Metrics: Fix timestamps, they were not epoch

Library documentation [0] says this about monotonic():

  The reference point of the returned value is undefined,
  so that only the difference between the results of two calls is valid.

Switching to time().

[0] https://docs.python.org/3/library/time.html

Change-Id: Ia7ef8d89119f7dc72619cac44b213611163ff054
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
resources/tools/telemetry/metrics.py