Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

writer: send internal tracer health metrics less often and disable by default #1094

Merged
merged 1 commit into from
Oct 11, 2019

Conversation

jd
Copy link
Contributor

@jd jd commented Oct 11, 2019

The current rate of sending metrics every 1 second is too heavy and impacts the
performance. Let's do this only every 10 seconds by default, so we're sure our
perf impact is quite small.

The current rate of sending metrics every 1 second is too heavy and impacts the
performance. Let's do this only every 10 seconds by default, so we're sure our
perf impact is quite small.
@jd jd requested a review from a team as a code owner October 11, 2019 17:00
@palazzem palazzem added this to the 0.30.1 milestone Oct 11, 2019
@palazzem palazzem merged commit 32fb629 into DataDog:0.30 Oct 11, 2019
@zhaoyi0113
Copy link

I can't get any trace in datadog after upgrading to 0.30.1. Is there anything I need to configure for this version? It says disable by default but it doesn't say how to enable it.

@brettlangdon brettlangdon changed the title writer: send statistics less often and disable by default writer: send internal tracer health metrics less often and disable by default Oct 21, 2019
@brettlangdon
Copy link
Member

for anyone coming here due to #1103 or #1102, this PR has to do with new, internal only stats we are collecting from the tracer.

these stats are not related to the collecting/reporting of traces.

at this time, the tracer does not compute any stats for traces, all of that work is done by our agent and our backend.

these stats are meant to tell us how the Python tracer is functioning.

brettlangdon added a commit that referenced this pull request Oct 21, 2019
* telemetry: send statistics less often and disable by default (#1094)

The current rate of sending metrics every 1 second is too heavy and impacts the
performance. Let's do this only every 10 seconds by default, so we're sure our
perf impact is quite small.

* Disable excepthook metric by default (#1095)

* core: rewrite agent writer on new process

* no need to reset the queue

* add test case

* fix linting issues

* Assert span was written to the correct queue

* Update tests/test_tracer.py

Co-Authored-By: Tahir H. Butt <tahir.butt@datadoghq.com>
brettlangdon added a commit that referenced this pull request Oct 21, 2019
* telemetry: send statistics less often and disable by default (#1094)

The current rate of sending metrics every 1 second is too heavy and impacts the
performance. Let's do this only every 10 seconds by default, so we're sure our
perf impact is quite small.

* Disable excepthook metric by default (#1095)

* core: rewrite agent writer on new process

* no need to reset the queue

* add test case

* fix linting issues

* Assert span was written to the correct queue

* Update tests/test_tracer.py

Co-Authored-By: Tahir H. Butt <tahir.butt@datadoghq.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants