Expose Prometheus metrics 62/74562/7
authorPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Wed, 12 Dec 2018 08:07:05 +0000 (09:07 +0100)
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>
Thu, 13 Dec 2018 14:06:49 +0000 (15:06 +0100)
commit62fc38ca67632825f64965a7f70a9845de7ad35e
tree910f067c1e15f1b5826bd2a5da7ca5c2840d30da
parentfb4914b7b200772f70e9a7b011d9b17c35df5bfc
Expose Prometheus metrics

Expose both JVM and HV-VES metrics by means of HealthCheckApiServer in
Prometheus format.

Change-Id: I81b74cd945c67569703a4a74f5a2683ede18d64a
Issue-ID: DCAEGEN2-1029
Signed-off-by: Piotr Jaszczyk <piotr.jaszczyk@nokia.com>
pom.xml
sources/hv-collector-ct/src/test/kotlin/org/onap/dcae/collectors/veshv/tests/fakes/metrics.kt
sources/hv-collector-health-check/src/main/kotlin/org/onap/dcae/collectors/veshv/healthcheck/factory/HealthCheckApiServer.kt
sources/hv-collector-health-check/src/main/kotlin/org/onap/dcae/collectors/veshv/healthcheck/ports/PrometheusMetricsProvider.kt [new file with mode: 0644]
sources/hv-collector-main/pom.xml
sources/hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/MicrometerMetrics.kt [deleted file]
sources/hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/metrics/MicrometerMetrics.kt [new file with mode: 0644]
sources/hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/metrics/MicrometerPrometheusMetricsProvider.kt [new file with mode: 0644]
sources/hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/servers/HealthCheckServer.kt
sources/hv-collector-main/src/main/kotlin/org/onap/dcae/collectors/veshv/main/servers/VesServer.kt
sources/hv-collector-main/src/test/kotlin/org/onap/dcae/collectors/veshv/main/MicrometerMetricsTest.kt