This is Prometheus metrics exporter for Typesense metrics.
Tested only with Typesense 0.23.1 and 0.25.1.
export TYPESENSE_API_KEY=xyz
export TYPESENSE_URL=http://localhost:8108
export EXPORTER_PORT=9101
export INSECURE_SKIP_VERIFY=false
docker build -t typesense-exporter .
docker run -d -p 9115:9115 -e EXPORTER_PORT=9115 -e TYPESENSE_API_KEY=xyz -e TYPESENSE_URL=http://typesense:8108 typesense-exporter
go build -o typesense_exporter
./typesense_exporter
docker-compose up