Navigation
API > API/Runtime > API/Runtime/Analytics
Inheritance Hierarchy
- FNoncopyable
- IAnalyticsSpan
- FAnalyticsSpan
References
| Module | Analytics |
| Header | /Engine/Source/Runtime/Analytics/Analytics/Public/AnalyticsTracer.h |
| Include | #include "AnalyticsTracer.h" |
Syntax
class FAnalyticsSpan : public IAnalyticsSpan
Remarks
Implementation of an IAnalyticsSpan interface
Constructors
| Type | Name | Description | |
|---|---|---|---|
FAnalyticsSpan
(
FName SpanName |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Overridden from IAnalyticsSpan
| Type | Name | Description | |
|---|---|---|---|
| void | AddAttributes
(
const TArray< FAnalyticsEventAttribute >& AdditionalAttributes |
Append attributes to this span context | |
| void | End
(
const TArray< FAnalyticsEventAttribute >& AdditionalAttributes |
End this span | |
| const TArray< FAnalyticsEventAttribute > & | Get context attributes for the span | ||
| double | GetDuration () |
Get the span duration in seconds | |
| FGuid | GetId () |
Get unique Id? | |
| bool | GetIsActive () |
Is the span active? | |
| const FName & | GetName () |
Get the internal name for the span | |
| uint32 | Get the scope depth for the span | ||
| void | RecordEvent
(
const FString& EventName, |
Record an event from this span, appends the attributes for the span context | |
| void | SetProvider
(
TSharedPtr< IAnalyticsProvider > AnalyticsProvider |
Public IAnalyticsSpan implementation. | |
| void | SetStackDepth
(
uint32 Depth |
Set the scope depth for the span | |
| void | Start
(
const TArray< FAnalyticsEventAttribute >& AdditionalAttributes |
Start this span |