Show / Hide Table of Contents

Class SpanFilters

First version of span filtering that is supported by the Trace component.

Inheritance
object
SpanFilters
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Monitoring.v1.Data
Assembly: Google.Apis.Monitoring.v1.dll
Syntax
public class SpanFilters : IDirectResponseSchema

Properties

ApphubServices

Optional. Filtering for spans containing one of the Apphub service IDs in the list. Multiple values will be OR'd together. Example: "service-id1", "service-id2"

Declaration
[JsonProperty("apphubServices")]
public virtual IList<string> ApphubServices { get; set; }
Property Value
Type Description
IList<string>

ApphubWorkloads

Optional. Filtering for spans containing one of the Apphub workload IDs in the list. Multiple values will be OR'd together. Example: "workload-id1", "workload-id2"

Declaration
[JsonProperty("apphubWorkloads")]
public virtual IList<string> ApphubWorkloads { get; set; }
Property Value
Type Description
IList<string>

ApplicationIds

Optional. Filtering for spans containing one of the Apphub Application IDs in the list. Multiple values will be OR'd together.

Declaration
[JsonProperty("applicationIds")]
public virtual IList<string> ApplicationIds { get; set; }
Property Value
Type Description
IList<string>

Attributes

Optional. List of span attribute filters. Each SpanAttributeFilter key must be unique. Multiple attribute filters will be AND'd together.

Declaration
[JsonProperty("attributes")]
public virtual IList<SpanAttributeFilter> Attributes { get; set; }
Property Value
Type Description
IList<SpanAttributeFilter>

DisplayNames

Optional. Filtering for spans containing one of the span display names in the list. Multiple values will be OR'd together.

Declaration
[JsonProperty("displayNames")]
public virtual IList<string> DisplayNames { get; set; }
Property Value
Type Description
IList<string>

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

IsRootSpan

Optional. Filters for root spans only if set to true. A root span is a span without a defined parent span ID.

Declaration
[JsonProperty("isRootSpan")]
public virtual bool? IsRootSpan { get; set; }
Property Value
Type Description
bool?

Kinds

Optional. Filtering for spans containing one of the kinds in the list. Multiple values will be OR'd together.

Declaration
[JsonProperty("kinds")]
public virtual IList<string> Kinds { get; set; }
Property Value
Type Description
IList<string>

MaxDuration

Optional. Filtering for spans with a maximum duration.

Declaration
[JsonProperty("maxDuration")]
public virtual object MaxDuration { get; set; }
Property Value
Type Description
object

MinDuration

Optional. Filtering for spans with a minimum duration.

Declaration
[JsonProperty("minDuration")]
public virtual object MinDuration { get; set; }
Property Value
Type Description
object

Services

Optional. Filtering for spans containing one of the services in the list. Multiple values will be OR'd together.

Declaration
[JsonProperty("services")]
public virtual IList<string> Services { get; set; }
Property Value
Type Description
IList<string>

Status

Optional. Filtering for spans containing one of the statuses in the list. Multiple values will be OR'd together.

Declaration
[JsonProperty("status")]
public virtual IList<string> Status { get; set; }
Property Value
Type Description
IList<string>

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX