Skip to content

Commit

Permalink
chore: update Sentry import to use namespace import
Browse files Browse the repository at this point in the history
  • Loading branch information
drazisil committed Jun 21, 2024
1 parent c41f381 commit c1b74d8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/main/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.

import Sentry from "@sentry/node";
import * as Sentry from "@sentry/node";
import { nodeProfilingIntegration } from "@sentry/profiling-node";
import { getServerLogger } from "rusty-motors-shared";
import { verifyLegacyCipherSupport } from "rusty-motors-shared";
Expand Down Expand Up @@ -43,7 +43,6 @@ export default async function main() {
profilesSampleRate: 1.0, // Profiling sample rate is relative to tracesSampleRate
integrations: [
nodeProfilingIntegration(),
...Sentry.autoDiscoverNodePerformanceMonitoringIntegrations(),
],
_experiments: {
metricsAggregator: true,
Expand Down

0 comments on commit c1b74d8

Please sign in to comment.