about summary refs log tree commit diff
path: root/bundles/prometheus/files/service.json
diff options
context:
space:
mode:
authorRobert Günzler <r@gnzler.io>2025-09-07 17:32:13 +0200
committerRobert Günzler <r@gnzler.io>2025-09-07 17:42:42 +0200
commit38be6c13f76e893cf47636257071b440dec0c5b2 (patch)
treef7ded3235a7e3362cbd1ed3d91523968fe0faf90 /bundles/prometheus/files/service.json
initial commit
Signed-off-by: Robert Günzler <r@gnzler.io>
Diffstat (limited to 'bundles/prometheus/files/service.json')
-rw-r--r--bundles/prometheus/files/service.json12
1 files changed, 12 insertions, 0 deletions
diff --git a/bundles/prometheus/files/service.json b/bundles/prometheus/files/service.json
new file mode 100644
index 0000000..1c124ad
--- /dev/null
+++ b/bundles/prometheus/files/service.json
@@ -0,0 +1,12 @@
+[
+	{
+		"targets": [
+			"${hostname}:9010"
+		],
+		"labels": {
+			"job": "${job_name}",
+			"instance": "${hostname}",
+			"__metrics_path__": "/metrics/${job_name}"
+		}
+	}
+]