mirror of https://github.com/istio/proxy.git
52 lines
1.6 KiB
Cheetah
52 lines
1.6 KiB
Cheetah
metric:
|
|
labels:
|
|
api_name:
|
|
api_version: v12
|
|
destination_canonical_revision: version-1
|
|
destination_canonical_service_name: ratings
|
|
destination_canonical_service_namespace: default
|
|
destination_owner: kubernetes://apis/apps/v1/namespaces/default/deployments/ratings-v1
|
|
destination_port: '{{ .Ports.ServerPort }}'
|
|
{{- if .Vars.DestinationPrincipal }}
|
|
destination_principal: "{{ .Vars.DestinationPrincipal }}"
|
|
{{- else }}
|
|
destination_principal: unknown
|
|
{{- end }}
|
|
destination_service_name: server
|
|
destination_service_namespace: default
|
|
destination_workload_name: ratings-v1
|
|
destination_workload_namespace: default
|
|
mesh_uid: proj-123
|
|
{{- if .Vars.RequestOperation }}
|
|
request_operation: {{ .Vars.RequestOperation }}
|
|
{{- else }}
|
|
request_operation: GET
|
|
{{- end }}
|
|
request_protocol: http
|
|
response_code: "200"
|
|
service_authentication_policy: {{ .Vars.ServiceAuthenticationPolicy }}
|
|
source_canonical_revision: latest
|
|
source_canonical_service_name: unknown
|
|
source_canonical_service_namespace: unknown
|
|
source_owner: unknown
|
|
source_workload_name: unknown
|
|
source_workload_namespace: unknown
|
|
{{- if .Vars.SourcePrincipal }}
|
|
source_principal: "{{ .Vars.SourcePrincipal }}"
|
|
{{- else }}
|
|
source_principal: unknown
|
|
{{- end }}
|
|
type: istio.io/service/server/request_count
|
|
points:
|
|
- value:
|
|
int64Value: "10"
|
|
resource:
|
|
labels:
|
|
cluster_name: test-cluster
|
|
container_name: server
|
|
location: us-east4-b
|
|
namespace_name: default
|
|
pod_name: ratings-v1-84975bc778-pxz2w
|
|
project_id: test-project
|
|
type: k8s_container
|