artmizu / nuxt-prometheus

Prometheus metrics for NodeJS and a set of custom metrics for Nuxt applications
64 stars 11 forks source link

Prometheus data type #51

Open abeutot opened 1 week ago

abeutot commented 1 week ago

Hi,

I was trying out this module and I don't understand why the datatype that is being used is gauge. It looks like it provide only the last render time instead of samples like that would be the case with using summary 0.

Is there a reason for this?

Thanks for your answer,

artmizu commented 1 week ago

@abeutot hi actually, that's a nice remark. will try to change the datatype after resolving this issue https://github.com/artmizu/nuxt-prometheus/issues/42

Don't know right now how long it take, but hope not be too long