Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions docs/references/sdk-metrics.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ An Activity Execution was canceled.

- Type: Counter
- Available in: Java
- Tags: `activity_type`, `namespace`, `task_queue`
- Tags: `activity_type`, `namespace`, `task_queue`, `workflow_type`

### `activity_execution_failed`

Expand All @@ -148,15 +148,15 @@ This does not include local Activity Failures in the Go and Java SDKs (see [loca

- Type: Counter
- Available in: Core, Go, Java
- Tags: `activity_type`, `namespace`, `task_queue`
- Tags: `activity_type`, `namespace`, `task_queue`, `workflow_type`

### `activity_execution_latency`

Time to complete an Activity Execution, from the time the Activity Task is generated to the time the language SDK responded with a completion (failure or success).

- Type: Histogram
- Available in: Core, Go, Java
- Tags: `activity_type`, `namespace`, `task_queue`
- Tags: `activity_type`, `namespace`, `task_queue`, `workflow_type`

### `activity_poll_no_task`

Expand All @@ -171,7 +171,7 @@ An Activity Worker poll for an Activity Task timed out, and no Activity Task is
The Schedule-To-Start time of an Activity Task.
A [Schedule-To-Start Timeout](/encyclopedia/detecting-activity-failures#schedule-to-start-timeout) can be set when an Activity Execution is spawned.
Use this metric to check that Activity Tasks are being processed from the queue in a timely manner.
Some SDKs include the `activity_type` tag, but the metric should not vary by type, because the type does not influence the rate at which tasks are pulled from the queue.
Some SDKs include the `activity_type` and `workflow_type` tags, but the metric should not vary by type, because the type does not influence the rate at which tasks are pulled from the queue.

- Type: Histogram
- Available in: Core, Go, Java
Expand All @@ -184,7 +184,7 @@ This metric is not recorded for async Activity completion.

- Type: Histogram
- Available in: Core, Go, Java
- Tags: `activity_type`, `namespace`, `task_queue`
- Tags: `activity_type`, `namespace`, `task_queue`, `workflow_type`

### `activity_task_error`

Expand All @@ -208,39 +208,39 @@ A Local Activity Execution was canceled.

- Type: Counter
- Available in: Core, Go, Java
- Tags: `activity_type`, `namespace`, `task_queue`
- Tags: `activity_type`, `namespace`, `task_queue`, `workflow_type`

### `local_activity_execution_failed`

A Local Activity Execution failed.

- Type: Counter
- Available in: Core, Go, Java
- Tags: `activity_type`, `namespace`, `task_queue`
- Tags: `activity_type`, `namespace`, `task_queue`, `workflow_type`

### `local_activity_execution_latency`

Time to complete a Local Activity Execution, from the time the first Activity Task is generated to the time the SDK responds that the execution is complete.

- Type: Histogram
- Available in: Core, Go, Java
- Tags: `activity_type`, `namespace`, `task_queue`
- Tags: `activity_type`, `namespace`, `task_queue`, `workflow_type`

### `local_activity_succeed_endtoend_latency`

Total latency of successfully finished Local Activity Executions (from schedule to completion).

- Type: Histogram
- Available in: Core, Go, Java
- Tags: `activity_type`, `namespace`, `task_queue`
- Tags: `activity_type`, `namespace`, `task_queue`, `workflow_type`

### `local_activity_total`

Total number of [Local Activity Executions](/local-activity).

- Type: Counter
- Available in: Core, Go, Java
- Tags: `activity_type`, `namespace`, `task_queue`
- Tags: `activity_type`, `namespace`, `task_queue`, `workflow_type`

### `long_request`

Expand Down