Skip to content

Commit b171b1b

Browse files
authored
Merge pull request #293361 from paulth1/mqtt-broker-batch3
[AQ] edit pass: Mqtt broker batch3
2 parents 648c1c0 + 839068d commit b171b1b

File tree

3 files changed

+100
-106
lines changed

3 files changed

+100
-106
lines changed

articles/iot-operations/manage-mqtt-broker/howto-broker-diagnostics.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@ ms.date: 11/14/2024
1414
# Configure MQTT broker diagnostics settings
1515

1616
> [!IMPORTANT]
17-
> This setting requires modifying the Broker resource and can only be configured at initial deployment time using the Azure CLI or Azure Portal. A new deployment is required if Broker configuration changes are needed. To learn more, see [Customize default Broker](./overview-broker.md#customize-default-broker).
17+
> This setting requires that you modify the Broker resource. It's configured only at initial deployment by using the Azure CLI or the Azure portal. A new deployment is required if Broker configuration changes are needed. To learn more, see [Customize default Broker](./overview-broker.md#customize-default-broker).
1818
19-
Diagnostic settings allow you to configure metrics, logs, and self-check for the MQTT broker.
19+
By using diagnostic settings, you can configure metrics, logs, and self-check for the MQTT broker.
2020

2121
## Metrics
2222

23-
Metrics provide information about the current and past health and status of the MQTT broker. These metrics are emitted in OpenTelemetry format (OTLP). They can be converted to Prometheus format using an OpenTelemetry Collector and routed to Azure Managed Grafana Dashboards using Azure Monitor Managed Service for Prometheus. To learn more, see [Configure observability and monitoring](../configure-observability-monitoring/howto-configure-observability.md).
23+
Metrics provide information about the current and past health and status of the MQTT broker. These metrics are emitted in OpenTelemetry Protocol (OTLP) format. You can convert them to Prometheus format by using an OpenTelemetry Collector and route them to Azure Managed Grafana dashboards by using Azure Monitor managed service for Prometheus. To learn more, see [Configure observability and monitoring](../configure-observability-monitoring/howto-configure-observability.md).
2424

2525
For the full list of metrics available, see [MQTT broker metrics](../reference/observability-metrics-mqtt-broker.md).
2626

2727
## Logs
2828

29-
Logs provide information about the operations performed by MQTT broker. These logs are available in the Kubernetes cluster as container logs. They can be configured to be sent to Azure Monitor Logs with Container Insights.
29+
Logs provide information about the operations performed by the MQTT broker. These logs are available in the Kubernetes cluster as container logs. You can configure them to be sent to Azure Monitor Logs with Container Insights.
3030

3131
To learn more, see [Configure observability and monitoring](../configure-observability-monitoring/howto-configure-observability.md).
3232

@@ -36,19 +36,19 @@ The MQTT broker's self-check mechanism is enabled by default. It uses a diagnost
3636

3737
The validation process checks if the system works correctly by comparing the test results with expected outcomes. These outcomes include:
3838

39-
1. The paths messages take through the system.
40-
2. The system's timing behavior.
39+
- The paths that messages take through the system.
40+
- The system's timing behavior.
4141

42-
The diagnostics probe periodically executes MQTT operations (PING, CONNECT, PUBLISH, SUBSCRIBE, UNSUBSCRIBE) on the MQTT broker and monitors the corresponding ACKs and traces to check for latency, message loss, and correctness of the replication protocol.
42+
The diagnostics probe periodically runs MQTT operations (PING, CONNECT, PUBLISH, SUBSCRIBE, UNSUBSCRIBE) on the MQTT broker and monitors the corresponding ACKs and traces to check for latency, message loss, and correctness of the replication protocol.
4343

4444
> [!IMPORTANT]
45-
> The self-check diagnostics probe publishes messages to the `azedge/dmqtt/selftest` topic. Don't publish or subscribe to diagnostic probe topics that start with `azedge/dmqtt/selftest`. Publishing or subscribing to these topics might affect the probe or self-test checks resulting in invalid results. Invalid results might be listed in diagnostic probe logs, metrics, or dashboards. For example, you might see the issue *Path verification failed for probe event with operation type 'Publish'* in the diagnostics-probe logs. For more information, see [Known Issues](../troubleshoot/known-issues.md#mqtt-broker).
45+
> The self-check diagnostics probe publishes messages to the `azedge/dmqtt/selftest` topic. Don't publish or subscribe to diagnostic probe topics that start with `azedge/dmqtt/selftest`. Publishing or subscribing to these topics might affect the probe or self-test checks and result in invalid results. Invalid results might be listed in diagnostic probe logs, metrics, or dashboards. For example, you might see the issue "Path verification failed for probe event with operation type 'Publish'" in the diagnostics-probe logs. For more information, see [Known issues](../troubleshoot/known-issues.md#mqtt-broker).
4646
4747
## Change diagnostics settings
4848

49-
In most scenarios, the default diagnostics settings are sufficient. To override default diagnostics settings for MQTT broker, edit the `diagnostics` section in the Broker resource. Currently, changing settings is only supported using the `--broker-config-file` flag when you deploy the Azure IoT Operations using the `az iot ops create` command.
49+
In most scenarios, the default diagnostics settings are sufficient. To override default diagnostics settings for the MQTT broker, edit the `diagnostics` section in the Broker resource. Currently, changing settings is supported only by using the `--broker-config-file` flag when you deploy Azure IoT Operations by using the `az iot ops create` command.
5050

51-
To override, first prepare a Broker config file following the [BrokerDiagnostics](/rest/api/iotoperations/broker/create-or-update#brokerdiagnostics) API reference. For example:
51+
To override, first prepare a Broker configuration file by following the [BrokerDiagnostics](/rest/api/iotoperations/broker/create-or-update#brokerdiagnostics) API reference. For example:
5252

5353
```json
5454
{
@@ -77,14 +77,14 @@ To override, first prepare a Broker config file following the [BrokerDiagnostics
7777
}
7878
```
7979

80-
Then, deploy Azure IoT Operations using the `az iot ops create` command with the `--broker-config-file` flag, like the following command (other parameters omitted for brevity):
80+
Then, deploy IoT Operations by using the `az iot ops create` command with the `--broker-config-file` flag, like the following command. (Other parameters are omitted for brevity.)
8181

8282
```azurecli
8383
az iot ops create ... --broker-config-file <FILE>.json
8484
```
8585

8686
To learn more, see [Azure CLI support for advanced MQTT broker configuration](https://aka.ms/aziotops-broker-config) and [Broker examples](/rest/api/iotoperations/broker/create-or-update#examples).
8787

88-
## Next steps
88+
## Related content
8989

9090
- [Deploy observability resources and set up logs](../configure-observability-monitoring/howto-configure-observability.md)

0 commit comments

Comments
 (0)