Hi,
We are using the latest Java SDK and like to get the metrics for the Workflow Task run stats. Unfortunately below metrics (likely some other we don’t know about as well) have workflow_type=none
and there are no metrics with the workflow_type=DeliveryWorkflow
label while we were active with the workflow starts and runs.
temporal_workflow_task_queue_poll_succeed
temporal_workflow_task_schedule_to_start_latency_seconds_bucket
e.g.
temporal_workflow_task_schedule_to_start_latency_seconds_bucket{activity_type="none",exception="none",language="java",namespace="sandbox",operation="none",query_type="none",sdk_version="0.0.29",signal_name="none",status_code="none",task_queue="DeliveryAppTaskQueue",temporal_cluster_config="westeurope-01",temporal_environment="dev",temporal_frontend="maersk-composition:///sandbox",worker_type="WorkflowWorker",workflow_type="none",le="0.001",}
Similar metrics for the activities have the data populated for the workflow_type
temporal_activity_schedule_to_start_latency_seconds_bucket{activity_type="CreateShipping",exception="none",language="java",namespace="sandbox",operation="none",query_type="none",sdk_version="0.0.29",signal_name="none",status_code="none",task_queue="DeliveryAppTaskQueue",temporal_cluster_config="westeurope-01",temporal_environment="dev",temporal_frontend="maersk-composition:///sandbox",worker_type="ActivityWorker",workflow_type="DeliveryWorkflow",le="0.001",}
I wonder if we are missing something in the setup which might cause the workflow_type to be missing or there is some issue with the SDK metric exporter.
Thanks,
A