Package com.datadog.api.client.v2.model
Class ApmMetricsQuery
java.lang.Object
com.datadog.api.client.v2.model.ApmMetricsQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ApmMetricsQuery
extends Object
A query for APM trace metrics such as hits, errors, and latency percentiles, aggregated across
services.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
ConstructorsConstructorDescriptionApmMetricsQuery(ApmMetricsDataSource dataSource, String name, ApmMetricsStat stat) -
Method Summary
Modifier and TypeMethodDescriptionaddCrossOrgUuidsItem(String crossOrgUuidsItem) addGroupByItem(String groupByItem) addPeerTagsItem(String peerTagsItem) crossOrgUuids(List<String> crossOrgUuids) dataSource(ApmMetricsDataSource dataSource) booleanReturn true if this ApmMetricsQuery object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Organization UUIDs to query when using cross-organization visibility.A data source for APM metrics queries.Optional fields to group the query results by.getName()The variable name for 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 (for example, env, primary_tag).The resource hash for exact matching.The full name of a specific resource to filter by.The service name to filter by.Describes the relationship between the span, its parents, and its children in a trace.getStat()The APM metric statistic to query.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) voidsetCrossOrgUuids(List<String> crossOrgUuids) voidsetDataSource(ApmMetricsDataSource 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) voidsetSpanKind(ApmMetricsSpanKind spanKind) voidsetStat(ApmMetricsStat stat) spanKind(ApmMetricsSpanKind spanKind) stat(ApmMetricsStat stat) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CROSS_ORG_UUIDS
- See Also:
-
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
-
ApmMetricsQuery
public ApmMetricsQuery() -
ApmMetricsQuery
-
-
Method Details
-
crossOrgUuids
-
addCrossOrgUuidsItem
-
getCrossOrgUuids
Organization UUIDs to query when using cross-organization visibility. Limited to one organization UUID.- Returns:
- crossOrgUuids
-
setCrossOrgUuids
-
dataSource
-
getDataSource
A 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
The variable name for 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 (for example, env, primary_tag).- Returns:
- queryFilter
-
setQueryFilter
-
resourceHash
-
getResourceHash
The resource hash for exact matching.- Returns:
- resourceHash
-
setResourceHash
-
resourceName
-
getResourceName
The full name of a specific resource to filter by.- Returns:
- resourceName
-
setResourceName
-
service
-
getService
The service name to filter by.- Returns:
- service
-
setService
-
spanKind
-
getSpanKind
Describes the relationship between the span, its parents, and its children in a trace.- Returns:
- spanKind
-
setSpanKind
-
stat
-
getStat
The APM metric statistic to query.- 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:
- ApmMetricsQuery
-
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 ApmMetricsQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-