From 2815061dafe3bf17d1844be4f4ad1df7d1e02fd2 Mon Sep 17 00:00:00 2001 From: Luke Berndt Date: Wed, 21 Aug 2024 22:10:15 -0400 Subject: [PATCH] back to honeycomb tracing and high sample --- backend/agents/honeycomb-tracing.js | 2 +- backend/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/agents/honeycomb-tracing.js b/backend/agents/honeycomb-tracing.js index ef7a329..2d1741c 100644 --- a/backend/agents/honeycomb-tracing.js +++ b/backend/agents/honeycomb-tracing.js @@ -8,7 +8,7 @@ const { // uses the HONEYCOMB_API_KEY and OTEL_SERVICE_NAME environment variables const sdk = new HoneycombSDK({ - sampleRate: 5, + sampleRate: 20, instrumentations: [ getNodeAutoInstrumentations({ // we recommend disabling fs autoinstrumentation since it can be noisy diff --git a/backend/index.js b/backend/index.js index 98ce947..54e481e 100644 --- a/backend/index.js +++ b/backend/index.js @@ -1,4 +1,4 @@ -const tracing = require("./agents/otel-tracing"); +const tracing = require("./agents/honeycomb-tracing"); var express = require("express"); var configureExpress = require("./config/express");