Skip to content

Commit

Permalink
Fix service graph by enabling client spans in envoy proxy (#1180)
Browse files Browse the repository at this point in the history
* Enable client spans in envoy proxy

* Changelog

* Update CHANGELOG.md

* Update envoy version

---------

Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
  • Loading branch information
cedricziel and julianocosta89 authored Oct 20, 2023
1 parent b4500fc commit ea9da12
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ release.
([#1174](https://github.com/open-telemetry/opentelemetry-demo/pull/1174))
* [otelcol] merge configuration files for base and observability configs
([#1173](https://github.com/open-telemetry/opentelemetry-demo/pull/1173))
* [frontendproxy] Fix service graph by enabling client spans in envoy proxy
([#1180](https://github.com/open-telemetry/opentelemetry-demo/pull/1180))
* [java-services] Update java, gradle and OTel agent versions
([#1183](https://github.com/open-telemetry/opentelemetry-demo/pull/1183))

Expand Down
2 changes: 1 addition & 1 deletion src/frontendproxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# SPDX-License-Identifier: Apache-2.0


FROM envoyproxy/envoy:v1.27-latest
FROM envoyproxy/envoy:v1.28-latest
RUN apt-get update && apt-get install -y gettext-base && apt-get clean && rm -rf /var/lib/apt/lists/*

USER envoy
Expand Down
2 changes: 2 additions & 0 deletions src/frontendproxy/envoy.tmpl.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ static_resources:
codec_type: AUTO
stat_prefix: ingress_http
tracing:
spawn_upstream_span: true
provider:
name: envoy.tracers.opentelemetry
typed_config:
Expand Down Expand Up @@ -48,6 +49,7 @@ static_resources:
- name: envoy.filters.http.router
typed_config:
"@type": type.googleapis.com/envoy.extensions.filters.http.router.v3.Router
start_child_span: true

clusters:
- name: opentelemetry_collector_grpc
Expand Down

0 comments on commit ea9da12

Please sign in to comment.