--- title: edge layout: protoc-gen-docs generator: protoc-gen-docs number_of_entries: 2 ---
The logentry
template represents an individual entry within a log.
The edge
template represents an edge in the mesh graph
When writing the configuration, the value for the fields associated with this template can either be a literal or an expression. Please note that if the datatype of a field is not istio.mixer.adapter.model.v1beta1.Value, then the expression’s inferred type must match the datatype of the field.
Example config:
apiVersion: "config.istio.io/v1alpha2"
kind: edge
metadata:
name: default
namespace: istio-system
spec:
sourceUid: source.uid | "Unknown"
sourceOwner: source.owner | "Unknown"
sourceWorkloadName: source.workload.name | "Unknown"
sourceWorkloadNamespace: source.workload.namespace | "Unknown"
destinationUid: destination.uid | "Unknown"
destinationOwner: destination.owner | "Unknown"
destinationWorkloadName: destination.workload.name | "Unknown"
destinationWorkloadNamespace: destination.workload.namespace | "Unknown"
An instance field of type TimeStamp denotes that the expression for the field must evalaute to ValueType.TIMESTAMP
Objects of type TimeStamp are also passed to the adapters during request-time for the instance fields of type TimeStamp