From 8feb3b5045365980a7522482fda12ffc6ae64364 Mon Sep 17 00:00:00 2001 From: Bartosz Kupidura Date: Thu, 19 Jan 2017 11:33:06 +0100 Subject: [PATCH] Add annotations for prometheus Change-Id: I2ffb64413d4cec25e53d2f463fe2a14172056271 --- service/nova-api.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/service/nova-api.yaml b/service/nova-api.yaml index cd2bb81..3ac1132 100644 --- a/service/nova-api.yaml +++ b/service/nova-api.yaml @@ -1,9 +1,12 @@ -dsl_version: 0.1.0 +dsl_version: 0.4.0 service: name: nova-api ports: - {{ nova.api_port }} - {{ nova.metadata.port }} + annotations: + service: + prometheus.io/probe: "true" containers: - name: nova-api image: nova-api