Skip to content

Commit 92f73e5

Browse files
committed
updated formatting
1 parent 88a73e2 commit 92f73e5

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

articles/azure-monitor/insights/container-insights-prometheus-integration.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -217,11 +217,9 @@ Errors related to applying configuration changes are also available for review.
217217
218218
- From the **KubeMonAgentEvents** table in your Log Analytics workspace. Data is sent every hour with *Warning* severity for scrape errors and *Error* severity for configuration errors. If there are no errors, the entry in the table will have data with severity *Info*, which reports no errors. The **Tags** property contains more information about the pod and container ID on which the error occurred and also the first occurrence, last occurrence, and count in the last hour.
219219
220-
Errors prevent omsagent from parsing the file, causing it to restart and use the default configuration. After you correct the error(s) in ConfigMap on clusters other than Azure Red Hat OpenShift, save the yaml file and apply the updated ConfigMaps by running the command: `kubectl apply -f <configmap_yaml_file.yaml`. For Azure Red Hat OpenShift, edit and save the updated ConfigMaps by running the command:
220+
Errors prevent omsagent from parsing the file, causing it to restart and use the default configuration. After you correct the error(s) in ConfigMap on clusters other than Azure Red Hat OpenShift, save the yaml file and apply the updated ConfigMaps by running the command: `kubectl apply -f <configmap_yaml_file.yaml`.
221221
222-
``` bash
223-
oc edit configmaps container-azm-ms-agentconfig -n openshift-azure-logging
224-
```
222+
For Azure Red Hat OpenShift, edit and save the updated ConfigMaps by running the command: `oc edit configmaps container-azm-ms-agentconfig -n openshift-azure-logging`.
225223
226224
## Query Prometheus metrics data
227225

0 commit comments

Comments
 (0)