Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Setting up SDK metrics (Prometheus)

This sample shows setup for SDK metrics.

  1. Start the Worker:
./gradlew -q execute -PmainClass=io.temporal.samples.metrics.MetricsWorker
  1. Start the Starter:
./gradlew -q execute -PmainClass=io.temporal.samples.metrics.MetricsStarter
  1. See the worker metrics on the exposed Prometheus Scrape Endpoint: http://localhost:8080/prometheus

  2. See the starter metrics on the exposed Prometheus Scrape Endpoint http://localhost:8081/prometheus

  3. Stop the worker and starter