this repo is deprecated
50K+
This docker image runs a simple UDP -> UDS proxy with socat, to help with the transition to the Unix Domain Socket protocol if your client libraries are not patched yet. It is intended to be run as a sidecar container for your application and will forward UDP packets sent to localhost:8125 to /socket/statsd.socket.
To run it, you need to:
/socket/statsd.socket (for example -v /var/run/datadog/:/socket:ro)--autorestart ALWAYS, as socat will exit on write errors. Please note that packets will be dropped while the container is restarting.This is an example Kubernetes spec:
apiVersion: extensions/v1beta1
kind: Deployment
metadata:
name: test-producer
spec:
replicas: 1
template:
metadata:
labels:
app: test-producer
spec:
containers:
- **[insert producer container specs]**
- name: socat
image: datadog/dogstatsd-socat-proxy:beta
ports:
- containerPort: 8125
name: dogstatsdport
protocol: UDP
volumeMounts:
- name: dsdsocket
mountPath: /socket
volumes:
- hostPath:
path: /var/run/dogstatsd
name: dsdsocket
Content type
Image
Digest
Size
2.8 MB
Last updated
about 9 years ago
docker pull datadog/dogstatsd-socat-proxy:betaPulls:
18
Last week