in src/LibraryTest/Common.cs [75:131]
public static InstanceMsg GetStandardInstanceMsg()
{
return new InstanceMsg()
{
SpanTags =
{
{"context.reporter.uid", new Value() {StringValue = "kubernetes://destination-deployment-1"}},
{"context.reporter.kind", new Value() {StringValue = "inbound"}},
{"context.protocol", new Value() {StringValue = "http"}},
{"connection.event", new Value() {StringValue = ""}},
{"source.uid", new Value() {StringValue = "kubernetes://source-deployment-1"}},
{"source.name", new Value() {StringValue = "source-deployment-1"}},
{"source.workload.name", new Value() {StringValue = "source-deployment"}},
{"source.workload.namespace", new Value() {StringValue = "default"}},
{"source.labels.appinsights.monitoring.enabled", new Value() {StringValue = ""}},
{"source.labels.istio.isingressgateway", new Value() {BoolValue = false}},
{"source.role.name", new Value() {StringValue = "source"}},
{"source.role.instance", new Value() {StringValue = "source-1"}},
{"source.ip", new Value() {IpAddressValue= new IPAddress()}},
{"destination.uid", new Value() {StringValue = "kubernetes://destination-deployment-1"}},
{"destination.name", new Value() {StringValue = "destination-deployment-1"}},
{"destination.workload.name", new Value() {StringValue = "destination-deploymen"}},
{"destination.workload.namespace", new Value() {StringValue = "default"}},
{"destination.labels.appinsights.monitoring.enabled", new Value() {StringValue = ""}},
{"destination.role.name", new Value() {StringValue = "destination"}},
{"destination.role.instance", new Value() {StringValue = "destination-1"}},
{"destination.port", new Value() {StringValue = "80"}},
{"destination.ip", new Value() {IpAddressValue= new IPAddress()}},
{"destination.service.uid", new Value() {StringValue = "kubernetes://default/services/some-service"}},
{"destination.service.host", new Value() {StringValue = "some-service.default.svc.cluster.local"}},
{"destination.service.name", new Value() {StringValue = "some-service"}},
{"destination.service.namespace", new Value() {StringValue = "default"}},
{"http.useragent", new Value() {StringValue = "Mozilla"}},
{"http.status_code", new Value() {StringValue = "203"}},
{"http.path", new Value() {StringValue = "/some/path"}},
{"http.method", new Value() {StringValue = "GET"}},
{"host", new Value() {StringValue = "destination-1:80"}},
{"request.headers.request.id", new Value() {StringValue = "request-id-1"}},
{"request.scheme", new Value() {StringValue = "http"}},
{"request.path", new Value() {StringValue = "/some/path"}},
{"request.size", new Value() {Int64Value= 0}},
{"request.headers.synthetictest.runid", new Value() {StringValue = ""}},
{"request.headers.synthetictest.location", new Value() {StringValue = ""}},
{"request.headers.request.context", new Value() {StringValue = ""}},
{"response.headers.request.context", new Value() {StringValue = ""}},
{"response.size", new Value() {Int64Value= 0}},
}
};
}