new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Temporal · all subjects

reference

188 notes in this subject, read out of this brain and free to use. This is page 3 of 4.

temporal_workflow_task_replay_latency metric

Time to catch up on replaying a Workflow Task. Type: Histogram. Available in: Core, Go, Java. Tags: namespace, task_queue, workflow_type.

temporal_workflow_task_schedule_to_start_latency metric

The Schedule-To-Start time of a Workflow Task. Type: Histogram. Available in: Core, Go, Java. Tags: namespace, task_queue.

Metric status_code tag values

The status_code tag on request failure and long_request_failure metrics carries gRPC status codes in UPPER_SNAKE_CASE matching gRPC status code names, such as NOT_FOUND, RESOURCE_EXHAUSTED, UNIMPLEMENTED, INTERNAL, and others. The tag can be suppressed through Client options.

Metric cause tag values for resource exhaustion

The cause tag on request_resource_exhausted and long_request_resource_exhausted metrics carries the reason the Temporal Service rejected the request, such as RESOURCE_EXHAUSTED_CAUSE_RPS_LIMIT, RESOURCE_EXHAUSTED_CAUSE_CONCURRENT_LIMIT, RESOURCE_EXHAUSTED_CAUSE_SYSTEM_OVERLOADED, or RESOURCE_EXHAUSTED_CAUSE_CIRCUIT_BREAKER_OPEN. The cause determines the remedy.

SDK metrics prefix temporal_

All metrics emitted by Temporal SDKs are prefixed with 'temporal_' before being exported to their configured destination.

Metric units across SDKs

Core-based SDKs (TypeScript, Python, .NET, Ruby): Histogram metrics are measured in milliseconds by default, customizable to seconds. Java and Go SDKs: Histogram metrics are measured in seconds.

Standard metric tags available

Metrics may have the following tags: task_queue (Task Queue that Worker Entity is polling), namespace (Namespace the Worker is bound to), poller_type (workflow_task, workflow_sticky_task, activity_task, or nexus_task), worker_type (ActivityWorker, WorkflowWorker, LocalActivityWorker, or NexusWorker), activity_type (name of Activity Function), workflow_type (name of Workflow Function), operation (RPC method name for Client requests), status_code (gRPC status code in UPPER_SNAKE_CASE), and cause (reason for resource exhausted rejection).

temporal_activity_execution_cancelled metric

An Activity Execution was canceled. Type: Counter. Available in: Java. Tags: activity_type, namespace, task_queue.

temporal_activity_poll_no_task metric

An Activity Worker poll for an Activity Task timed out, and no Activity Task is available to pick from the Task Queue. Type: Counter. Available in: Core, Go, Java. Tags: namespace, task_queue.

temporal_activity_schedule_to_start_latency metric

The Schedule-To-Start time of an Activity Task. A Schedule-To-Start Timeout can be set when an Activity Execution is spawned. Type: Histogram. Available in: Core, Go, Java. Tags: namespace, task_queue.

temporal_activity_task_error metric

An internal error or panic occurred during Activity Task handling or execution. Type: Counter. Available in: Go. Tags: activity_type, namespace, task_queue, workflow_type.

temporal_corrupted_signals metric

Number of Signals whose payload could not be deserialized. Type: Counter. Available in: Go, Java. Tags: namespace, task_queue, workflow_type.

temporal_local_activity_execution_cancelled metric

A Local Activity Execution was canceled. Type: Counter. Available in: Core, Go, Java. Tags: activity_type, namespace, task_queue.

temporal_local_activity_execution_failed metric

A Local Activity Execution failed. Type: Counter. Available in: Core, Go, Java. Tags: activity_type, namespace, task_queue.

temporal_local_activity_execution_latency metric

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.

temporal_local_activity_succeed_endtoend_latency metric

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.

temporal_local_activity_total metric

Total number of Local Activity Executions. Type: Counter. Available in: Core, Go, Java. Tags: activity_type, namespace, task_queue.

temporal_nexus_poll_no_task metric

A Nexus Worker poll for a Nexus Task timed out, and no Nexus Task is available to pick from the Task Queue. Type: Counter. Available in: Core, Go, Java. Tags: namespace, task_queue.

temporal_nexus_task_schedule_to_start_latency metric

The Schedule-To-Start time of a Nexus Task. The schedule time is taken from when the corresponding request hit the Frontend service to when the SDK started processing the task. This time is limited by the Request-Timeout header. Type: Histogram. Available in: Core, Go, Java. Tags: namespace, task_queue.

temporal_nexus_task_execution_failed metric

Handling of a Nexus Task resulted in an error. Type: Counter. Available in: Core, Go, Java. Tags: namespace, task_queue, nexus_service, nexus_operation, failure_reason. Failure reason values: internal_sdk_error, handler_error_{TYPE}, timeout, operation_failed, operation_canceled.

temporal_nexus_task_execution_latency metric

Time to complete a Nexus Task, from the time the Nexus Task processing starts in the SDK to the time the user handler completes. Type: Histogram. Available in: Core, Go, Java. Tags: namespace, task_queue, nexus_service, nexus_operation.

temporal_nexus_task_endtoend_latency metric

Total latency of Nexus Tasks from the time the corresponding request hit the Frontend to after the SDK gets acknowledgment from the server for task completion. Type: Histogram. Available in: Core, Go, Java. Tags: namespace, task_queue, nexus_service, nexus_operation.

temporal_num_pollers metric

Current number of Worker Entities that are polling. Type: Gauge. Available in: Core, Go, Java. Tags: namespace, poller_type, task_queue.

temporal_poller_start metric

A Worker Entity poller was started. Type: Counter. Available in: Go, Java. Tags: namespace, task_queue.

temporal_request metric

Temporal Client made an RPC request. Type: Counter. Available in: Core, Go, Java. Tags: namespace, operation.

temporal_request_failure metric

Temporal Client made an RPC request that failed. This number is included in the total request counter. Type: Counter. Available in: Core, Go, Java. Tags: namespace, operation, status_code.

temporal_request_latency metric

Latency of a Temporal Client gRPC request. Type: Histogram. Available in: Core, Go, Java. Tags: namespace, operation.

temporal_request_resource_exhausted metric

Temporal Client made an RPC request that the Temporal Service rejected as resource exhausted. These failures are also counted in request_failure with status_code=RESOURCE_EXHAUSTED; this metric adds the reason for the rejection. Type: Counter. Available in: Go. Tags: namespace, operation, cause.

temporal_resource_slots_mem_usage metric

Memory usage as a value between 0 and 100, as perceived by the resource-based slots tuner if enabled. Type: Gauge. Available in: Core, Java.

temporal_sticky_cache_miss metric

A Workflow Task did not find a cached Workflow Execution to run against. Type: Counter. Available in: Core, Go, Java. Tags: namespace, task_queue.

temporal_sticky_cache_size metric

Current cache size, expressed in number of Workflow Executions. Type: Gauge. Available in: Core, Go, Java. Tags: namespace (TypeScript, Java), task_queue (TypeScript).

temporal_sticky_cache_total_forced_eviction metric

A Workflow Execution has been forced from the cache intentionally. Type: Counter. Available in: Core, Go, Java. Tags: namespace, task_queue.

temporal_unregistered_activity_invocation metric

A request to spawn an Activity Execution is not registered with the Worker. Type: Counter. Available in: Go. Tags: activity_type, namespace, task_queue, workflow_type.

temporal_worker_start metric

A Worker Entity has been registered, created, or started. Type: Counter. Available in: Core, Go, Java. Tags: namespace, task_queue, worker_type.

TEMPORAL_AUTH_CLIENT_SECRET environment variable

TEMPORAL_AUTH_CLIENT_SECRET sets the client secret used for authentication and authorization. Client Secrets are used by the oAuth Client for authentication.

TEMPORAL_ADDRESS environment variable

TEMPORAL_ADDRESS sets the Frontend Service address for the Temporal Cluster. This variable is required for setting other environment variables. It can be set in the base configuration file using temporalGrpcAddress.

TEMPORAL_UI_PORT environment variable

TEMPORAL_UI_PORT sets the port used by the Temporal WebUI Server and the HTTP API. This variable is needed for TEMPORAL_OPENAPI_ENABLED and all auth-related settings to work properly.

TEMPORAL_UI_PUBLIC_PATH environment variable

TEMPORAL_UI_PUBLIC_PATH allows the UI to be served from a subpath, storing a value such as an empty string or a custom path like "/custom-path".

TEMPORAL_UI_ENABLED environment variable

TEMPORAL_UI_ENABLED enables or disables the browser UI for the Temporal Cluster. When enabled, the Server can be accessed from a web browser. If disabled, the server cannot be viewed on the web, but the UI server APIs remain available for use.

TEMPORAL_CLOUD_UI environment variable

TEMPORAL_CLOUD_UI, when enabled, uses the alternate UI from Temporal Cloud.

TEMPORAL_DEFAULT_NAMESPACE environment variable

TEMPORAL_DEFAULT_NAMESPACE sets the default Namespace that the Web UI opens first.

TEMPORAL_FEEDBACK_URL environment variable

TEMPORAL_FEEDBACK_URL sets the URL that users are directed to when they click the Feedback button in the UI. If not specified, this variable defaults to the UI's GitHub Issue page.

TEMPORAL_CONFIG_REFRESH_INTERVAL environment variable

TEMPORAL_CONFIG_REFRESH_INTERVAL determines how often the UI Server reads the configuration file for new values.

TEMPORAL_SHOW_TEMPORAL_SYSTEM_NAMESPACE environment variable

TEMPORAL_SHOW_TEMPORAL_SYSTEM_NAMESPACE, when enabled, shows the System Namespace that handles internal Temporal Workflows in the Web UI.

TEMPORAL_DISABLE_WRITE_ACTIONS environment variable

TEMPORAL_DISABLE_WRITE_ACTIONS disables any button in the UI that allows the user to modify Workflows or Activities.

TEMPORAL_AUTH_ENABLED environment variable

TEMPORAL_AUTH_ENABLED enables or disables Web UI authentication and authorization methods. When enabled, the Web UI uses the provider information in the UI configuration file to verify the identity of users. All auth-related variables can be defined when TEMPORAL_AUTH_ENABLED is set to true. Disabling the variable will retain given values.

TEMPORAL_AUTH_TYPE environment variable

TEMPORAL_AUTH_TYPE specifies the type of authentication. It defaults to oidc.

TEMPORAL_AUTH_PROVIDER_URL environment variable

TEMPORAL_AUTH_PROVIDER_URL sets the .well-known IDP discovery URL for authentication and authorization. This can be set in the UI server configuration.

TEMPORAL_AUTH_ISSUER_URL environment variable

TEMPORAL_AUTH_ISSUER_URL sets the URL for the authentication or authorization issuer. This value is only needed when the issuer differs from the auth provider URL.

TEMPORAL_AUTH_CLIENT_ID environment variable

TEMPORAL_AUTH_CLIENT_ID sets the client ID used for authentication or authorization. This value is a required parameter.

TEMPORAL_AUTH_CALLBACK_URL environment variable

TEMPORAL_AUTH_CALLBACK_URL sets the callback URL used by Temporal for authentication and authorization. Callback URLs are invoked by IDP after the user has finished authenticating in IDP.

TEMPORAL_AUTH_SCOPES environment variable

TEMPORAL_AUTH_SCOPES specifies a set of scopes for auth. Typically, this is openid, profile, email.

TEMPORAL_TLS_CA environment variable

TEMPORAL_TLS_CA sets the path for the Transport Layer Security (TLS) Certificate Authority file. A CA certificate issued by a trusted Certificate Authority is needed to configure TLS for the server.

TEMPORAL_CODEC_INCLUDE_CREDENTIALS environment variable

TEMPORAL_CODEC_INCLUDE_CREDENTIALS specifies whether to include credentials along with requests to the Codec Server.

TEMPORAL_FORWARD_HEADERS environment variable

TEMPORAL_FORWARD_HEADERS forwards specified HTTP headers from HTTP API requests to the Temporal gRPC backend. This is a comma-delimited list of the HTTP headers to be forwarded.

TEMPORAL_HIDE_LOGS environment variable

TEMPORAL_HIDE_LOGS, when enabled, does not print logs from the Temporal Service.

TEMPORAL_DISABLE_NEWS_FETCH environment variable

TEMPORAL_DISABLE_NEWS_FETCH disables the news feed feature in the Web UI. If set to true, the Web UI will not request the news feed, and the button used to open the news feed panel will be hidden.

TEMPORAL_TLS_CERT environment variable

TEMPORAL_TLS_CERT sets the path for the Transport Layer Security (TLS) Certificate. A self-signed certificate is needed to configure TLS for the server.

TEMPORAL_TLS_KEY environment variable

TEMPORAL_TLS_KEY sets the path for the Transport Layer Security (TLS) key file. A key file is used to create private and public keys for encryption and signing, which together are used to create certificates.

TEMPORAL_TLS_KEY_DATA environment variable

TEMPORAL_TLS_KEY_DATA stores the data for a TLS key file. This variable can be used instead of providing a path for TEMPORAL_TLS_KEY.

Give your agent this brain