Skip to content

Latest commit

 

History

History
193 lines (98 loc) · 2.86 KB

File metadata and controls

193 lines (98 loc) · 2.86 KB
layout default

LoggerRestResource class

REST Resource class for external integrations to interact with Nebula Logger


Properties

bodyString

endpointRequestEndpointRequest

errorsList<EndpointError>

headerKeysList<String>

httpMethodString

isSuccessBoolean

messageString

nameString

parametersMap<String, String>

particleString

statusCodeInteger

typeString

uriString


Methods

EndpointError(System.Exception apexException)public

EndpointError(String message)public

EndpointError(String message, String type)public

EndpointRequest(System.RestRequest restRequest)public

addError(System.Exception apexException)EndpointResponse

addError(EndpointError endpointError)EndpointResponse

handlePost()void

Processes any HTTP POST requests sent

handlePost(EndpointRequest endpointRequest)EndpointResponse

handlePost(EndpointRequest endpointRequest)EndpointResponse

handlePost(EndpointRequest endpointRequest)EndpointResponse

setStatusCode(Integer statusCode)EndpointResponse


Inner Classes

LoggerRestResource.OTelAttribute class


Constructors
OTelAttribute(String key, String value)

Properties
keyString
valueOTelAttributeValue

LoggerRestResource.OTelAttributeValue class


Constructors
OTelAttributeValue(String value)

Properties
stringValueString

LoggerRestResource.OTelLogRecord class


Properties
attributesList<OTelAttribute>
bodyOTelAttributeValue
severityTextString
timeUnixNanoString

Methods
getLogEntryEvent()LogEntryEvent__e

LoggerRestResource.OTelLogsPayload class


Properties
resourceLogsList<OTelResourceLog>

Methods
getConvertedLogEntryEvents()List<LogEntryEvent__e>

LoggerRestResource.OTelResource class


Properties
attributesList<OTelAttribute>

LoggerRestResource.OTelResourceLog class


Properties
resourceOTelResource
scopeLogsList<OTelScopeLog>

Methods
getLogEntryEvents()List<LogEntryEvent__e>

LoggerRestResource.OTelScope class


Properties
nameString
versionString

LoggerRestResource.OTelScopeLog class


Properties
logRecordsList<OTelLogRecord>
scopeOTelScope