Accessing dogstatsd (datadog) Pod from adjecent Kubernetes Pods

I'm running a number of python apps as Replica Sets inside of kubernetes on Google Container Engine (gke). Along side them I've created the Datadog DaemonSet which launches a dd-agent on each node...

ERROR -- ddtrace: [ddtrace] Failed to open TCP connection to localhost:8126 (Connection refused - connect(2) for "localhost" port 8126)

I am currently working on a ruby on rails project that I have not deployed. While working in a development environment, every time I run rails console or the server I get the full error...

Sending ddtrace from docker

I'm trying to learn how to use docker and am having some troubles. I'm using a docker-compose.yaml file for running a python script that connects to a mysql container and I'm trying to use ddtrace...

Datadog how to implement ddtrace on Flask application?

I was able to follow these instructions carefully and thoroughly https://docs.datadoghq.com/tracing/setup/python/, I successfully installed DataDog Agent following this guide...

How to import Typescript definition that exports a single variable

The type definition for the "dd-trace" library, in "@types/dd-trace", exports a single variable. declare var trace: TraceProxy; export = trace; declare class TraceProxy extends Tracer { /** ...

When installed datadog APM ddtrace php then my app not working

I was installed the "datadog-php-tracer_0.14.1-beta_amd64.deb" on my server and after installed my application return 500 error. Below is the things which I have configured or my server related...

Python Django call_command permissions gunicorn+nginx

Problem Receive 502 bad gateway when i try to execute a django management command via gunicorn Logic Line I think the problem is about permissions, something like gunicorn is not able call the...

"Meson failed" while generating core-image-selinux in yocto warrior branch

While generating core-image-selinux for yocto warrior branch, I am getting below error, ERROR: glib-2.0-native-1_2.58.3-r0 do_configure: meson failed ERROR: glib-2.0-native-1_2.58.3-r0...

Autoscale celery workers having complex Celery Chains

I'm trying to draft out how autoscaling would work with celery having complex chain based workflows. Current Flow: 30 CSVs are downloaded (every 6 hours) then a celery group is created to monitor...

Managing system dependencies of ruby gems (e.g. mysql2 and openssl)

TL;DR: Below is a tragic story of a how I lost about 8 hours of my life because different gems were looking for different versions of openssl that weren't there. In the course of coming here to...

undefined method `spec' for #<ActiveRecord::ConnectionAdapters::NullPool:0x00007fd44f8ab300> - Rails 6 schema:load

We are in the middle of upgrading our rails app from 5.2 to 6.0.1, and now whenever we run db:schema:load --trace we get the following error. ** Invoke db:schema:load (first_time) ** Invoke...

Ruby on Rails Rake assets: precompile error - Connection Refused

I'm attempting to run a legacy Rails App using Rails 3.2.8 with Ruby 1.9.3:551 through RVM. I'm aiming to run it using Apache2 with Passenger as well. Attempting to connect to the site leads to a...

Create docker container to run `go test` with all module dependencies downloaded and cached

I want to test my Go code in a CI environment which requires using Docker. How do I create a Docker image that has all the dependencies listed in go.mod already downloaded and compiled so that...

Integrating Okta OIDC with Dash Application

I'm trying to integrate Okta OIDC authentication and Dash into a Flask app, so that a user would only be able to view the Dash app once they signed in using our org's Okta SSO Trying: from flask...

Datadog spans lost in python thread pool

I have a function that runs in a thread pool, but it only shows up in the Datadog tracing UI when I run it outside of my threadpool. In the screenshot below you can see it show up in sync_work but...

Collectstatic failing - botocore.exceptions.ClientError: An error occurred (404) when calling the HeadObject operation: Not Found

I'm attempting to run collectstatic on a stage deploy to AWS. I'm getting the following error, and no files are being placed in the bucket: Traceback (most recent call last): File...

Mysterious TypeError: no _dump_data is defined for class OpenSSL::Digest

We've been seeing this error popping up more and more recently - but not consistently and are not able to reproduce it manually. We have a standard Ruby on Rails app (5.2.3) on Ruby 2.6.5. I have...

Cannot connect from asgi app (FastApi) to Datadog Agent running on Docker

I am trying to connect to datadog from my fastapi backend. I am currently trying to do this on localhost using a docker-compose file to let both my datadog-agent and my backend-container run in...

python flask application to track APM logs with Datadog on Azure Linux containers using ACR

My current organization is migrating to DataDog for Application Performance Monitoring. I am deploying a Python Flask web application using docker to Azure Container Registry. After the deployment...