otcextensions.sdk.cts.v1.trace

The CTS Trace Class

The Trace class inherits from Resource.

class otcextensions.sdk.cts.v1.trace.Trace(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized (bool) – This is not intended to be used directly. See new() and existing().

  • connection (openstack.connection.Connection) – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

base_path: str = '/%(tracker_name)s/trace'

The base part of the URI for this resource.

resources_key: ty.Optional[str] = 'traces'

Plural form of key for resource.

allow_list = True

Allow list operation for this resource.

api_version

API version

code

trace http return code

id

Trace ID

level

rating of the trace, normal, warning, incident

message

remark of the trace

meta_data

metadata of the trace Type: dict

name: ty.Union[Body, URI]

name of the trace

record_time

record time stampt

request

trace request content

resource_id

trace resource id

resource_name

resource name of the trace

resource_type

trace resource type

response

trace response content

service_type

trace service type

source_ip

user ip of the trace

time

Type: int

type

trace source type

user

trace user information