You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Guys,
Love the library and i use it often. Just wondering why the timestamp value for metrics were removed(#333). Is this a best practice? I don't see it mentioned anywhere in https://prometheus.io/docs/instrumenting/exposition_formats/. If someone kept polling an endpoint and the time wasn't changing i would think that would indicate an error and something you should alert on. You can configure prometheus to ignore those timestamps if necessary in your environment as well.
example:
metric.set({},0,newDate())
The text was updated successfully, but these errors were encountered:
Hi Guys,
Love the library and i use it often. Just wondering why the timestamp value for metrics were removed(#333). Is this a best practice? I don't see it mentioned anywhere in https://prometheus.io/docs/instrumenting/exposition_formats/. If someone kept polling an endpoint and the time wasn't changing i would think that would indicate an error and something you should alert on. You can configure prometheus to ignore those timestamps if necessary in your environment as well.
example:
The text was updated successfully, but these errors were encountered: