Questions tagged [datadog]

Datadog provides surveillance services for both IT and DevOps professionals.

Getting environment variables on the client side in Next.js: A step-by-step guide

How can I retrieve an environment variable in my Next.js application and pass the data into datadogRum.init? // _app.tsx import React from "react"; import { useEffect } from "react"; import type { AppProps } from "next/app"; ...

Connect Datadog to NextJs using the app router

I am facing a challenge with integrating Datadog into my NextJs 14 app that uses the app router. In previous versions, I successfully integrated Datadog into React and NextJs apps without the app router by placing initialization code in the top level compo ...

What could be the possible reasons for encountering the error message "datadog-lambda-js/handler.handler is not defined or exported" when implementing Datadog lambda

It seems like the Datadog AWS Lambda instrumentation is giving me trouble. I keep encountering this error every few invocations: "errorType": "Runtime.HandlerNotFound", "errorMessage": "/opt/nodejs/node_modules/da ...

Metric count in Datadog decreasing across various containers

When using Python, I am incrementing a Datadog counter: from datadog import initialize from datadog import ThreadStats stats.increment('api.request_count', tags=['environment:' + environment]) I have configured the metric type as "cou ...