Skip to content

How do I monitor my API?

Expose a /metrics endpoint for Prometheus to scrape, and send logs to Loki so both land in Grafana . Prometheus parses every scrape line by line, so keep label sets small . For a dashboard of your own, start from shadcn/ui’s blocks .

Citation chips

Source chips that sit inline in an AI answer for an AI chat app. Hover one, or tap it on a phone, and the cited page opens above it with its image, favicon and title; a chip for several sources opens a row of their cards, each naming its domain.

Uses
Base UI