This sample shows setup for SDK metrics.
- Start the Worker:
./gradlew -q execute -PmainClass=io.temporal.samples.metrics.MetricsWorker- Start the Starter:
./gradlew -q execute -PmainClass=io.temporal.samples.metrics.MetricsStarter-
See the worker metrics on the exposed Prometheus Scrape Endpoint: http://localhost:8077/metrics
-
See the starter metrics on the exposed Prometheus Scrape Endpoint http://localhost:8078/metrics
-
Stop the worker and starter