- Run a Temporal service.
- Run the following command to start the worker
go run metrics/worker/main.go
- Run the following command to start the example
go run metrics/starter/main.go
- Check metrics at http://localhost:9090/metrics (this is where the Prometheus agent scrapes it from).