> For the complete documentation index, see [llms.txt](https://docs.cennso.com/components/tposs/6.19/llms.txt) (all documentation: [llms.txt](https://docs.cennso.com/llms.txt)). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.cennso.com/components/tposs/6.19/troubleshooting/metrics.md).

# Metrics issues

The accuracy of TPOSS metric counters highly depends on the database and its state. Because of database issues, the values of the counters can be invalid. To reinitialize the metrics, run this command in the TPOSS [remote console](https://docs.cennso.com/components/tposs/6.19/troubleshooting/observer.md):

```elixir
:rpc.multicall(Tposs.Utils.get_nodes, Tposs.Metrics.Db, :fetch_data_for_metrics, [1000000, 5])
```

## Reinitialize the `sessions_GGSN` metric

Launching TPOSS in the setup with a high number of MCCs, MNCs, and home countries may lead to a high number of the `sessions_GGSN` metrics with different labels. It is possible to disable a certain label or all labels of this metric. To specify a set of labels of the `sessions_GGSN` metric at runtime, run this command in the TPOSS remote console:

```elixir
Tposs.Metrics.reinit_network_session_labels([:visitedNetworkMCC, :visitedNetworkMNC, :activeProfile], 30_000)
```

The first argument of the command is the list of labels with which you want to reinitialize the metric. To disable all the labels, run the command with an empty list - `[]`. The second argument is the timeout for TPOSS to run a query to the database in order to fetch information to reinitialise the metric. The timeout is provided in milliseconds.
