Metric: Message latency 18/74718/5
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Mon, 17 Dec 2018 12:22:52 +0000 (13:22 +0100)
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Tue, 18 Dec 2018 10:00:12 +0000 (11:00 +0100)
commit30488f1922f789c5b8e18934456968aa354c9671
tree48716d0c7d48c55931828bdc056083da838e4796
parent8c180a2101f54d7cc0e3527c2bbe23390eea9cef
Metric: Message latency

Defined as a difference between now and vesHeader.lastEpochTime.

Change-Id: I4aa97e8efc13cb0039fde38b4fd2aa6411c7b89a
Issue-ID: DCAEGEN2-1036
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
sources/hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/metrics/MicrometerMetrics.kt
sources/hv-collector-main/src/test/kotlin/org/onap/dcae/collectors/veshv/main/MicrometerMetricsTest.kt
sources/hv-collector-test-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/tests/utils/vesEvents.kt
sources/hv-collector-utils/src/main/kotlin/org/onap/dcae/collectors/veshv/utils/time.kt [new file with mode: 0644]
sources/hv-collector-utils/src/test/kotlin/org/onap/dcae/collectors/veshv/utils/time_test.kt [new file with mode: 0644]