Package com.datadog.api.client.v2.model
Class ApmResourceStatsQuery
java.lang.Object
com.datadog.api.client.v2.model.ApmResourceStatsQuery
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class ApmResourceStatsQuery
extends Object
A query for APM resource statistics such as latency, error rate, and hit count, grouped by
resource name.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionApmResourceStatsQuery(ApmResourceStatsDataSource dataSource, String env, String name, String service, ApmResourceStatName stat) -
Method Summary
Modifier and TypeMethodDescriptionaddCrossOrgUuidsItem(String crossOrgUuidsItem) addGroupByItem(String groupByItem) crossOrgUuids(List<String> crossOrgUuids) dataSource(ApmResourceStatsDataSource dataSource) booleanReturn true if this ApmResourceStatsQuery 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 resource statistics queries.getEnv()The environment to query.Tag keys to group results by.getName()The variable name for use in formulas.The APM operation name.Name of the second primary tag used within APM.Value of the second primary tag by which to filter APM data.The resource name to filter by.The service name to filter by.getStat()The APM resource statistic to query.inthashCode()operationName(String operationName) primaryTagName(String primaryTagName) primaryTagValue(String primaryTagValue) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.resourceName(String resourceName) voidsetCrossOrgUuids(List<String> crossOrgUuids) voidsetDataSource(ApmResourceStatsDataSource dataSource) voidvoidsetGroupBy(List<String> groupBy) voidvoidsetOperationName(String operationName) voidsetPrimaryTagName(String primaryTagName) voidsetPrimaryTagValue(String primaryTagValue) voidsetResourceName(String resourceName) voidsetService(String service) voidsetStat(ApmResourceStatName stat) stat(ApmResourceStatName stat) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_CROSS_ORG_UUIDS
- See Also:
-
JSON_PROPERTY_DATA_SOURCE
- See Also:
-
JSON_PROPERTY_ENV
- See Also:
-
JSON_PROPERTY_GROUP_BY
- See Also:
-
JSON_PROPERTY_NAME
- See Also:
-
JSON_PROPERTY_OPERATION_NAME
- See Also:
-
JSON_PROPERTY_PRIMARY_TAG_NAME
- See Also:
-
JSON_PROPERTY_PRIMARY_TAG_VALUE
- See Also:
-
JSON_PROPERTY_RESOURCE_NAME
- See Also:
-
JSON_PROPERTY_SERVICE
- See Also:
-
JSON_PROPERTY_STAT
- See Also:
-
-
Constructor Details
-
ApmResourceStatsQuery
public ApmResourceStatsQuery() -
ApmResourceStatsQuery
public ApmResourceStatsQuery(ApmResourceStatsDataSource dataSource, String env, String name, String service, ApmResourceStatName stat)
-
-
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 resource statistics queries.- Returns:
- dataSource
-
setDataSource
-
env
-
getEnv
The environment to query.- Returns:
- env
-
setEnv
-
groupBy
-
addGroupByItem
-
getGroupBy
Tag keys to group results by.- Returns:
- groupBy
-
setGroupBy
-
name
-
getName
The variable name for use in formulas.- Returns:
- name
-
setName
-
operationName
-
getOperationName
The APM operation name.- Returns:
- operationName
-
setOperationName
-
-
getPrimaryTagName
Name of the second primary tag used within APM. Required whenprimary_tag_valueis specified. See https://docs.datadoghq.com/tracing/guide/setting_primary_tags_to_scope/#add-a-second-primary-tag-in-datadog- Returns:
- primaryTagName
-
setPrimaryTagName
-
primaryTagValue
-
getPrimaryTagValue
Value of the second primary tag by which to filter APM data.primary_tag_namemust also be specified.- Returns:
- primaryTagValue
-
setPrimaryTagValue
-
resourceName
-
getResourceName
The resource name to filter by.- Returns:
- resourceName
-
setResourceName
-
service
-
getService
The service name to filter by.- Returns:
- service
-
setService
-
stat
-
getStat
The APM resource 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:
- ApmResourceStatsQuery
-
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 ApmResourceStatsQuery object is equal to o. -
hashCode
public int hashCode() -
toString
-