tracy
Toggle table of contents
JVM Test Fixtures
Target filter
JVM Test Fixtures
Switch theme
Search in API
Skip to content
tracy
test-utils
/
org.jetbrains.ai.tracy.test.utils
/
BaseOpenTelemetryTracingTest
Base
Open
Telemetry
Tracing
Test
@
TestInstance
(
value
=
TestInstance.Lifecycle.PER_CLASS
)
abstract
class
BaseOpenTelemetryTracingTest
(
source
)
Inheritors
BaseAITracingTest
Members
Constructors
Base
Open
Telemetry
Tracing
Test
Link copied to clipboard
constructor
(
)
Functions
analyze
Spans
Link copied to clipboard
protected
fun
analyzeSpans
(
)
:
List
<
SpanData
>
enable
Tracing
Before
Test
Link copied to clipboard
@
BeforeEach
fun
enableTracingBeforeTest
(
)
flush
Traces
And
Assume
Tool
Called
Link copied to clipboard
protected
fun
<
T
>
flushTracesAndAssumeToolCalled
(
response
:
T
,
toolName
:
String
,
containsToolCall
:
(
T
,
String
)
->
Boolean
)
get
Attribute
Link copied to clipboard
protected
fun
SpanData
.
getAttribute
(
spanAttributeKey
:
TracySpanAttributes
)
:
String
?
reset
Exporter
Link copied to clipboard
@
AfterEach
fun
resetExporter
(
)
setup
Telemetry
Link copied to clipboard
@
BeforeAll
fun
setupTelemetry
(
)
shutdown
Telemetry
Link copied to clipboard
@
AfterAll
fun
shutdownTelemetry
(
)