# Monitoring and Reporting

## Introduction

Monitoring the status of programs and registries is vital for program administrators. With OpenG2P's monitoring and logging tools, program administrators can&#x20;

1. Monitor programs via visual dashboards
2. Generate reports from the PBMS
3. Monitor system health in real-time&#x20;

The following tools are provided

* Integration of [Apache Superset](https://superset.apache.org/) for visual pre-configured **dashboards**
* Reporting Framework for real-time updates and **slicing and dicing of data**
* Prometheus and Grafana for **system health** monitoring
* Rancher, Fluentd, OpenSearch integration for **system logs** monitoring

## Apache Superset&#x20;

Apache Superset offers SQL query based datasets and charts for visualisation of data. OpenG2P offers pre-configured dashboards for visualisation. Refer to the [deployment instructions](/1.2/deployment/openg2p-modules-deployment/reporting-deployment.md).

<figure><img src="/files/oBJ5CZgpaemXis2NGJee" alt=""><figcaption></figcaption></figure>

## Real-time reporting framework

<figure><img src="/files/bx1ZyS2XnL6NVs4NXxEI" alt=""><figcaption></figcaption></figure>

Details of this infrastructure may be found [here](https://github.com/mosip/reporting).&#x20;

## Prometheus and Grafana

<figure><img src="/files/Twd7hzUCDJ1lZe6J6YRV" alt=""><figcaption></figcaption></figure>

## Logs monitoring via Fluentd and OpenSearch

<figure><img src="/files/GrBkYJQU1VchPsncL4P5" alt=""><figcaption></figcaption></figure>

For deployment of logging infrastructure refer to [Logging & OpenSearch Deployment](/1.2/deployment/external-components-setup/logging-and-opensearch-deployment.md).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.openg2p.org/1.2/platform/monitoring-and-reporting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
