Skip to content

Instantly share code, notes, and snippets.

@owais
Last active December 11, 2023 20:21
Show Gist options
  • Save owais/e6ce672501ba64c68ddd69e4a83eeee1 to your computer and use it in GitHub Desktop.
Save owais/e6ce672501ba64c68ddd69e4a83eeee1 to your computer and use it in GitHub Desktop.
istio telemetry memory leak
istiod:
telemetry:
enabled: true
v2:
enabled: true
metadataExchange:
wasmEnabled: false
prometheus:
enabled: true
wasmEnabled: false
configOverride:
gateway:
metrics:
- name: request_duration_milliseconds
dimensions:
destination_port: string(destination.port)
request_host: request.host
response_code: string(response.code)
response_code_details: response.code_details
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: requests_total
dimensions:
destination_port: string(destination.port)
request_host: request.host
response_code: string(response.code)
response_code_details: response.code_details
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: request_bytes
dimensions:
destination_port: string(destination.port)
response_code: string(response.code)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: tcp_connections_closed_total
dimensions:
destination_port: string(destination.port)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: tcp_connections_opened_total
dimensions:
destination_port: string(destination.port)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: tcp_received_bytes_total
dimensions:
destination_port: string(destination.port)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: tcp_sent_bytes_total
dimensions:
destination_port: string(destination.port)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
inboundSidecar:
metrics:
- name: request_duration_milliseconds
dimensions:
destination_port: string(destination.port)
request_host: request.host
response_code: string(response.code)
response_code_details: response.code_details
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: requests_total
dimensions:
destination_port: string(destination.port)
request_host: request.host
response_code: string(response.code)
response_code_details: response.code_details
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: request_bytes
dimensions:
destination_port: string(destination.port)
response_code: string(response.code)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: tcp_connections_closed_total
dimensions:
destination_port: string(destination.port)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: tcp_connections_opened_total
dimensions:
destination_port: string(destination.port)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: tcp_received_bytes_total
dimensions:
destination_port: string(destination.port)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: tcp_sent_bytes_total
dimensions:
destination_port: string(destination.port)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
outboundSidecar:
metrics:
- name: request_duration_milliseconds
dimensions:
destination_port: string(destination.port)
request_host: request.host
response_code: string(response.code)
response_code_details: response.code_details
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: requests_total
dimensions:
destination_port: string(destination.port)
request_host: request.host
response_code: string(response.code)
response_code_details: response.code_details
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: request_bytes
dimensions:
destination_port: string(destination.port)
response_code: string(response.code)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: tcp_connections_closed_total
dimensions:
destination_port: string(destination.port)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: tcp_connections_opened_total
dimensions:
destination_port: string(destination.port)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: tcp_received_bytes_total
dimensions:
destination_port: string(destination.port)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
- name: tcp_sent_bytes_total
dimensions:
destination_port: string(destination.port)
tags_to_remove:
- container_spec_name
- destination_app
- destination_canonical_revision
- destination_canonical_service
- destination_cluster
- destination_principal
- destination_service_name
- destination_service_namespace
- destination_version
- destination_workload_namespace
- grpc_response_status
- request_protocol
- source_app
- source_canonical_revision
- source_canonical_service
- source_cluster
- source_principal
- source_version
- source_workload_namespace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment