Convert Counter to Gauge

Hello !
I’ve a custom metric that change of type in the metric file (mistake from developper).

So I’ve start to scrap metrics as counter, but it is really a gauge.
We have change in the metric file, but prometheus continue as it is a counter.

I’ve try to delete serie like this :

That work fine to clean data, but the serie stay work as a counter (and it has not reset the counter).

I can’t change the serie name (due to application obligations).

Is it a solution to fully remove a serie (values, history, config, type) and recreate it with a new scrap ?


Hello, everyone … no idee ?