Open agnivade opened 2 years ago
@agnivade Looks like the implementation of (*MetricsInterfaceImpl).ObserveStoreMethodDuration
is not publicly available. Can you share the implementation to reproduce the issue ?
I am getting a 404 on this URL. https://github.com/mattermost/mattermost-server/blob/0077fb2b04feeb5425dced76b633393b8a4ea2d0/enterprise/metrics/metrics.go
Hi @yolossn - Unfortunately, I cannot share the code due to legal reasons. It belongs in our enterprise repo. But it's just a one line method which goes something like histogram.With(..).Observe(...)
, where histogram is a *prometheus.HistogramVec
.
Hey @agnivade, can you share an example or at least the types of parameters you’re passing to the histogram builder? I could not find in client_golang version 11’s newHistogram
code where it could possibly end up being a nil reference.
If this issue is not valid anymore it might as well be stale, it was created long time ago.
It is basically like <*prometheus.HistogramVec>.With(prometheus.Labels{"string": stringVal, "string": stringVal}).Observe(float64)
Hello 👋 Looks like there was no activity on this issue for the last 3 months. Do you mind updating us on the status? Is this still reproducible or needed? If yes, just comment on this PR or push a commit. Thanks! 🤗 If there will be no activity in the next 4 weeks, this issue will be closed (we can always reopen an issue if we need!).
@bwplotka is this issue still up ?
Seems so, but ideally we have test reproducing this from the author of this issue.
Thanks!
We have received the following stack trace from Sentry.
The code is from this commit: https://github.com/mattermost/mattermost-server/tree/0077fb2b04feeb5425dced76b633393b8a4ea2d0
Library version is at 1.11.0.
Let me know if you need anything else.