From 46a0f3e0ce55728c45df1b0eb67ed91529fef21c Mon Sep 17 00:00:00 2001 From: Feruzjon Muyassarov Date: Wed, 13 Nov 2024 17:46:05 +0200 Subject: [PATCH 1/2] tilt: expose metrics port by default for local dev Signed-off-by: Feruzjon Muyassarov --- Tiltfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tiltfile b/Tiltfile index 6fdd2cd22..d1b9962a5 100644 --- a/Tiltfile +++ b/Tiltfile @@ -58,6 +58,6 @@ helm_resource( deps=DEPS, image_deps=[IMAGE], image_keys=[('image.registry', 'image.repository', 'image.tag')], - flags=['--set=image.name=' + IMAGE], + flags=['--set=ports[0].name=metrics','--set=ports[0].container=8891','--set=image.name=' + IMAGE], resource_deps=['binary-build-logs'] ) From 9cc5f953e8c58be386cf92b71929488063760ebd Mon Sep 17 00:00:00 2001 From: Feruzjon Muyassarov Date: Wed, 13 Nov 2024 17:54:59 +0200 Subject: [PATCH 2/2] tilt: enable metrics exporting by default for local dev Signed-off-by: Feruzjon Muyassarov --- Tiltfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tiltfile b/Tiltfile index d1b9962a5..333f4150d 100644 --- a/Tiltfile +++ b/Tiltfile @@ -58,6 +58,6 @@ helm_resource( deps=DEPS, image_deps=[IMAGE], image_keys=[('image.registry', 'image.repository', 'image.tag')], - flags=['--set=ports[0].name=metrics','--set=ports[0].container=8891','--set=image.name=' + IMAGE], + flags=['--set=config.instrumentation.prometheusExport=true','--set=ports[0].name=metrics','--set=ports[0].container=8891','--set=image.name=' + IMAGE], resource_deps=['binary-build-logs'] )