mirror of
https://github.com/openmhz/trunk-server.git
synced 2026-11-13 17:27:37 -05:00
back to honeycomb tracing and high sample
This commit is contained in:
@@ -8,7 +8,7 @@ const {
|
|||||||
|
|
||||||
// uses the HONEYCOMB_API_KEY and OTEL_SERVICE_NAME environment variables
|
// uses the HONEYCOMB_API_KEY and OTEL_SERVICE_NAME environment variables
|
||||||
const sdk = new HoneycombSDK({
|
const sdk = new HoneycombSDK({
|
||||||
sampleRate: 5,
|
sampleRate: 20,
|
||||||
instrumentations: [
|
instrumentations: [
|
||||||
getNodeAutoInstrumentations({
|
getNodeAutoInstrumentations({
|
||||||
// we recommend disabling fs autoinstrumentation since it can be noisy
|
// we recommend disabling fs autoinstrumentation since it can be noisy
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
const tracing = require("./agents/otel-tracing");
|
const tracing = require("./agents/honeycomb-tracing");
|
||||||
var express = require("express");
|
var express = require("express");
|
||||||
var configureExpress = require("./config/express");
|
var configureExpress = require("./config/express");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user