Diagnostic Sources¶
OMAG Server Platform¶
Figure 1 shows the choices you have when gathering diagnostics for a problem related to the OMAG Server Platform and the servers and services that run on it. These are in addition to the diagnostics from the container services, and the services that either call or are called by the services running on the OMAG Server Platform.
Figure 1: Diagnostic sources for the OMAG Server Platform
Specifically they are:
-
Audit Log - the audit log provides diagnostic information for a running OMAG Server. This includes the start up and shutdown of services, unexpected exceptions, events sent and processed, connector failures and security violations. It is the primary source of diagnostics for an OMAG Server, its connectors and the Open Metadata Repository Cohort. Each message has an identifier, such as
OMRS-AUDIT-0064, whose prefix names the component that wrote it, and describes the likely cause and the action to take. Where the records go depends on the server's audit log destinations. More information .... -
Status reports - every server reports its own status, and the integration daemons and engine hosts report the status of each connector and governance engine. These are what the portal's Egeria Operations and the hey_egeria monitors display, and they can be retrieved through the Diagnostic APIs.
-
Engine actions - each engine action records its status, completion guards and completion message, so a failed governance service usually says why it failed. View them on the Engine Actions tab of Egeria Operations.
-
Platform metrics - the OMAG Server Platform includes the Spring Boot Actuator and a Prometheus registry. The endpoints are not exposed by default; set
management.endpoints.web.exposure.includein the platform'sapplication.propertiesto publish them, then visualize the REST call timings and JVM metrics with a tool such as Grafana . -
Developer Logging - developer logging can be used in development and test environments to understand how the code is running. It is enabled through the OMAG Server Platform's
application.propertiesand is activated when the platform starts up - for example,logging.level.org.odpi.openmetadata.adapters.connectors.resource.jdbc=DEBUGlogs every SQL statement, andlogging.level.org.odpi.openmetadata.commonservices.ffdc.RESTCallLogger=DEBUGlogs every REST call. More information .... -
Configuration Document - the configuration document describes the services and connectors defined for a particular OMAG Server. It helps you to confirm that a server is configured correctly. Remember that integration daemons and engine hosts take most of their configuration from open metadata (integration groups, governance engines and catalog targets), so check that too. More information ....
-
Infrastructure diagnostics - Apache Kafka and PostgreSQL have their own tools: Kafka's consumer group and topic listings, and PostgreSQL's
pg_stat_activityandpg_stat_statementsviews. More information ... -
Guides and Documentation - documentation for Egeria includes design information to help you understand how the technology should work, administration guides and guides on using the services. More Information ...
-
API Calls - the Egeria API calls can be used to understand the state of a particular repository, OMAG Server and/or OMAG Server Platform. More Information ...
-
Egeria UIs - the Egeria UIs help to visualize the state of the repositories and the Egeria Ecosystem. Egeria Operations shows the runtime, The Catalog and Egeria Explorer show the metadata itself, and Egeria Audit shows exceptions and security information. More Information ...
-
Source Code - the Egeria source code can help you determine exactly how a capability is implemented (or not). It is available on GitHub. The primary repository is https://github.com/odpi/egeria, and the Python client and commands are in https://github.com/odpi/egeria-python.
-
Egeria Community - if you are completely stuck, or believe there is a bug in the Egeria content, you can raise an issue that describes the problem you are seeing, a description of your runtime topology, the diagnostics you have collected, the conclusions you have come to and the help that you need. More information on the Egeria community can be found here.
Raise an issue or comment below