Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 1.33 KB

File metadata and controls

36 lines (27 loc) · 1.33 KB

Trace

  1. service: The service from where trace started. 2. endpoint: Endpoint of the service.

Properties

Name Type Description Notes
duration int Total time taken for a trace to finish. [optional]
endpoint Endpoint [optional]
erroneous bool Flag which tells whether the trace is erroneous or not [optional]
id str The trace ID. All spans of the same trace must have the same trace ID. For example, `e93282c0d5018320`.
label str Name of the trace.
service Service [optional]
start_time int The start time of the trace. [optional]

Example

from instana_client.models.trace import Trace

# TODO update the JSON string below
json = "{}"
# create an instance of Trace from a JSON string
trace_instance = Trace.from_json(json)
# print the JSON string representation of the object
print(Trace.to_json())

# convert the object into a dict
trace_dict = trace_instance.to_dict()
# create an instance of Trace from a dict
trace_from_dict = Trace.from_dict(trace_dict)

[Back to Model list] [Back to API list] [Back to README]