Closed calobsymonds closed 4 days ago
You'll have to forgive me; I'm not a common GitHub user and I can't figure out how to apply a label (which should probably be severity/minor
)
Having the same problem
Hi @calobsymonds / @ggierse ,
From looking at the code history, the variable name was changed from DEFAULT_FLUSH_INTERVAL
to DEFAULT_BUFFERING_FLUSH_INTERVAL
here.
# Buffering-related values (in seconds)
- DEFAULT_FLUSH_INTERVAL = 0.3
+ DEFAULT_BUFFERING_FLUSH_INTERVAL = 0.3
This change does look like it's fixed/reverted by #851 for the next release (v0.51.x) when you will be able to use the old variable again so I'll close this issue as resolved. Feel free to reopen if needed.
Describe the bug The constant
datadog.dogstatsd.base.DEFAULT_FLUSH_INTERVAL
is no longer importable as it was in prior versions.Label the issue properly.
severity/
label.documentation
label if this issue is related to documentation changes.To Reproduce
datadog
version0.50.0
from datadog.dogstatsd.base import DEFAULT_FLUSH_INTERVAL
Expected behavior The import should succeed, as it did in versions
0.49.0
and prior.Environment and Versions (please complete the following information):
Python info
Python 3.10.14 (main, Mar 19 2024, 21:46:16) [Clang 15.0.0 (clang-1500.3.9.4)] on darwin
Datadog package info (from pip):