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
I have a usecase where I want to get access to one or all the metrics that have been set with putMetric before sending a response back to the user. Specifically I'm planning on putting some of the metric values into server timing headers so that I can tie clientside behavior back to serverside metrics.
I'm found that while there is not a public getMetric method I can get access to previously set metrics by inspecting the data here
My question is whether this is an okay, somewhat stable method to use? Or if this is exclusively private/internal data that I should not be touching? If the latter, is there interest in adding formal getMetric or getProperty methods?
The text was updated successfully, but these errors were encountered:
Any non-public members are subject to changes without changing major versions so while I don’t have any plans to change them, I wouldn’t recommend depending on internal/private members because you can’t rely on semver to identify breaking changes.
Would access to the current metrics context suffice? Seems this would be the only blocker.
I have a usecase where I want to get access to one or all the metrics that have been set with
putMetric
before sending a response back to the user. Specifically I'm planning on putting some of the metric values into server timing headers so that I can tie clientside behavior back to serverside metrics.I'm found that while there is not a public
getMetric
method I can get access to previously set metrics by inspecting the data hereMy question is whether this is an okay, somewhat stable method to use? Or if this is exclusively private/internal data that I should not be touching? If the latter, is there interest in adding formal
getMetric
orgetProperty
methods?The text was updated successfully, but these errors were encountered: