Skip to content

Instantly share code, notes, and snippets.

@owais
Created December 11, 2023 20:20
Show Gist options
  • Save owais/18d42133e5cfbdc3b7c0328ec1ec914d to your computer and use it in GitHub Desktop.
Save owais/18d42133e5cfbdc3b7c0328ec1ec914d to your computer and use it in GitHub Desktop.
telemetry patch
12a13
>             disable_host_header_fallback: true
15,19d15
<                 dimensions:
<                   destination_port: string(destination.port)
<                   request_host: request.host
<                   response_code: string(response.code)
<                   response_code_details: response.code_details
20a17
>                   - connection_security_policy
25a23
>                   - destination_port
26a25
>                   - destination_service
31a31
>                   - request_host
32a33,35
>                   - response_code
>                   - response_code_details
>                   - response_flags
39a43,68
> 
>               - name: request_messages_total
>                 tags_to_remove:
>                   - container_spec_name
>                   - destination_app
>                   - destination_canonical_revision
>                   - destination_canonical_service
>                   - destination_cluster
>                   - destination_port
>                   - destination_principal
>                   - destination_service
>                   - destination_service_name
>                   - destination_service_namespace
>                   - destination_version
>                   - destination_workload_namespace
>                   - request_protocol
>                   - response_code
>                   - response_code_details
>                   - source_app
>                   - source_canonical_revision
>                   - source_canonical_service
>                   - source_cluster
>                   - source_principal
>                   - source_version
>                   - source_workload_namespace
> 
42d70
<                   destination_port: string(destination.port)
51a80
>                   - destination_port
52a82
>                   - destination_service
68,70d97
<                 dimensions:
<                   destination_port: string(destination.port)
<                   response_code: string(response.code)
71a99
>                   - connection_security_policy
76a105
>                   - destination_port
77a107
>                   - destination_service
82a113
>                   - request_host
83a115,117
>                   - response_code
>                   - response_code_details
>                   - response_flags
91a126,180
>               - name: response_bytes
>                 tags_to_remove:
>                   - connection_security_policy
>                   - container_spec_name
>                   - destination_app
>                   - destination_canonical_revision
>                   - destination_canonical_service
>                   - destination_cluster
>                   - destination_port
>                   - destination_principal
>                   - destination_service
>                   - destination_service_name
>                   - destination_service_namespace
>                   - destination_version
>                   - destination_workload_namespace
>                   - grpc_response_status
>                   - request_host
>                   - request_protocol
>                   - response_code
>                   - response_code_details
>                   - response_flags
>                   - source_app
>                   - source_canonical_revision
>                   - source_canonical_service
>                   - source_cluster
>                   - source_principal
>                   - source_version
>                   - source_workload_namespace
> 
>               - name: response_messages_total
>                 tags_to_remove:
>                   - container_spec_name
>                   - destination_app
>                   - destination_canonical_revision
>                   - destination_canonical_service
>                   - destination_cluster
>                   - destination_port
>                   - destination_principal
>                   - destination_service
>                   - destination_service_name
>                   - destination_service_namespace
>                   - destination_version
>                   - destination_workload_namespace
>                   - request_host
>                   - request_protocol
>                   - response_code
>                   - response_code_details
>                   - source_app
>                   - source_canonical_revision
>                   - source_canonical_service
>                   - source_cluster
>                   - source_principal
>                   - source_version
>                   - source_workload_namespace
> 
93,94d181
<                 dimensions:
<                   destination_port: string(destination.port)
100a188
>                   - destination_port
101a190
>                   - destination_service
107a197
>                   - response_code_details
117,118d206
<                 dimensions:
<                   destination_port: string(destination.port)
124a213
>                   - destination_port
125a215
>                   - destination_service
131a222
>                   - response_code_details
141,142d231
<                 dimensions:
<                   destination_port: string(destination.port)
148a238
>                   - destination_port
149a240
>                   - destination_service
155a247
>                   - response_code_details
165,166d256
<                 dimensions:
<                   destination_port: string(destination.port)
172a263
>                   - destination_port
173a265
>                   - destination_service
179a272
>                   - response_code_details
188a282
>             disable_host_header_fallback: true
191,195d284
<                 dimensions:
<                   destination_port: string(destination.port)
<                   request_host: request.host
<                   response_code: string(response.code)
<                   response_code_details: response.code_details
196a286
>                   - connection_security_policy
201a292
>                   - destination_port
202a294
>                   - destination_service
207a300
>                   - request_host
208a302,304
>                   - response_code
>                   - response_code_details
>                   - response_flags
215a312,338
> 
>               - name: request_messages_total
>                 tags_to_remove:
>                   - container_spec_name
>                   - destination_app
>                   - destination_canonical_revision
>                   - destination_canonical_service
>                   - destination_cluster
>                   - destination_port
>                   - destination_principal
>                   - destination_service
>                   - destination_service_name
>                   - destination_service_namespace
>                   - destination_version
>                   - destination_workload_namespace
>                   - request_host
>                   - request_protocol
>                   - response_code
>                   - response_code_details
>                   - source_app
>                   - source_canonical_revision
>                   - source_canonical_service
>                   - source_cluster
>                   - source_principal
>                   - source_version
>                   - source_workload_namespace
> 
218,219d340
<                   destination_port: string(destination.port)
<                   request_host: request.host
227a349
>                   - destination_port
228a351
>                   - destination_service
233a357
>                   - request_host
244,246d367
<                 dimensions:
<                   destination_port: string(destination.port)
<                   response_code: string(response.code)
247a369
>                   - connection_security_policy
252a375
>                   - destination_port
253a377
>                   - destination_service
258a383
>                   - request_host
259a385,387
>                   - response_code
>                   - response_code_details
>                   - response_flags
267a396,450
>               - name: response_bytes
>                 tags_to_remove:
>                   - connection_security_policy
>                   - container_spec_name
>                   - destination_app
>                   - destination_canonical_revision
>                   - destination_canonical_service
>                   - destination_cluster
>                   - destination_port
>                   - destination_principal
>                   - destination_service
>                   - destination_service_name
>                   - destination_service_namespace
>                   - destination_version
>                   - destination_workload_namespace
>                   - grpc_response_status
>                   - request_host
>                   - request_protocol
>                   - response_code
>                   - response_code_details
>                   - response_flags
>                   - source_app
>                   - source_canonical_revision
>                   - source_canonical_service
>                   - source_cluster
>                   - source_principal
>                   - source_version
>                   - source_workload_namespace
> 
>               - name: response_messages_total
>                 tags_to_remove:
>                   - container_spec_name
>                   - destination_app
>                   - destination_canonical_revision
>                   - destination_canonical_service
>                   - destination_cluster
>                   - destination_port
>                   - destination_principal
>                   - destination_service
>                   - destination_service_name
>                   - destination_service_namespace
>                   - destination_version
>                   - destination_workload_namespace
>                   - request_host
>                   - request_protocol
>                   - response_code
>                   - response_code_details
>                   - source_app
>                   - source_canonical_revision
>                   - source_canonical_service
>                   - source_cluster
>                   - source_principal
>                   - source_version
>                   - source_workload_namespace
> 
269,270d451
<                 dimensions:
<                   destination_port: string(destination.port)
276a458
>                   - destination_port
277a460
>                   - destination_service
282a466
>                   - request_host
293,294d476
<                 dimensions:
<                   destination_port: string(destination.port)
300a483
>                   - destination_port
301a485
>                   - destination_service
306a491
>                   - request_host
317,318d501
<                 dimensions:
<                   destination_port: string(destination.port)
324a508
>                   - destination_port
325a510
>                   - destination_service
330a516
>                   - request_host
341,342d526
<                 dimensions:
<                   destination_port: string(destination.port)
348a533
>                   - destination_port
349a535
>                   - destination_service
354a541
>                   - request_host
364a552
>             disable_host_header_fallback: true
367,371d554
<                 dimensions:
<                   destination_port: string(destination.port)
<                   request_host: request.host
<                   response_code: string(response.code)
<                   response_code_details: response.code_details
372a556
>                   - connection_security_policy
377a562
>                   - destination_port
378a564
>                   - destination_service
383a570
>                   - request_host
384a572,574
>                   - response_code
>                   - response_code_details
>                   - response_flags
391a582,608
> 
>               - name: request_messages_total
>                 tags_to_remove:
>                   - container_spec_name
>                   - destination_app
>                   - destination_canonical_revision
>                   - destination_canonical_service
>                   - destination_cluster
>                   - destination_port
>                   - destination_principal
>                   - destination_service
>                   - destination_service_name
>                   - destination_service_namespace
>                   - destination_version
>                   - destination_workload_namespace
>                   - request_host
>                   - request_protocol
>                   - response_code
>                   - response_code_details
>                   - source_app
>                   - source_canonical_revision
>                   - source_canonical_service
>                   - source_cluster
>                   - source_principal
>                   - source_version
>                   - source_workload_namespace
> 
394,395d610
<                   destination_port: string(destination.port)
<                   request_host: request.host
403a619
>                   - destination_port
404a621
>                   - destination_service
409a627
>                   - request_host
420,422d637
<                 dimensions:
<                   destination_port: string(destination.port)
<                   response_code: string(response.code)
423a639
>                   - connection_security_policy
428a645
>                   - destination_port
429a647
>                   - destination_service
434a653
>                   - request_host
435a655,657
>                   - response_code
>                   - response_code_details
>                   - response_flags
443a666,720
>               - name: response_bytes
>                 tags_to_remove:
>                   - connection_security_policy
>                   - container_spec_name
>                   - destination_app
>                   - destination_canonical_revision
>                   - destination_canonical_service
>                   - destination_cluster
>                   - destination_port
>                   - destination_principal
>                   - destination_service
>                   - destination_service_name
>                   - destination_service_namespace
>                   - destination_version
>                   - destination_workload_namespace
>                   - grpc_response_status
>                   - request_host
>                   - request_protocol
>                   - response_code
>                   - response_code_details
>                   - response_flags
>                   - source_app
>                   - source_canonical_revision
>                   - source_canonical_service
>                   - source_cluster
>                   - source_principal
>                   - source_version
>                   - source_workload_namespace
> 
>               - name: response_messages_total
>                 tags_to_remove:
>                   - container_spec_name
>                   - destination_app
>                   - destination_canonical_revision
>                   - destination_canonical_service
>                   - destination_cluster
>                   - destination_port
>                   - destination_principal
>                   - destination_service
>                   - destination_service_name
>                   - destination_service_namespace
>                   - destination_version
>                   - destination_workload_namespace
>                   - request_host
>                   - request_protocol
>                   - response_code
>                   - response_code_details
>                   - source_app
>                   - source_canonical_revision
>                   - source_canonical_service
>                   - source_cluster
>                   - source_principal
>                   - source_version
>                   - source_workload_namespace
> 
445,446d721
<                 dimensions:
<                   destination_port: string(destination.port)
452a728
>                   - destination_port
453a730
>                   - destination_service
458a736
>                   - request_host
469,470d746
<                 dimensions:
<                   destination_port: string(destination.port)
476a753
>                   - destination_port
477a755
>                   - destination_service
482a761
>                   - request_host
493,494d771
<                 dimensions:
<                   destination_port: string(destination.port)
500a778
>                   - destination_port
501a780
>                   - destination_service
506a786
>                   - request_host
517,518d796
<                 dimensions:
<                   destination_port: string(destination.port)
524a803
>                   - destination_port
525a805
>                   - destination_service
530a811
>                   - request_host
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment