isomerpages / isomercms-backend

A static website builder and host for the Singapore Government
5 stars 1 forks source link

chore(tracer.ts): changed samplerate to 1 #757

Closed seaerchin closed 1 year ago

seaerchin commented 1 year ago

Problem

dd-trace did not fully sample, so we might have missed traces. this is sub-optimal when we want to determine the # of email/github requests hitting our backend api.

Solution

see here - we just don't let the dd agent decide the sample rate.