How to use Metrics with Sentry in shared environment? #12503
-
We are using Sentry with our VS Code extension and want to use the Metrics feature. As we are in a shared environment, we setup the client manually as described in - https://docs.sentry.io/platforms/javascript/best-practices/shared-environments/. With this type of setup, I want to know how we can use the Metrics and the docs only shows the steps by using I tried using the
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
The error was due to mismatch of the SDK version which is fixed now. I am getting some metrics by running it as below:
Is this the correct way of using the Metrics in the shared environments? |
Beta Was this translation helpful? Give feedback.
The error was due to mismatch of the SDK version which is fixed now. I am getting some metrics by running it as below:
Is this the correct way of using the Metrics in the shared environments?