AzureTracesQuery🔗
Application Insights Traces sub-query properties
Definition🔗
type AzureTracesQuery struct {
// Specifies the format results should be returned as.
ResultFormat *azuremonitor.ResultFormat `json:"resultFormat,omitempty"`
// Array of resource URIs to be queried.
Resources []string `json:"resources,omitempty"`
// Operation ID. Used only for Traces queries.
OperationId *string `json:"operationId,omitempty"`
// Types of events to filter by.
TraceTypes []string `json:"traceTypes,omitempty"`
// Filters for property values.
Filters []azuremonitor.AzureTracesFilter `json:"filters,omitempty"`
// KQL query to be executed.
Query *string `json:"query,omitempty"`
}
Methods🔗
UnmarshalJSONStrict🔗
UnmarshalJSONStrict implements a custom JSON unmarshalling logic to decode AzureTracesQuery
from JSON.
Note: the unmarshalling done by this function is strict. It will fail over required fields being absent from the input, fields having an incorrect type, unexpected fields being present, …
Equals🔗
Equals tests the equality of two AzureTracesQuery
objects.
Validate🔗
Validate checks all the validation constraints that may be defined on AzureTracesQuery
fields for violations and returns them.