Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Comments

Add Temporal Cloud OpenMetrics Prometheus+Grafana demo with scenario workflows#766

Open
deepika-awasthi wants to merge 5 commits intomain from
deepika/openmetrics-demo
Open

Add Temporal Cloud OpenMetrics Prometheus+Grafana demo with scenario workflows #766
deepika-awasthi wants to merge 5 commits intomain from
deepika/openmetrics-demo

Conversation

@deepika-awasthi
Copy link
Contributor

@deepika-awasthi deepika-awasthi commented Jan 12, 2026

What was changed

  • Added a temporalcloudopenmetrics demo that shows how to scrape Temporal Cloud OpenMetrics with Prometheus and visualize in Grafana.
  • Included Docker Compose setup + Prometheus scrape config + Grafana provisioning (datasource + dashboard).
  • Added a simple Java worker + starter that can run common scenarios (success/fail/cancel/continue/timeout) to generate dashboard data.

Why?

To provide an end-to-end, copy/paste friendly reference for Temporal Cloud customers who want to:

  • verify OpenMetrics scraping quickly
  • get a working Grafana dashboard with minimal setup
  • generate real workflow/activity events to confirm metrics are flowing

Checklist

  1. How was this tested:
  • docker compose up -d and verified:
    • Grafana loads at http://localhost:3001 and the dashboard is present
    • Prometheus loads at http://localhost:9093 and scrape target is UP
  • Ran the sample:
    • ./gradlew -q execute -PmainClass=io.temporal.samples.temporalcloudopenmetrics.WorkerMain
    • ./gradlew -q execute -PmainClass=io.temporal.samples.temporalcloudopenmetrics.Starter
    • Confirmed metrics populate in Grafana panels and queries return data in Prometheus
  1. Any docs updates needed?
  • README added/updated inside the demo folder with step-by-step setup instructions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@kevinawoo kevinawoo kevinawoo left review comments

@tsurdilo tsurdilo Awaiting requested review from tsurdilo tsurdilo is a code owner

@antmendoza antmendoza Awaiting requested review from antmendoza antmendoza is a code owner

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /