Package com.datadog.api.client.v1.model
Class FormulaAndFunctionApmMetricsQueryDefinition
java.lang.Object
com.datadog.api.client.v1.model.FormulaAndFunctionApmMetricsQueryDefinition
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class FormulaAndFunctionApmMetricsQueryDefinition
extends Object
A formula and functions APM metrics query.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFormulaAndFunctionApmMetricsQueryDefinition(FormulaAndFunctionApmMetricsDataSource dataSource, String name, FormulaAndFunctionApmMetricStatName stat) -
Method Summary
Modifier and TypeMethodDescriptionaddGroupByItem(String groupByItem) addPeerTagsItem(String peerTagsItem) dataSource(FormulaAndFunctionApmMetricsDataSource dataSource) booleanReturn true if this FormulaAndFunctionApmMetricsQueryDefinition object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Data source for APM metrics queries.Optional fields to group the query results by.getName()Name of this query to use in formulas.Optional operation mode to aggregate across operation names.Name of operation on service.Tags to query for a specific downstream entity (peer.service, peer.db_instance, peer.s3, peer.s3.bucket, etc.).Additional filters for the query using metrics query syntax (e.g., env, primary_tag).The hash of a specific resource to filter by.The full name of a specific resource to filter by.APM service name.Describes the relationship between the span, its parents, and its children in a trace.getStat()APM metric stat name.inthashCode()operationMode(String operationMode) operationName(String operationName) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.queryFilter(String queryFilter) resourceHash(String resourceHash) resourceName(String resourceName) voidsetDataSource(FormulaAndFunctionApmMetricsDataSource dataSource) voidsetGroupBy(List<String> groupBy) voidvoidsetOperationMode(String operationMode) voidsetOperationName(String operationName) voidsetPeerTags(List<String> peerTags) voidsetQueryFilter(String queryFilter) voidsetResourceHash(String resourceHash) voidsetResourceName(String resourceName) voidsetService(String service) voidvoidspanKind(FormulaAndFunctionApmMetricsSpanKind spanKind) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_DATA_SOURCE
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPERATION_MODE
- See Also:
-
JSON_PROPERTY_OPERATION_NAME
- See Also:
-
JSON_PROPERTY_PEER_TAGS
- See Also:
-
JSON_PROPERTY_QUERY_FILTER
- See Also:
-
JSON_PROPERTY_RESOURCE_HASH
- See Also:
-
JSON_PROPERTY_RESOURCE_NAME
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_SPAN_KIND
- See Also:
-
JSON_PROPERTY_STAT
- See Also:
-
-
Constructor Details
-
FormulaAndFunctionApmMetricsQueryDefinition
public FormulaAndFunctionApmMetricsQueryDefinition() -
FormulaAndFunctionApmMetricsQueryDefinition
public FormulaAndFunctionApmMetricsQueryDefinition(FormulaAndFunctionApmMetricsDataSource dataSource, String name, FormulaAndFunctionApmMetricStatName stat)
-
-
Method Details
-
dataSource
public FormulaAndFunctionApmMetricsQueryDefinition dataSource(FormulaAndFunctionApmMetricsDataSource dataSource) -
getDataSource
Data source for APM metrics queries.- Returns:
- dataSource
-
setDataSource
-
groupBy
-
addGroupByItem
-
getGroupBy
Optional fields to group the query results by.- Returns:
- groupBy
-
setGroupBy
-
name
-
getName
Name of this query to use in formulas.- Returns:
- name
-
setName
-
operationMode
-
getOperationMode
Optional operation mode to aggregate across operation names.- Returns:
- operationMode
-
setOperationMode
-
operationName
-
getOperationName
Name of operation on service. If not provided, the primary operation name is used.- Returns:
- operationName
-
setOperationName
-
peerTags
-
addPeerTagsItem
-
getPeerTags
Tags to query for a specific downstream entity (peer.service, peer.db_instance, peer.s3, peer.s3.bucket, etc.).- Returns:
- peerTags
-
setPeerTags
-
queryFilter
-
getQueryFilter
Additional filters for the query using metrics query syntax (e.g., env, primary_tag).- Returns:
- queryFilter
-
setQueryFilter
-
resourceHash
-
getResourceHash
The hash of a specific resource to filter by.- Returns:
- resourceHash
-
setResourceHash
-
resourceName
-
getResourceName
The full name of a specific resource to filter by.- Returns:
- resourceName
-
setResourceName
-
service
-
getService
APM service name.- Returns:
- service
-
setService
-
spanKind
public FormulaAndFunctionApmMetricsQueryDefinition spanKind(FormulaAndFunctionApmMetricsSpanKind spanKind) -
getSpanKind
Describes the relationship between the span, its parents, and its children in a trace.- Returns:
- spanKind
-
setSpanKind
-
stat
-
getStat
APM metric stat name.- Returns:
- stat
-
setStat
-
putAdditionalProperty
Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.- Parameters:
key- The arbitrary key to setvalue- The associated value- Returns:
- FormulaAndFunctionApmMetricsQueryDefinition
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- The arbitrary key to get- Returns:
- The specific additional property for the given key
-
equals
Return true if this FormulaAndFunctionApmMetricsQueryDefinition object is equal to o. -
hashCode
public int hashCode() -
toString
-