@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class SpansAttributes extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ATTRIBUTES |
static String |
JSON_PROPERTY_CUSTOM |
static String |
JSON_PROPERTY_END_TIMESTAMP |
static String |
JSON_PROPERTY_ENV |
static String |
JSON_PROPERTY_HOST |
static String |
JSON_PROPERTY_INGESTION_REASON |
static String |
JSON_PROPERTY_PARENT_ID |
static String |
JSON_PROPERTY_RESOURCE_HASH |
static String |
JSON_PROPERTY_RESOURCE_NAME |
static String |
JSON_PROPERTY_RETAINED_BY |
static String |
JSON_PROPERTY_SERVICE |
static String |
JSON_PROPERTY_SINGLE_SPAN |
static String |
JSON_PROPERTY_SPAN_ID |
static String |
JSON_PROPERTY_START_TIMESTAMP |
static String |
JSON_PROPERTY_TAGS |
static String |
JSON_PROPERTY_TRACE_ID |
static String |
JSON_PROPERTY_TYPE |
boolean |
unparsed |
| Constructor and Description |
|---|
SpansAttributes() |
| Modifier and Type | Method and Description |
|---|---|
SpansAttributes |
addTagsItem(String tagsItem) |
SpansAttributes |
attributes(Map<String,Object> attributes) |
SpansAttributes |
custom(Map<String,Object> custom) |
SpansAttributes |
endTimestamp(OffsetDateTime endTimestamp) |
SpansAttributes |
env(String env) |
boolean |
equals(Object o)
Return true if this SpansAttributes object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
Map<String,Object> |
getAttributes()
JSON object of attributes from your span.
|
Map<String,Object> |
getCustom()
JSON object of custom spans data.
|
OffsetDateTime |
getEndTimestamp()
End timestamp of your span.
|
String |
getEnv()
Name of the environment from where the spans are being sent.
|
String |
getHost()
Name of the machine from where the spans are being sent.
|
String |
getIngestionReason()
The reason why the span was ingested.
|
String |
getParentId()
Id of the span that's parent of this span.
|
String |
getResourceHash()
Unique identifier of the resource.
|
String |
getResourceName()
The name of the resource.
|
String |
getRetainedBy()
The reason why the span was indexed.
|
String |
getService()
The name of the application or service generating the span events.
|
Boolean |
getSingleSpan()
Whether or not the span was collected as a stand-alone span.
|
String |
getSpanId()
Id of the span.
|
OffsetDateTime |
getStartTimestamp()
Start timestamp of your span.
|
List<String> |
getTags()
Array of tags associated with your span.
|
String |
getTraceId()
Id of the trace to which the span belongs.
|
String |
getType()
The type of the span.
|
int |
hashCode() |
SpansAttributes |
host(String host) |
SpansAttributes |
ingestionReason(String ingestionReason) |
SpansAttributes |
parentId(String parentId) |
SpansAttributes |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
SpansAttributes |
putAttributesItem(String key,
Object attributesItem) |
SpansAttributes |
putCustomItem(String key,
Object customItem) |
SpansAttributes |
resourceHash(String resourceHash) |
SpansAttributes |
resourceName(String resourceName) |
SpansAttributes |
retainedBy(String retainedBy) |
SpansAttributes |
service(String service) |
void |
setAttributes(Map<String,Object> attributes) |
void |
setCustom(Map<String,Object> custom) |
void |
setEndTimestamp(OffsetDateTime endTimestamp) |
void |
setEnv(String env) |
void |
setHost(String host) |
void |
setIngestionReason(String ingestionReason) |
void |
setParentId(String parentId) |
void |
setResourceHash(String resourceHash) |
void |
setResourceName(String resourceName) |
void |
setRetainedBy(String retainedBy) |
void |
setService(String service) |
void |
setSingleSpan(Boolean singleSpan) |
void |
setSpanId(String spanId) |
void |
setStartTimestamp(OffsetDateTime startTimestamp) |
void |
setTags(List<String> tags) |
void |
setTraceId(String traceId) |
void |
setType(String type) |
SpansAttributes |
singleSpan(Boolean singleSpan) |
SpansAttributes |
spanId(String spanId) |
SpansAttributes |
startTimestamp(OffsetDateTime startTimestamp) |
SpansAttributes |
tags(List<String> tags) |
String |
toString() |
SpansAttributes |
traceId(String traceId) |
SpansAttributes |
type(String type) |
public boolean unparsed
public static final String JSON_PROPERTY_ATTRIBUTES
public static final String JSON_PROPERTY_CUSTOM
public static final String JSON_PROPERTY_END_TIMESTAMP
public static final String JSON_PROPERTY_ENV
public static final String JSON_PROPERTY_HOST
public static final String JSON_PROPERTY_INGESTION_REASON
public static final String JSON_PROPERTY_PARENT_ID
public static final String JSON_PROPERTY_RESOURCE_HASH
public static final String JSON_PROPERTY_RESOURCE_NAME
public static final String JSON_PROPERTY_RETAINED_BY
public static final String JSON_PROPERTY_SERVICE
public static final String JSON_PROPERTY_SINGLE_SPAN
public static final String JSON_PROPERTY_SPAN_ID
public static final String JSON_PROPERTY_START_TIMESTAMP
public static final String JSON_PROPERTY_TAGS
public static final String JSON_PROPERTY_TRACE_ID
public static final String JSON_PROPERTY_TYPE
public SpansAttributes attributes(Map<String,Object> attributes)
public SpansAttributes putAttributesItem(String key, Object attributesItem)
@Nullable public Map<String,Object> getAttributes()
public SpansAttributes custom(Map<String,Object> custom)
public SpansAttributes putCustomItem(String key, Object customItem)
@Nullable public Map<String,Object> getCustom()
public SpansAttributes endTimestamp(OffsetDateTime endTimestamp)
@Nullable public OffsetDateTime getEndTimestamp()
public void setEndTimestamp(OffsetDateTime endTimestamp)
public SpansAttributes env(String env)
@Nullable public String getEnv()
public void setEnv(String env)
public SpansAttributes host(String host)
@Nullable public String getHost()
public void setHost(String host)
public SpansAttributes ingestionReason(String ingestionReason)
@Nullable public String getIngestionReason()
public void setIngestionReason(String ingestionReason)
public SpansAttributes parentId(String parentId)
@Nullable public String getParentId()
public void setParentId(String parentId)
public SpansAttributes resourceHash(String resourceHash)
@Nullable public String getResourceHash()
public void setResourceHash(String resourceHash)
public SpansAttributes resourceName(String resourceName)
@Nullable public String getResourceName()
public void setResourceName(String resourceName)
public SpansAttributes retainedBy(String retainedBy)
@Nullable public String getRetainedBy()
public void setRetainedBy(String retainedBy)
public SpansAttributes service(String service)
@Nullable public String getService()
public void setService(String service)
public SpansAttributes singleSpan(Boolean singleSpan)
@Nullable public Boolean getSingleSpan()
public void setSingleSpan(Boolean singleSpan)
public SpansAttributes spanId(String spanId)
@Nullable public String getSpanId()
public void setSpanId(String spanId)
public SpansAttributes startTimestamp(OffsetDateTime startTimestamp)
@Nullable public OffsetDateTime getStartTimestamp()
public void setStartTimestamp(OffsetDateTime startTimestamp)
public SpansAttributes tags(List<String> tags)
public SpansAttributes addTagsItem(String tagsItem)
@Nullable public List<String> getTags()
public SpansAttributes traceId(String traceId)
@Nullable public String getTraceId()
public void setTraceId(String traceId)
public SpansAttributes type(String type)
@Nullable public String getType()
public void setType(String type)
public SpansAttributes putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2024. All rights reserved.