# Gateway Metrics without a module

**URL:** <https://forum.inductiveautomation.com/t/gateway-metrics-without-a-module/57557>\
**Category:** Ignition\
**Tags:** scripting\
**Created:** [March 23, 2022, 7:03pm UTC](https://forum.inductiveautomation.com/t/gateway-metrics-without-a-module/57557 "2022-03-23T19:03:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kgamble](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kgamble/32/8019_2.png) [@kgamble](https://forum.inductiveautomation.com/u/kgamble)\
**Post date:** [March 23, 2022, 7:03pm UTC](https://forum.inductiveautomation.com/t/gateway-metrics-without-a-module/57557/1 "2022-03-23T19:03:46Z")

</div>

I know that within a module you can add custom metrics, that can be shown on the gateway webpages [dashboard](https://docs.inductiveautomation.com/display/DOC81/Diagnostics+-+Metrics+Dashboard).

However I have a project that is using a singleton to manage a bunch of variant threads performing specific tasks. This is all in python, and not done through a module, so I was curious if I am able to add my own metrics directly through project based scripting?

My guess is something in [com.inductiveautomation.ignition.gateway.metrics](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.15/com/inductiveautomation/ignition/gateway/metrics/package-summary.html) however an example of where to even start would be fantastic.

I know that I could create my metrics as tags, and then create a dashboard that looks at those tag values, but being able to use the gateway webpages dashboard is ideal in this scenario.
