Skip to content

Commit

Permalink
remove console SpanExporter.
Browse files Browse the repository at this point in the history
  • Loading branch information
zzhlogin committed Jan 26, 2024
1 parent 42f6eb9 commit 83fa7b6
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,22 +90,7 @@ def _initialize_components(auto_instrumentation_version):
# populate version if using auto-instrumentation
if auto_instrumentation_version:
auto_resource[ResourceAttributes.TELEMETRY_AUTO_VERSION] = auto_instrumentation_version
default_resource = Resource.create(auto_resource)

print("HERE----------default_resource: !!!!!!!!!---------------------")
print(default_resource.to_json)

print("Integrating AwsEksResourceDetector--------------------")

resource=get_aggregated_resources(
[
# AwsEc2ResourceDetector(),
AwsEksResourceDetector(),
]
).merge(default_resource)

print("HERE----------resource: !!!!!!!!!---------------------")
print(resource.to_json)
resource = Resource.create(auto_resource)

_init_tracing(
exporters=trace_exporters,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ spec:
value: "http://cloudwatch-agent.amazon-cloudwatch:4315"
- name: OTEL_METRICS_EXPORTER
value: "none"
- name: OTEL_TRACES_EXPORTER
value: "console"
- name: OTEL_TRACES_SAMPLER
value: "always_on"
- name: OTEL_PROPAGATORS
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,6 @@ spec:
value: "true"
- name: OTEL_METRICS_EXPORTER
value: "none"
- name: OTEL_TRACES_EXPORTER
value: "console"
- name: OTEL_TRACES_SAMPLER
value: "always_on"
- name: OTEL_PROPAGATORS
Expand Down

0 comments on commit 83fa7b6

Please sign in to comment.