You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-monitor/containers/container-insights-logs-schema.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -61,6 +61,9 @@ You can enable the **ContainerLogV2** schema for a cluster either using the clus
61
61
## Multi-line logging in Container Insights
62
62
With multiline logging enabled, previously split container logs are stitched together and sent as single entries to the ContainerLogV2 table. If the stitched log line is larger than 64 KB, it will be truncated due to Log Analytics workspace limits. This feature also has support for .NET, Go, Python and Java stack traces, which appear as single entries in the ContainerLogV2 table. Enable multiline logging with ConfigMap as described in [Configure data collection in Container insights using ConfigMap](container-insights-data-collection-configmap.md).
63
63
64
+
>[!NOTE]
65
+
> The configmap now features a language specification option, wherein the customers can select only the languages that they are interested in. This feature can be enabled by editing the languages in the stacktrace_languages option in the [configmap](https://github.com/microsoft/Docker-Provider/blob/ci_prod/kubernetes/container-azm-ms-agentconfig.yaml).
66
+
64
67
The following screenshots show multi-line logging for Go exception stack trace:
The Until activity provides the same functionality that a do-until looping structure provides in programming languages. It executes a set of activities in a loop until the condition associated with the activity evaluates to true. If an inner activity fails, the Until activity does not stop. You can specify a timeout value for the until activity.
18
+
The Until activity provides the same functionality that a do-until looping structure provides in programming languages. It executes a set of activities in a loop until the condition associated with the activity evaluates to true. If an inner activity fails, the Until activity doesn't stop. You can specify a timeout value for the until activity.
19
19
20
20
## Create an Until activity with UI
21
21
22
22
To use an Until activity in a pipeline, complete the following steps:
23
23
24
-
1. Search for _Until_ in the pipeline Activities pane, and drag a Until activity to the pipeline canvas.
25
-
1. Select the Until activity on the canvas if it is not already selected, and its **Settings** tab, to edit its details.
24
+
1. Search for _Until_ in the pipeline Activities pane, and drag a Until activity to the pipeline canvas.
25
+
1. Select the Until activity on the canvas if it isn't already selected, and its **Settings** tab, to edit its details.
26
26
27
27
:::image type="content" source="media/control-flow-until-activity/until-activity.png" alt-text="Shows the Settings tab of the Until activity in the pipeline canvas.":::
28
28
29
-
1. Enter an expression that will be evaluated after all child activities defined in the Until activity are executed. If the expression evaluates to false, the Until activity will execute all its child activities again. When it evaluates to true, the Until activity will complete. The expression can be a literal string expression, or any combination of dynamic [expressions, functions](control-flow-expression-language-functions.md), [system variables](control-flow-system-variables.md), or [outputs from other activities](how-to-expression-language-functions.md#examples-of-using-parameters-in-expressions). The example below checks the value of a previously defined pipeline array variable called TestVariable to see if it evaluates to ['done'].
29
+
1. Enter an expression that will be evaluated after all child activities defined in the Until activity is executed. If the expression evaluates to false, the Until activity executes all its child activities again. When it evaluates to true, the Until activity completes. The expression can be a literal string expression, or any combination of dynamic [expressions, functions](control-flow-expression-language-functions.md), [system variables](control-flow-system-variables.md), or [outputs from other activities](how-to-expression-language-functions.md#examples-of-using-parameters-in-expressions). The example below checks the value of a previously defined pipeline array variable called TestVariable to see if it evaluates to ['done'].
30
30
31
31
:::image type="content" source="media/control-flow-until-activity/dynamic-content-to-check-variable-value.png" alt-text="Shows the Add dynamic content pane with an expression to check a variable for a defined value.":::
32
32
33
-
1. Define activities that the Until activity will execute by selecting the Edit Activities button on the Until activity directly, or by selecting the Activities tab to select it there. A new activities editor pane will be displayed where you can add any activities for the Until activity to execute. In this example, a Set Variable activity simply sets the value of the variable referenced in the expression above to ['done'], so the Until activity's expression will be true the first time it is executed, and the Until activity will stop. In your real-world use, you can check any conditions required and the Until activity will continue to execute its child activities each time the expression is evaluated, until the conditions are met.
33
+
2. Define activities that the Until activity executes by selecting the Edit Activities button on the Until activity directly, or by selecting the Activities tab to select it there. A new activities editor pane is displayed where you can add any activities for the Until activity to execute. In this example, a Set Variable activity simply sets the value of the variable referenced in the aforementioned expression to ['done'], so the Until activity's expression will be true the first time it's executed, and the Until activity will stop. In your real-world use, you can check any conditions required and the Until activity will continue to execute its child activities each time the expression is evaluated, until the conditions are met.
34
34
35
35
:::image type="content" source="media/control-flow-until-activity/child-activities-editor.png" alt-text="Shows the activities editor for an Until activity with a Set Variable activity defined.":::
36
36
@@ -44,7 +44,7 @@ To use an Until activity in a pipeline, complete the following steps:
44
44
"value": "<expression that evaluates to true or false>",
45
45
"type": "Expression"
46
46
},
47
-
"timeout": "<time out for the loop. for example: 00:01:00 (1 minute)>",
47
+
"timeout": "<time out for the loop. for example: 00:10:00 (10 minute)>",
name | Name of the `Until` activity. | String | Yes
70
70
type | Must be set to **Until**. | String | Yes
71
-
expression | Expression that must evaluate to true or false | Expression. | Yes
72
-
timeout | The do-until loop times out after the specified time here. | String. `d.hh:mm:ss` (or) `hh:mm:ss`. The default value is 7 days. Maximum value is: 90 days. | No
71
+
expression | Expression that must evaluate to true or false | Expression. | Yes
72
+
timeout | The do-until loop times out after the specified time here. | String. `d.hh:mm:ss` (or) `hh:mm:ss`. The default value is seven days. Maximum value is: 90 days. | No
73
73
Activities | Set of activities that are executed until expression evaluates to `true`. | Array of activities. | Yes
74
74
75
75
## Example 1
@@ -92,7 +92,7 @@ In this example, the pipeline has two activities: **Until** and **Wait**. The Wa
@@ -129,7 +129,7 @@ In this example, the pipeline has two activities: **Until** and **Wait**. The Wa
129
129
```
130
130
131
131
## Example 2
132
-
The pipeline in this sample copies data from an input folder to an output folder in a loop. The loop terminates when the value for the repeat parameter is set to false or it times out after one minute.
132
+
The pipeline in this sample copies data from an input folder to an output folder in a loop. The loop terminates when the value for the repeat parameter is set to false or it times out after one minute.
133
133
134
134
### Pipeline with Until activity (Adfv2QuickStartPipeline.json)
135
135
@@ -145,7 +145,7 @@ The pipeline in this sample copies data from an input folder to an output folder
0 commit comments