Skip to content

Commit ca12960

Browse files
feat(dataflow): update the api
#### dataflow:v1b3 The following keys were added: - schemas.HotKeyDebuggingInfo (Total Keys: 4) - schemas.HotKeyInfo (Total Keys: 6) - schemas.StageSummary.properties.stragglerSummary.$ref (Total Keys: 1) - schemas.StragglerDebuggingInfo (Total Keys: 3) - schemas.StragglerInfo (Total Keys: 6) - schemas.StragglerSummary (Total Keys: 7) - schemas.WorkItemDetails.properties.stragglerInfo.$ref (Total Keys: 1)
1 parent 32db746 commit ca12960

File tree

3 files changed

+115
-1
lines changed

3 files changed

+115
-1
lines changed

docs/dyn/dataflow_v1b3.projects.locations.jobs.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1140,6 +1140,12 @@ <h3>Method Details</h3>
11401140
&quot;stageId&quot;: &quot;A String&quot;, # ID of this stage
11411141
&quot;startTime&quot;: &quot;A String&quot;, # Start time of this stage.
11421142
&quot;state&quot;: &quot;A String&quot;, # State of this stage.
1143+
&quot;stragglerSummary&quot;: { # Summarized straggler identification details. # Straggler summary for this stage.
1144+
&quot;stragglerCauseCount&quot;: { # Aggregated counts of straggler causes, keyed by the string representation of the StragglerCause enum.
1145+
&quot;a_key&quot;: &quot;A String&quot;,
1146+
},
1147+
&quot;totalStragglerCount&quot;: &quot;A String&quot;, # The total count of stragglers.
1148+
},
11431149
},
11441150
],
11451151
}</pre>

docs/dyn/dataflow_v1b3.projects.locations.jobs.stages.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,22 @@ <h3>Method Details</h3>
150150
},
151151
&quot;startTime&quot;: &quot;A String&quot;, # Start time of this work item attempt.
152152
&quot;state&quot;: &quot;A String&quot;, # State of this work item.
153+
&quot;stragglerInfo&quot;: { # Information useful for straggler identification and debugging. # Information about straggler detections for this work item.
154+
&quot;causes&quot;: { # The straggler causes, keyed by the string representation of the StragglerCause enum and contains specialized debugging information for each straggler cause.
155+
&quot;a_key&quot;: { # Information useful for debugging a straggler. Each type will provide specialized debugging information relevant for a particular cause. The StragglerDebuggingInfo will be 1:1 mapping to the StragglerCause enum.
156+
&quot;hotKey&quot;: { # Information useful for debugging a hot key detection. # Hot key debugging details.
157+
&quot;detectedHotKeys&quot;: { # Debugging information for each detected hot key. Keyed by a hash of the key.
158+
&quot;a_key&quot;: { # Information about a hot key.
159+
&quot;hotKeyAge&quot;: &quot;A String&quot;, # The age of the hot key measured from when it was first detected.
160+
&quot;key&quot;: &quot;A String&quot;, # A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: &quot;--enable_hot_key_logging&quot;.
161+
&quot;keyTruncated&quot;: True or False, # If true, then the above key is truncated and cannot be deserialized. This occurs if the key above is populated and the key size is &gt;5MB.
162+
},
163+
},
164+
},
165+
},
166+
},
167+
&quot;startTime&quot;: &quot;A String&quot;, # The time when the work item attempt became a straggler.
168+
},
153169
&quot;taskId&quot;: &quot;A String&quot;, # Name of this work item.
154170
},
155171
],

googleapiclient/discovery_cache/documents/dataflow.v1b3.json

Lines changed: 93 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2225,7 +2225,7 @@
22252225
}
22262226
}
22272227
},
2228-
"revision": "20220726",
2228+
"revision": "20220806",
22292229
"rootUrl": "https://dataflow.googleapis.com/",
22302230
"schemas": {
22312231
"ApproximateProgress": {
@@ -3560,6 +3560,20 @@
35603560
},
35613561
"type": "object"
35623562
},
3563+
"HotKeyDebuggingInfo": {
3564+
"description": "Information useful for debugging a hot key detection.",
3565+
"id": "HotKeyDebuggingInfo",
3566+
"properties": {
3567+
"detectedHotKeys": {
3568+
"additionalProperties": {
3569+
"$ref": "HotKeyInfo"
3570+
},
3571+
"description": "Debugging information for each detected hot key. Keyed by a hash of the key.",
3572+
"type": "object"
3573+
}
3574+
},
3575+
"type": "object"
3576+
},
35633577
"HotKeyDetection": {
35643578
"description": "Proto describing a hot key detected on a given WorkItem.",
35653579
"id": "HotKeyDetection",
@@ -3580,6 +3594,26 @@
35803594
},
35813595
"type": "object"
35823596
},
3597+
"HotKeyInfo": {
3598+
"description": "Information about a hot key.",
3599+
"id": "HotKeyInfo",
3600+
"properties": {
3601+
"hotKeyAge": {
3602+
"description": "The age of the hot key measured from when it was first detected.",
3603+
"format": "google-duration",
3604+
"type": "string"
3605+
},
3606+
"key": {
3607+
"description": "A detected hot key that is causing limited parallelism. This field will be populated only if the following flag is set to true: \"--enable_hot_key_logging\".",
3608+
"type": "string"
3609+
},
3610+
"keyTruncated": {
3611+
"description": "If true, then the above key is truncated and cannot be deserialized. This occurs if the key above is populated and the key size is >5MB.",
3612+
"type": "boolean"
3613+
}
3614+
},
3615+
"type": "object"
3616+
},
35833617
"InstructionInput": {
35843618
"description": "An input of an instruction, as a reference to an output of a producer instruction.",
35853619
"id": "InstructionInput",
@@ -5924,6 +5958,10 @@
59245958
"Execution of the component was cancelled."
59255959
],
59265960
"type": "string"
5961+
},
5962+
"stragglerSummary": {
5963+
"$ref": "StragglerSummary",
5964+
"description": "Straggler summary for this stage."
59275965
}
59285966
},
59295967
"type": "object"
@@ -5993,6 +6031,56 @@
59936031
},
59946032
"type": "object"
59956033
},
6034+
"StragglerDebuggingInfo": {
6035+
"description": "Information useful for debugging a straggler. Each type will provide specialized debugging information relevant for a particular cause. The StragglerDebuggingInfo will be 1:1 mapping to the StragglerCause enum.",
6036+
"id": "StragglerDebuggingInfo",
6037+
"properties": {
6038+
"hotKey": {
6039+
"$ref": "HotKeyDebuggingInfo",
6040+
"description": "Hot key debugging details."
6041+
}
6042+
},
6043+
"type": "object"
6044+
},
6045+
"StragglerInfo": {
6046+
"description": "Information useful for straggler identification and debugging.",
6047+
"id": "StragglerInfo",
6048+
"properties": {
6049+
"causes": {
6050+
"additionalProperties": {
6051+
"$ref": "StragglerDebuggingInfo"
6052+
},
6053+
"description": "The straggler causes, keyed by the string representation of the StragglerCause enum and contains specialized debugging information for each straggler cause.",
6054+
"type": "object"
6055+
},
6056+
"startTime": {
6057+
"description": "The time when the work item attempt became a straggler.",
6058+
"format": "google-datetime",
6059+
"type": "string"
6060+
}
6061+
},
6062+
"type": "object"
6063+
},
6064+
"StragglerSummary": {
6065+
"description": "Summarized straggler identification details.",
6066+
"id": "StragglerSummary",
6067+
"properties": {
6068+
"stragglerCauseCount": {
6069+
"additionalProperties": {
6070+
"format": "int64",
6071+
"type": "string"
6072+
},
6073+
"description": "Aggregated counts of straggler causes, keyed by the string representation of the StragglerCause enum.",
6074+
"type": "object"
6075+
},
6076+
"totalStragglerCount": {
6077+
"description": "The total count of stragglers.",
6078+
"format": "int64",
6079+
"type": "string"
6080+
}
6081+
},
6082+
"type": "object"
6083+
},
59966084
"StreamLocation": {
59976085
"description": "Describes a stream of data, either as input to be processed or as output of a streaming Dataflow job.",
59986086
"id": "StreamLocation",
@@ -6599,6 +6687,10 @@
65996687
],
66006688
"type": "string"
66016689
},
6690+
"stragglerInfo": {
6691+
"$ref": "StragglerInfo",
6692+
"description": "Information about straggler detections for this work item."
6693+
},
66026694
"taskId": {
66036695
"description": "Name of this work item.",
66046696
"type": "string"

0 commit comments

Comments
 (0)