Class: DatadogAPIClient::V2::SpansQueryFilter

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/spans_query_filter.rb

Overview

The search and filter query settings.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



41
42
43
# File 'lib/datadog_api_client/v2/models/spans_query_filter.rb', line 41

def additional_properties
  @additional_properties
end

#from ⇒ Object

The minimum time for the requested spans, supports date-time ISO8601, date math, and regular timestamps (milliseconds).



25
26
27
# File 'lib/datadog_api_client/v2/models/spans_query_filter.rb', line 25

def from
  @from
end

#query ⇒ Object

The search query, following the span search syntax. Reserved fields (service, env, version, resource_name, operation_name, status, span_id, trace_id, type) take no @ prefix, and neither do tags such as host or primary tags such as datacenter. Span attributes need one, for example @span.kind:server or @http.status_code:500. Wrap values that contain special characters such as :, {, }, (, ), or spaces in double quotes, for example @http.route:"/api/v1/users/{id}" or resource_name:"GET /api/v1/users". Wildcards do not work inside quotes, so to combine a wildcard with special characters, escape each one with \ instead, for example resource_name:Clients\:\:*.



36
37
38
# File 'lib/datadog_api_client/v2/models/spans_query_filter.rb', line 36

def query
  @query
end

#to ⇒ Object

The maximum time for the requested spans, supports date-time ISO8601, date math, and regular timestamps (milliseconds).



39
40
41
# File 'lib/datadog_api_client/v2/models/spans_query_filter.rb', line 39

def to
  @to
end