Skip to content

Commit 684b6fd

Browse files
Fix envoy access logs (open-telemetry#1930)
* Fix envoy access logs - Remove attributes that cause problems in the Collector * add changelog --------- Co-authored-by: Juliano Costa <julianocosta89@outlook.com>
1 parent 8bb328a commit 684b6fd

File tree

2 files changed

+2
-40
lines changed

2 files changed

+2
-40
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,8 @@ the release.
7676
([#1919](https://github.com/open-telemetry/opentelemetry-demo/pull/1919))
7777
* [flagd-ui] fixed eslint ignore comment with useCallback
7878
([#1923](https://github.com/open-telemetry/opentelemetry-demo/pull/1923))
79+
* [frontend-proxy] fix envoy access logs
80+
([#1930](https://github.com/open-telemetry/opentelemetry-demo/pull/1930))
7981
* [chore] Add memory for frontend-proxy, kafka, grafana, opensearch
8082
([#1931](https://github.com/open-telemetry/opentelemetry-demo/pull/1931))
8183
* [frontendproxy] fix Docker compose DNS resolver with envoy 1.32

src/frontend-proxy/envoy.tmpl.yaml

-40
Original file line numberDiff line numberDiff line change
@@ -91,45 +91,6 @@ static_resources:
9191
- key: "event.name"
9292
value:
9393
string_value: "proxy.access"
94-
- key: "http.connection.id"
95-
value:
96-
string_value: "%CONNECTION_ID%"
97-
- key: "http.protocol"
98-
value:
99-
string_value: "%PROTOCOL%"
100-
- key: "http.request.body.size"
101-
value:
102-
string_value: "%BYTES_RECEIVED%"
103-
- key: "http.request.header.x-forwarded-for"
104-
value:
105-
string_value: "%REQ(X-FORWARDED-FOR)%"
106-
- key: "http.request.header.x-request-id"
107-
value:
108-
string_value: "%REQ(X-REQUEST-ID)%"
109-
- key: "http.request.headers.size"
110-
value:
111-
string_value: "%REQUEST_HEADERS_BYTES%"
112-
- key: "http.request.id"
113-
value:
114-
string_value: "%STREAM_ID%"
115-
- key: "http.request.method"
116-
value:
117-
string_value: "%REQ(:METHOD)%"
118-
- key: "http.request.start_time"
119-
value:
120-
string_value: "%START_TIME%"
121-
- key: "http.response.body.size"
122-
value:
123-
string_value: "%BYTES_SENT%"
124-
- key: "http.response.headers.size"
125-
value:
126-
string_value: "%RESPONSE_HEADERS_BYTES%"
127-
- key: "http.response.status_code"
128-
value:
129-
string_value: "%RESPONSE_CODE%"
130-
- key: "http.total_duration_ms"
131-
value:
132-
string_value: "%DURATION%"
13394
- key: "server.address"
13495
value:
13596
string_value: "%DOWNSTREAM_LOCAL_ADDRESS%"
@@ -157,7 +118,6 @@ static_resources:
157118
- key: "url.template"
158119
value:
159120
string_value: "%ROUTE_NAME%"
160-
161121
clusters:
162122
- name: opentelemetry_collector_grpc
163123
type: STRICT_DNS

0 commit comments

Comments
 (0)