|
693 | 693 | "https://www.googleapis.com/auth/compute"
|
694 | 694 | ]
|
695 | 695 | },
|
| 696 | +"getWorkerStacktraces": { |
| 697 | +"description": "Get worker stacktraces from debug capture.", |
| 698 | +"flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/debug/getWorkerStacktraces", |
| 699 | +"httpMethod": "POST", |
| 700 | +"id": "dataflow.projects.jobs.debug.getWorkerStacktraces", |
| 701 | +"parameterOrder": [ |
| 702 | +"projectId", |
| 703 | +"jobId" |
| 704 | +], |
| 705 | +"parameters": { |
| 706 | +"jobId": { |
| 707 | +"description": "The job for which to get stacktraces.", |
| 708 | +"location": "path", |
| 709 | +"required": true, |
| 710 | +"type": "string" |
| 711 | +}, |
| 712 | +"projectId": { |
| 713 | +"description": "The project id.", |
| 714 | +"location": "path", |
| 715 | +"required": true, |
| 716 | +"type": "string" |
| 717 | +} |
| 718 | +}, |
| 719 | +"path": "v1b3/projects/{projectId}/jobs/{jobId}/debug/getWorkerStacktraces", |
| 720 | +"request": { |
| 721 | +"$ref": "GetWorkerStacktracesRequest" |
| 722 | +}, |
| 723 | +"response": { |
| 724 | +"$ref": "GetWorkerStacktracesResponse" |
| 725 | +}, |
| 726 | +"scopes": [ |
| 727 | +"https://www.googleapis.com/auth/cloud-platform", |
| 728 | +"https://www.googleapis.com/auth/compute" |
| 729 | +] |
| 730 | +}, |
696 | 731 | "sendCapture": {
|
697 | 732 | "description": "Send encoded debug capture data for component.",
|
698 | 733 | "flatPath": "v1b3/projects/{projectId}/jobs/{jobId}/debug/sendCapture",
|
|
2208 | 2243 | }
|
2209 | 2244 | }
|
2210 | 2245 | },
|
2211 |
| -"revision": "20250505", |
| 2246 | +"revision": "20250519", |
2212 | 2247 | "rootUrl": "https://dataflow.googleapis.com/",
|
2213 | 2248 | "schemas": {
|
2214 | 2249 | "ApproximateProgress": {
|
|
3796 | 3831 | },
|
3797 | 3832 | "type": "object"
|
3798 | 3833 | },
|
| 3834 | +"GetWorkerStacktracesRequest": { |
| 3835 | +"description": "Request to get worker stacktraces from debug capture.", |
| 3836 | +"id": "GetWorkerStacktracesRequest", |
| 3837 | +"properties": { |
| 3838 | +"workerId": { |
| 3839 | +"description": "The worker for which to get stacktraces. The returned stacktraces will be for the SDK harness running on this worker.", |
| 3840 | +"type": "string" |
| 3841 | +} |
| 3842 | +}, |
| 3843 | +"type": "object" |
| 3844 | +}, |
| 3845 | +"GetWorkerStacktracesResponse": { |
| 3846 | +"description": "Response to get worker stacktraces from debug capture.", |
| 3847 | +"id": "GetWorkerStacktracesResponse", |
| 3848 | +"properties": { |
| 3849 | +"sdks": { |
| 3850 | +"description": "Repeated as unified worker may have multiple SDK processes.", |
| 3851 | +"items": { |
| 3852 | +"$ref": "Sdk" |
| 3853 | +}, |
| 3854 | +"type": "array" |
| 3855 | +} |
| 3856 | +}, |
| 3857 | +"type": "object" |
| 3858 | +}, |
3799 | 3859 | "Histogram": {
|
3800 | 3860 | "description": "Histogram of value counts for a distribution. Buckets have an inclusive lower bound and exclusive upper bound and use \"1,2,5 bucketing\": The first bucket range is from [0,1) and all subsequent bucket boundaries are powers of ten multiplied by 1, 2, or 5. Thus, bucket boundaries are 0, 1, 2, 5, 10, 20, 50, 100, 200, 500, 1000, ... Negative values are not supported.",
|
3801 | 3861 | "id": "Histogram",
|
@@ -5788,6 +5848,24 @@ false
|
5788 | 5848 | },
|
5789 | 5849 | "type": "object"
|
5790 | 5850 | },
|
| 5851 | +"Sdk": { |
| 5852 | +"description": "A structured representation of an SDK.", |
| 5853 | +"id": "Sdk", |
| 5854 | +"properties": { |
| 5855 | +"sdkId": { |
| 5856 | +"description": "The SDK harness id.", |
| 5857 | +"type": "string" |
| 5858 | +}, |
| 5859 | +"stacks": { |
| 5860 | +"description": "The stacktraces for the processes running on the SDK harness.", |
| 5861 | +"items": { |
| 5862 | +"$ref": "Stack" |
| 5863 | +}, |
| 5864 | +"type": "array" |
| 5865 | +} |
| 5866 | +}, |
| 5867 | +"type": "object" |
| 5868 | +}, |
5791 | 5869 | "SdkBug": {
|
5792 | 5870 | "description": "A bug found in the Dataflow SDK.",
|
5793 | 5871 | "id": "SdkBug",
|
@@ -6494,6 +6572,35 @@ false
|
6494 | 6572 | },
|
6495 | 6573 | "type": "object"
|
6496 | 6574 | },
|
| 6575 | +"Stack": { |
| 6576 | +"description": "A structuredstacktrace for a process running on the worker.", |
| 6577 | +"id": "Stack", |
| 6578 | +"properties": { |
| 6579 | +"stackContent": { |
| 6580 | +"description": "The raw stack trace.", |
| 6581 | +"type": "string" |
| 6582 | +}, |
| 6583 | +"threadCount": { |
| 6584 | +"description": "With java thread dumps we may get collapsed stacks e.g., N threads in stack \"\". Instead of having to copy over the same stack trace N times, this int field captures this.", |
| 6585 | +"format": "int32", |
| 6586 | +"type": "integer" |
| 6587 | +}, |
| 6588 | +"threadName": { |
| 6589 | +"description": "Thread name. For example, \"CommitThread-0,10,main\"", |
| 6590 | +"type": "string" |
| 6591 | +}, |
| 6592 | +"threadState": { |
| 6593 | +"description": "The state of the thread. For example, \"WAITING\".", |
| 6594 | +"type": "string" |
| 6595 | +}, |
| 6596 | +"timestamp": { |
| 6597 | +"description": "Timestamp at which the stack was captured.", |
| 6598 | +"format": "google-datetime", |
| 6599 | +"type": "string" |
| 6600 | +} |
| 6601 | +}, |
| 6602 | +"type": "object" |
| 6603 | +}, |
6497 | 6604 | "StageExecutionDetails": {
|
6498 | 6605 | "description": "Information about the workers and work items within a stage.",
|
6499 | 6606 | "id": "StageExecutionDetails",
|
|
0 commit comments