Skip to content
This repository was archived by the owner on May 5, 2025. It is now read-only.

Commit ff68189

Browse files
Merge pull request #834 from codecov/thiago/up/upgrade-opentelem
Upgrading opentelemetry rate
2 parents 2073f78 + 7f6ed8e commit ff68189

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

open_telemetry.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,14 +168,13 @@ def instrument():
168168
repository_token=os.getenv("OPENTELEMETRY_TOKEN"),
169169
version_identifier=current_version,
170170
sample_rate=float(os.getenv("OPENTELEMETRY_CODECOV_RATE")),
171-
untracked_export_rate=float(os.getenv("OPENTELEMETRY_CODECOV_RATE")),
171+
untracked_export_rate=0,
172172
filters={
173173
CoverageSpanFilter.regex_name_filter: None,
174174
CoverageSpanFilter.span_kind_filter: [trace.SpanKind.SERVER, trace.SpanKind.CONSUMER],
175175
},
176176
code=f"{current_version}:{current_env}",
177177
codecov_endpoint=os.getenv("OPENTELEMETRY_ENDPOINT"),
178-
writeable_folder="/home/codecov",
179178
environment=current_env,
180179
)
181180
provider.add_span_processor(generator)

requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,5 @@ pylint-django
4242
elastic-apm
4343
ariadne_django
4444
simplejson==3.17.2
45-
git+ssh://[email protected]/codecov/[email protected].3a1#egg=codecovopentelem
45+
git+ssh://[email protected]/codecov/[email protected].4a1#egg=codecovopentelem
4646

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ cfgv==3.2.0
6161
# via pre-commit
6262
chardet==3.0.4
6363
# via requests
64-
git+ssh://[email protected]/codecov/[email protected].3a1#egg=codecovopentelem
64+
git+ssh://[email protected]/codecov/[email protected].4a1#egg=codecovopentelem
6565
# via -r requirements.in
6666
colour==0.1.5
6767
# via shared

0 commit comments

Comments
 (0)