You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I test that instrumentation.ts is actually used and sends traces? Astro's dev mode doesn't know anything about instrumentation.ts file and it's not taken into account.
Is it possible to make it work on local development environment as well?
Do I need to activate tracing via the Vercel Dashboard or it's only necessary when I want to use Vercel's OT Collector?
The text was updated successfully, but these errors were encountered:
chicoxyzzy
changed the title
Clarification about custom URL configuration for OTLPHttpProtoTraceExporter in @vercel/otel for Vercel serverless and local environments
Clarification about instrumentation on local development environment
Oct 17, 2024
I was trying to figure out how to get this started as well, since it didn't seem like just implementing the instrumentation file was enough. I am not developing an Astro app, but I added the following to the next.config.mjs file:
chicoxyzzy
changed the title
Clarification about instrumentation on local development environment
Clarification about instrumentation for non-Next.js apps and on local development environment
Oct 17, 2024
Hello, I have a few questions about
@vercel/otel
usage with my own OT Collector.I'm following the guide on https://vercel.com/docs/observability/otel-overview#quickstart-for-using-the-vercel-opentelemetry-collector
My app is an Astro app with
@astrojs/vercel/serverless
adapter (so it runs on Node.js runtime), which is deployed on Vercel.I've have this code in my
instrumentation.ts
:How can I test that
instrumentation.ts
is actually used and sends traces? Astro's dev mode doesn't know anything aboutinstrumentation.ts
file and it's not taken into account.Is it possible to make it work on local development environment as well?
Do I need to activate tracing via the Vercel Dashboard or it's only necessary when I want to use Vercel's OT Collector?
The text was updated successfully, but these errors were encountered: