SOT
    • Introduction
    • User manual
      • Basic operation
        • Create and delete a device as a favorite
        • Use the filter function
      • Process
        • Compare processes
        • Change axes in the diagram
        • Show and hide axis in the diagram
        • Show special values
        • Display measured values in the diagram
        • Display process data in the diagram
        • Displaying diagram content
        • Permanently highlight a process curve
        • Temporarily highlight a process curve
        • Monitoring processes
        • Configure columns
        • Export process data
    • Operations manual
      • Overview
      • System architecture and interfaces
      • System requirements
        • trinity/static-content
        • trinity/trinity-core-service
        • trinity/trinity-gateway-service
      • Migration from previous versions
        • Influx database migration
        • Deletion of an old CPM installation
      • Setup and configuration
        • AI add-on: Process Intelligence
        • Database configuration
        • Port configuration
        • HELM configuration
        • Application account roles provided
        • Relational database
        • General logging
        • General OpenTelemetry
        • trinity/static-content
        • trinity/trinity-core-service
        • trinity/trinity-gateway-service
      • Start and shutdown
      • Regular operations
      • Failure handling
        • Processes are not received
        • Module is not visible in the Web Portal
        • How to verify if the broker is out of sync
        • Devices are missing
      • Backup and restore
      • Logging and monitoring
        • Observability
        • Logging characteristics
        • Logging format
        • Logging level
        • Required monitoring
        • Request-based logging format
        • Security logging format
        • Lifecycle logging format
        • Health verification endpoints
      • Known limitations
    • API documentation
Process Quality
  • Smart Operations Toolkit
    • Deviation Processor
    • Multitenant Access Control
    • Notification Service
    • Ticket Management
    • Web Portal
  • Shopfloor Management
    • Andon Live
    • KPI Reporting
    • Operational Routines
    • Shift Book
    • Shopfloor Management Administration
  • Product & Quality
    • Process Quality
    • AI Services
  • Machine & Equipment
    • Condition Monitoring
    • Device Portal
  • Enterprise & Shopfloor Integration
    • Information Router
    • Master Data Management

SOT Learning Portal

  • Process Quality
  • Operations manual
  • Logging and monitoring
  • Required monitoring

Required monitoring

It is important to monitor some log messages and metrics because they are indicators that manual analysis or action is required.

Logs

Alert rules maybe use 'JSONPath' for addressing values in structured logs. This is indicated with a '$'.

Table 1. Required log monitoring
Message Logger Alert rule (pseudo code) Context Symptoms Solution

Service crashed

LIFE-CYCLE

(($stackTraces[*].failureType = 'liquibase.exception.LockException') > 0) in one minute

Database migration

Pod does not start up / pod restarts

Assert if the kubernetes deployment, listed in the 'LOCKEDBY' column of table 'PQM_TRN_DATABASECHANGELOGLOCK', is running. If not, delete the entry from the database. If so, wait for the migration to complete.

Health status is [DOWN]. <further details>

LIFE-CYCLE

(($status = 'UNHEALTHY') > 0) in one minute

System availability

Loss of functionality, loss of data, system unavailability

Inspect the further details of the message. This contains a detailed report of the problem.

Synchronisation of master data for tenant [<ID_OF_AFFECTED_TENANT>] failed

com.bosch.bci.trinity.trn.ias.mdm.synchronisation.per.tenant.MdmSyncService

(($service.logger = 'com.bosch.bci.trinity.trn.ias.mdm.synchronisation.per.tenant.MdmSyncService') and ($service.message = Synchronisation of master data for tenant*)) > 0) in one day

Device master data

Devices are missing in PQM

Assign the required MDM roles to the PQM client.

Metrics

Table 2. Required metric monitoring
Metric Alert rule (pseudo code) Context Symptoms Solution

Length of queue q.pqm.dlq.integration-events

Length of q.pqm.dlq.integration-events > 0

Master data synchronization between PQM and MDM, as well as between PQM and MACMA.

MDM master data like devices and facilities are not visible in PQM.

The system heals itself withing 30 minutes. If this does not succeed, execute the '/master-data/v1/{ownerTenantId}/mdm/recreate' endpoint. See the API documentation for further details.

Contents

© Robert Bosch Manufacturing Solutions GmbH 2023-2026, all rights reserved

Changelog Corporate information Legal notice Data protection notice Third party licenses