diff --git a/demos/function_calling/README.md b/demos/function_calling/README.md index 518240f3..06694c1f 100644 --- a/demos/function_calling/README.md +++ b/demos/function_calling/README.md @@ -27,6 +27,17 @@ This demo shows how you can use intelligent prompt gateway to do function callin - Open up dahsboard named "Intelligent Gateway Overview" - On this dashboard you can see reuqest latency and number of requests +# Observability +Arch gateway publishes stats endpoint at http://localhost:19901/stats. In this demo we are using prometheus to pull stats from envoy and we are using grafan to visalize the stats in dashboard. To see grafana dashboard follow instructions below, + +1. Start grafana and prometheus using following command + ```yaml + docker compose --profile monitoring up + ``` +1. Navigate to http://localhost:3000/ to open grafana UI (use admin/grafana as credentials) +1. From grafana left nav click on dashboards and select "Intelligent Gateway Overview" to view arch gateway stats + + Here is sample interaction, image diff --git a/demos/function_calling/prometheus/prometheus.yaml b/demos/function_calling/prometheus/prometheus.yaml index 5aa25e0d..cf10e36d 100644 --- a/demos/function_calling/prometheus/prometheus.yaml +++ b/demos/function_calling/prometheus/prometheus.yaml @@ -18,6 +18,6 @@ scrape_configs: scheme: http static_configs: - targets: - - envoy:9901 + - bolt:9901 params: format: ['prometheus']