Comments (4)
Thank you for such a detailed feedback @mikejr !
We'll spend more time looking at this during the next few days to bring the appropriate modifications.
from datadogpy.
Hi @mikejr,
I have been running more tests, but I am unable to identify any thread safety related issue.
While running your snippet, I only see [Errno 61] Connection refused
exception raised when socket.connect
is used.
About [Errno 61] Connection refused
This message indicates that an ICMP Destination Unreachable response has been received in reply to a packet sent to an unbound port on the server.
This is an expected behavior here: in a "connected" mode, the socket would report (with enough delay to receive it) any ICMP response. Thus, I see the same exception when using a single thread and a few seconds wait between two socket.send
calls. At the opposite, I see no exceptions, when socket.connect
targets to a listening port.
@mikejr can you confirm that you are seing the same exception ? If so, we should investigate on the host side to understand why it becomes unreachable (defficient, restarting DogStatsd server ?).
Yann
from datadogpy.
@yannmh Yep, thats the same error and it does occur when DogStatsd is unavailable. I was trying to avoid spamming the logs when shutting down DogStatsd. Will take another route. Thanks for looking into it.
from datadogpy.
Thanks for confirming.
I am closing the issue. Please feel free to reopen if needed.
from datadogpy.
Related Issues (20)
- 'DogStatsd' object has no attribute 'guage' HOT 1
- DowntimesApi: canceled downtime still visible in response of list_downtimes() HOT 5
- Disable info log around https://api.datadoghq.com/api/v1/series HOT 2
- AWSIntegration response obj missing aws account id HOT 1
- Upgrading to DD 0.45.0 breaks StatsD metrics HOT 9
- Disable EC2/EKS tags from statsd custom metric ingestion HOT 1
- Add support for timing functions using histograms like the timed and distributed decorators HOT 1
- dogshell and dogwrap dont support ddgov and ap1 sites HOT 1
- Sending an event adds tags from agent config HOT 1
- Allow disabling statsd export via constructor arg HOT 1
- Support IPv6 hostnames in `dogstatsd` HOT 1
- dog event post does not type --related_event_id properly HOT 1
- Changing Statsd to UDS does not reset telemetry labels / max payload size HOT 2
- bytes_dropped is no longer available on DogStatsD client HOT 1
- Type statsd.timed HOT 4
- urllib3 2.0+ breaks tests? HOT 2
- dogwrap with StatsD instead of API HOT 1
- Support the standard DD_DOGSTATSD_URL environment variable HOT 4
- Report traceback error for http_client errors HOT 1
- Support installing datadogpy package through apt instead of pip HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datadogpy.