Metric collection from OpenTelemetry (Otel) metrics
The MID WebService metric Collector enables you to collect JSON and protobuf formatted metrics sent from OpenTelemetry (Otel).
Antes de Iniciar
Ensure that you have installed the Event Management Connectors (sn_em_connector) plugin on the ServiceNow AI Platform instance and the ServiceNow version is Australia or above.
- Deploy and start the MID Server. See MID Server configuration.
- Configure and start the MID Web Server. See Configure the MID Web Server extension.
- To activate metric collection, ensure that the MID Server that retrieves metrics is configured with the Metric Intelligence extension and that the extension is in Started mode. See Manually configure the Metric Intelligence extension.
- Enable the rest listener.
Por Que e Quando Desempenhar Esta Tarefa
Protobuf and JSON formatted metrics are sent from Opentelemetry. The MID Server transforms the collected metrics by parsing them using the TransformMetrics_MidOpenTelemetry script include, located at . In the Push Connectors page, select OpenTelemetry.
The default format of the URL to push event messages from the GCP to the MID Server is: http://{MID_Server_IP}:{MID_Web_Server_Port}/api/mid/sa/inbound_metrics?transform=TransformMetrics_MidOpenTelemetry
| Variable | Description |
|---|---|
| MID_Server_IP | IP address of the MID Web Server Extension. |
| MID_Web_Server_Port | Listening port of the MID Web Server Extension. |
| MID_Web_Server_User | Username for the MID Web Server Extension. |
| MID_Web_Server_Password | Password of the user of the MID Web Server. |