Skip to content

Comments

Add activity metrics to OpenMetrics reference#4223

Merged
brianmacdonald-temporal merged 2 commits intomainfrom
activity-metrics
Feb 23, 2026
Merged

Add activity metrics to OpenMetrics reference#4223
brianmacdonald-temporal merged 2 commits intomainfrom
activity-metrics

Conversation

@dustin-temporal
Copy link
Contributor

@dustin-temporal dustin-temporal commented Feb 20, 2026

Summary

  • Adds 13 activity metrics to the OpenMetrics metrics reference: success, fail, timeout, task fail, task timeout, cancel, terminate, and start-to-close/schedule-to-close latency percentiles (p50/p95/p99)
  • Introduces opt-in labels concept: temporal_activity_type is a new high-cardinality label not included by default, must be explicitly added via ?labels=temporal_activity_type on the scrape URL
  • Includes high-cardinality warning on the activity metrics section

Test plan

  • Verify metrics render correctly in Docusaurus preview
  • Confirm opt-in labels anchor link works from the activity metrics section
  • Cross-reference metric names and labels against internal observability docs

🤖 Generated with Claude Code

┆Attachments: EDU-5928 Add activity metrics to OpenMetrics reference

@dustin-temporal dustin-temporal requested a review from a team as a code owner February 20, 2026 20:53
@vercel
Copy link

vercel bot commented Feb 20, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
temporal-documentation Ready Ready Preview, Comment Feb 23, 2026 4:15pm

Request Review

dustin-temporal and others added 2 commits February 23, 2026 11:09
Adds 13 activity metrics (success, fail, timeout, task fail, task timeout,
cancel, terminate, and start-to-close/schedule-to-close latency percentiles).

Introduces opt-in labels concept with temporal_activity_type as the first
opt-in label, including scrape URL syntax documentation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@github-actions
Copy link
Contributor

📖 Docs PR preview links

Copy link
Contributor

@brianmacdonald-temporal brianmacdonald-temporal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good!

@brianmacdonald-temporal brianmacdonald-temporal merged commit 0f76fa8 into main Feb 23, 2026
10 checks passed
@brianmacdonald-temporal brianmacdonald-temporal deleted the activity-metrics branch February 23, 2026 16:21
prasek pushed a commit to prasek/documentation that referenced this pull request Feb 25, 2026
* Add activity metrics to OpenMetrics reference

Adds 13 activity metrics (success, fail, timeout, task fail, task timeout,
cancel, terminate, and start-to-close/schedule-to-close latency percentiles).

Introduces opt-in labels concept with temporal_activity_type as the first
opt-in label, including scrape URL syntax documentation.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* Move activity metrics up with Workflow metrics

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants