# Record 'Recent Slow Response Events'

**URL:** <https://forum.inductiveautomation.com/t/record-recent-slow-response-events/113775>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [February 4, 2026, 10:15pm UTC](https://forum.inductiveautomation.com/t/record-recent-slow-response-events/113775 "2026-02-04T22:15:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![arun1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arun1/32/79753_2.png) [@arun1](https://forum.inductiveautomation.com/u/arun1)\
**Post date:** [February 4, 2026, 10:15pm UTC](https://forum.inductiveautomation.com/t/record-recent-slow-response-events/113775/1 "2026-02-04T22:15:25Z")

</div>

Is there a way to log or record the msgs that show up in the 'Recent Slow Response Events'? We are using 8.1.45 . These are found under Ign GW’s Status \> Systems \> Overview

I don’t expect a straightforward location to pick up these msgs but I have seen people here use things like “from com.inductiveautomation.ignition.gateway import IgnitionGateway” to expose things like ‘mod\_mgr.resolveClass('com.inductiveautomation.perspective.gateway.api.PerspectiveContext')’ and do magic with it 🤩 so was hoping there is a way to extract this info. If it can reach the GW webpage then we should be able to get it as well!

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/a/1af162980272b882218ecf4701e05bd05d0689e3.png)

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 4, 2026, 11:51pm UTC](https://forum.inductiveautomation.com/t/record-recent-slow-response-events/113775/2 "2026-02-04T23:51:52Z")

</div>

The Metrics Dashboard has the clock drift detector as a watchable value:

> **[ClockDriftDetector​ - Metrics Dashboard | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.3/platform/gateway/web-interface/diagnostics/diagnostics-metrics-dashboard#clockdriftdetector)**
>
> The Metrics Dashboard allows users to visualize a variety of metrics on their own customizable dashboards. Users may browse and search for any registered metric and add it to a dashboard, expanding the diagnostic capabilities available in the...

It would also be possible to monitor the value of that gauge programmatically, starting from a GatewayContext to retrieve the metrics registry.

---

<div class="post-metadata">

**Author:** ![arun1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arun1/32/79753_2.png) [@arun1](https://forum.inductiveautomation.com/u/arun1)\
**Post date:** [February 6, 2026, 10:16pm UTC](https://forum.inductiveautomation.com/t/record-recent-slow-response-events/113775/3 "2026-02-06T22:16:23Z")

</div>

Any sample code that I could use to get started? I have no experience with this one

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 6, 2026, 11:14pm UTC](https://forum.inductiveautomation.com/t/record-recent-slow-response-events/113775/4 "2026-02-06T23:14:27Z")

</div>

You can access the `MetricRegistry`:

> [@Ignition Observability](https://forum.inductiveautomation.com/t/ignition-observability/110650/9):
>
> Excellent points to make here. You are absolutely right in that what I'm asking for results in a larger demand for resources. My questions are aimed at a use case during evaluation of certain projects, during development and testing. The configurations for which metrics are kept, which are dropped, and what retention sizes should be used, will vary depending on the environment and scale. Regarding histogram buckets, it appears the internal gateway metrics are using a default exponential bucket,…

Which is a class directly from a third party library.  
You could ask it for the set of gauges it contains, which will return a dictionary:

> **[MetricRegistry - metrics-core 4.0.3 javadoc](https://www.javadoc.io/doc/io.dropwizard.metrics/metrics-core/4.0.3/com/codahale/metrics/MetricRegistry.html)**

The Guage object you get from that dictionary (at the `ClockDriftDetector.driftGauge` key) will have a `getValue` method: [Gauge - metrics-core 4.0.3 javadoc](https://www.javadoc.io/doc/io.dropwizard.metrics/metrics-core/4.0.3/com/codahale/metrics/Gauge.html)

So it would look something like:

```python
from com.inductiveautomation.ignition.gateway import IgnitionGateway

__gateway = IgnitionGateway.get()
__metrics =__ gateway.metricRegistry
__driftGauge =__ metrics.gauges["ClockDriftDetector.driftGauge"]

def getDriftValue():
	return __driftGauge.value

```
