- AbstractConnection - Class in io.sentry.connection
-
Abstract connection to a Sentry server.
- AbstractConnection(String, String) - Constructor for class io.sentry.connection.AbstractConnection
-
Creates a connection based on the public and secret keys.
- add(Event) - Method in interface io.sentry.buffer.Buffer
-
Buffer the
Event so that it can be flushed to the Sentry server at a later
point in time.
- add(Event) - Method in class io.sentry.buffer.DiskBuffer
-
Store a single event to the add directory.
- add(Throwable, Frame[]) - Static method in class io.sentry.jvmti.FrameCache
-
Store the per-frame local variable information for the last exception thrown on this thread.
- add(E) - Method in class io.sentry.util.CircularFifoQueue
-
Adds the given element to this queue.
- addBuilderHelper(EventBuilderHelper) - Method in class io.sentry.SentryClient
-
Adds a builder helper.
- addEventSendCallback(EventSendCallback) - Method in class io.sentry.connection.AbstractConnection
-
Add a callback that is called when an exception occurs while attempting to
send events to the Sentry server.
- addEventSendCallback(EventSendCallback) - Method in class io.sentry.connection.AsyncConnection
-
- addEventSendCallback(EventSendCallback) - Method in class io.sentry.connection.BufferedConnection
-
- addEventSendCallback(EventSendCallback) - Method in interface io.sentry.connection.Connection
-
Add a callback that is called when an exception occurs while attempting to
send events to the Sentry server.
- addExtraTag(String) - Method in class io.sentry.SentryClient
-
Add an extra to extract and send as tags on all future
Events, where applicable.
- addInterfaceBinding(Class<F>, InterfaceBinding<T>) - Method in class io.sentry.marshaller.json.JsonMarshaller
-
Add an interface binding to send a type of
SentryInterface through a JSON stream.
- addTag(String, String) - Method in class io.sentry.SentryClient
-
Add a tag that will be sent with all future
Events.
- ASYNC_GRACEFUL_SHUTDOWN_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option to disable the graceful shutdown of the async connection.
- ASYNC_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option for whether to send events asynchronously.
- ASYNC_PRIORITY_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option for the priority of threads used for the async connection.
- ASYNC_QUEUE_DISCARDNEW - Static variable in class io.sentry.DefaultSentryClientFactory
-
Async executor overflow behavior that will discard the new event that was attempting
to be sent.
- ASYNC_QUEUE_DISCARDOLD - Static variable in class io.sentry.DefaultSentryClientFactory
-
Async executor overflow behavior that will discard old events in the queue.
- ASYNC_QUEUE_OVERFLOW_DEFAULT - Static variable in class io.sentry.DefaultSentryClientFactory
-
Default behavior to use when the async executor queue is full.
- ASYNC_QUEUE_OVERFLOW_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option for what to do when the async executor queue is full.
- ASYNC_QUEUE_SIZE_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option for the maximum size of the async send queue.
- ASYNC_QUEUE_SYNC - Static variable in class io.sentry.DefaultSentryClientFactory
-
Async executor overflow behavior that will cause a synchronous send to occur on the
current thread.
- ASYNC_SHUTDOWN_TIMEOUT_DEFAULT - Static variable in class io.sentry.DefaultSentryClientFactory
-
- ASYNC_SHUTDOWN_TIMEOUT_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option for the graceful shutdown timeout of the async executor, in milliseconds.
- ASYNC_THREADS_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option for the number of threads used for the async connection.
- AsyncConnection - Class in io.sentry.connection
-
Asynchronous usage of a connection.
- AsyncConnection(Connection, ExecutorService, boolean, long) - Constructor for class io.sentry.connection.AsyncConnection
-
Creates a connection which will rely on an executor to send events.
- capture(Event) - Static method in class io.sentry.Sentry
-
Send an Event using the statically stored
SentryClient instance.
- capture(Throwable) - Static method in class io.sentry.Sentry
-
Sends an exception (or throwable) to the Sentry server using the statically stored
SentryClient instance.
- capture(String) - Static method in class io.sentry.Sentry
-
Sends a message to the Sentry server using the statically stored
SentryClient instance.
- capture(EventBuilder) - Static method in class io.sentry.Sentry
-
Builds and sends an
Event to the Sentry server using the statically stored
SentryClient instance.
- CHECKSUM - Static variable in class io.sentry.marshaller.json.JsonMarshaller
-
Checksum for the event, allowing to group events with a similar checksum.
- CircularFifoQueue<E> - Class in io.sentry.util
-
CircularFifoQueue is a first-in first-out queue with a fixed size that
replaces its oldest element if full.
- CircularFifoQueue() - Constructor for class io.sentry.util.CircularFifoQueue
-
Constructor that creates a queue with the default size of 32.
- CircularFifoQueue(int) - Constructor for class io.sentry.util.CircularFifoQueue
-
Constructor that creates a queue with the specified size.
- CircularFifoQueue(Collection<? extends E>) - Constructor for class io.sentry.util.CircularFifoQueue
-
Constructor that creates a queue from the specified collection.
- clear() - Method in class io.sentry.context.Context
-
Clear state from this context.
- clear() - Method in class io.sentry.util.CircularFifoQueue
-
Clears this queue.
- clearContext() - Static method in class io.sentry.Sentry
-
Clears the current context.
- clearUser() - Method in class io.sentry.context.Context
-
Clears the current user set on this context.
- Clock - Interface in io.sentry.time
-
Clock interface, used to inject a Clock dependency so time can be adjusted in tests.
- close() - Method in class io.sentry.connection.AsyncConnection
-
.
- close() - Method in class io.sentry.connection.BufferedConnection
-
- close() - Method in class io.sentry.connection.HttpConnection
-
- close() - Method in class io.sentry.connection.NoopConnection
-
- close() - Method in class io.sentry.connection.OutputStreamConnection
-
- close() - Method in class io.sentry.jul.SentryHandler
-
- close() - Method in class io.sentry.marshaller.Marshaller.UncloseableOutputStream
-
- close() - Static method in class io.sentry.Sentry
-
Close the stored
SentryClient's connections and remove it from static storage.
- closeConnection() - Method in class io.sentry.SentryClient
-
- COMPRESSION_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option for whether to compress requests sent to the Sentry Server.
- configureSentryClient(SentryClient, Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Configures a
SentryClient instance after it has been constructed.
- Connection - Interface in io.sentry.connection
-
Connection to a Sentry server, allowing to send captured events.
- ConnectionException - Exception in io.sentry.connection
-
Exception thrown by a
Connection if something went wrong temporarily.
- ConnectionException() - Constructor for exception io.sentry.connection.ConnectionException
-
- ConnectionException(String) - Constructor for exception io.sentry.connection.ConnectionException
-
- ConnectionException(String, Throwable) - Constructor for exception io.sentry.connection.ConnectionException
-
- ConnectionException(String, Throwable, Long) - Constructor for exception io.sentry.connection.ConnectionException
-
- ConnectionException(Throwable) - Constructor for exception io.sentry.connection.ConnectionException
-
- Context - Class in io.sentry.context
-
Context is used to hold context data (such as
Breadcrumbs)
so that data may be collected in different parts of an application and
then sent together when an exception occurs.
- Context() - Constructor for class io.sentry.context.Context
-
Create a new (empty) Context object with the default Breadcrumb limit.
- Context(int) - Constructor for class io.sentry.context.Context
-
Create a new (empty) Context object with the specified Breadcrumb limit.
- ContextBuilderHelper - Class in io.sentry.event.helper
-
- ContextBuilderHelper(SentryClient) - Constructor for class io.sentry.event.helper.ContextBuilderHelper
-
- ContextManager - Interface in io.sentry.context
-
Context manager implementations define how context-specific data, such as
Breadcrumbs are coupled to the idea of
a "context." What "context" means depends on the application.
- CONTEXTS - Static variable in class io.sentry.marshaller.json.JsonMarshaller
-
Map of map of contexts for this event.
- createAsyncConnection(Dsn, Connection) - Method in class io.sentry.DefaultSentryClientFactory
-
Encapsulates an already existing connection in an
AsyncConnection and get the async options from the
Sentry DSN.
- createConnection(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Creates a connection to the given DSN by determining the protocol.
- createEventBuilder(LogRecord) - Method in class io.sentry.jul.SentryHandler
-
Builds an EventBuilder based on the log record.
- createHttpConnection(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Creates an HTTP connection to the Sentry server.
- createMarshaller(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Creates a JSON marshaller that will convert every
Event in a format
handled by the Sentry server.
- createSentryClient(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
- createSentryClient(Dsn) - Method in class io.sentry.SentryClientFactory
-
Creates an instance of Sentry given a DSN.
- createStdOutConnection(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Uses stdout to send the logs.
- CULPRIT - Static variable in class io.sentry.marshaller.json.JsonMarshaller
-
Function call which was the primary perpetrator of this event.
- date() - Method in interface io.sentry.time.Clock
-
Returns the Clock's time as a Date object.
- date() - Method in class io.sentry.time.FixedClock
-
- date() - Method in class io.sentry.time.SystemClock
-
- DEFAULT_BASE_LOCKDOWN_TIME - Static variable in class io.sentry.connection.LockdownManager
-
Default base duration for a lockdown.
- DEFAULT_DSN - Static variable in class io.sentry.dsn.Dsn
-
Default DSN to use when auto detection fails.
- DEFAULT_HOSTNAME - Static variable in class io.sentry.event.EventBuilder
-
Default hostname if it isn't set manually (or can't be determined).
- DEFAULT_MAX_LOCKDOWN_TIME - Static variable in class io.sentry.connection.LockdownManager
-
Default maximum duration for a lockdown.
- DEFAULT_MAX_MESSAGE_LENGTH - Static variable in class io.sentry.marshaller.json.JsonMarshaller
-
Default maximum length for a message.
- DEFAULT_MAX_MESSAGE_LENGTH - Static variable in class io.sentry.marshaller.json.MessageInterfaceBinding
-
Default maximum length for a message.
- DEFAULT_PACKAGE_NAME - Static variable in class io.sentry.event.interfaces.SentryException
-
Name used when the class' package is the default one.
- DEFAULT_PLATFORM - Static variable in class io.sentry.event.EventBuilder
-
Default platform if it isn't set manually.
- DefaultSentryClientFactory - Class in io.sentry
-
- DefaultSentryClientFactory() - Constructor for class io.sentry.DefaultSentryClientFactory
-
- DefaultSentryClientFactory.DaemonThreadFactory - Class in io.sentry
-
Thread factory generating daemon threads with a custom priority.
- discard(Event) - Method in interface io.sentry.buffer.Buffer
-
Discard and
Event from the buffer.
- discard(Event) - Method in class io.sentry.buffer.DiskBuffer
-
Deletes a buffered
Event from disk.
- DiskBuffer - Class in io.sentry.buffer
-
Stores
Event objects to a directory on the filesystem and allows
them to be flushed to Sentry (and deleted) at a later time.
- DiskBuffer(File, int) - Constructor for class io.sentry.buffer.DiskBuffer
-
Construct an DiskBuffer which stores errors in the specified directory on disk.
- DIST - Static variable in class io.sentry.marshaller.json.JsonMarshaller
-
Identifies the the distribution of the application.
- dist - Variable in class io.sentry.SentryClient
-
Identifies the distribution of the application.
- DIST_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option to set the distribution of the application.
- doSend(Event) - Method in class io.sentry.connection.AbstractConnection
-
Sends an event to the Sentry server.
- doSend(Event) - Method in class io.sentry.connection.HttpConnection
-
- doSend(Event) - Method in class io.sentry.connection.NoopConnection
-
- doSend(Event) - Method in class io.sentry.connection.OutputStreamConnection
-
- Dsn - Class in io.sentry.dsn
-
Data Source name allowing a direct connection to a Sentry server.
- Dsn(String) - Constructor for class io.sentry.dsn.Dsn
-
Creates a DSN based on a String.
- Dsn(URI) - Constructor for class io.sentry.dsn.Dsn
-
Creates a DSN based on a URI.
- dsnLookup() - Static method in class io.sentry.dsn.Dsn
-
Looks for a DSN configuration within JNDI, the System environment or Java properties.
- element() - Method in class io.sentry.util.CircularFifoQueue
-
- ENVIRONMENT - Static variable in class io.sentry.marshaller.json.JsonMarshaller
-
Identifies the environment the application is running in.
- environment - Variable in class io.sentry.SentryClient
-
Identifies the environment the application is running in.
- ENVIRONMENT_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option to set the environment of the application.
- equals(Object) - Method in class io.sentry.dsn.Dsn
-
- equals(Object) - Method in class io.sentry.event.Event
-
- equals(Object) - Method in class io.sentry.event.interfaces.ExceptionInterface
-
- equals(Object) - Method in class io.sentry.event.interfaces.HttpInterface
-
- equals(Object) - Method in class io.sentry.event.interfaces.MessageInterface
-
- equals(Object) - Method in class io.sentry.event.interfaces.SentryException
-
- equals(Object) - Method in class io.sentry.event.interfaces.SentryStackTraceElement
-
- equals(Object) - Method in class io.sentry.event.interfaces.StackTraceInterface
-
- equals(Object) - Method in class io.sentry.event.interfaces.UserInterface
-
- Event - Class in io.sentry.event
-
Plain Old Java Object describing an event that will be sent to a Sentry server.
- Event.Level - Enum in io.sentry.event
-
Levels of log available in Sentry.
- EVENT_ID - Static variable in class io.sentry.marshaller.json.JsonMarshaller
-
Hexadecimal string representing a uuid4 value.
- EventBuilder - Class in io.sentry.event
-
Builder to assist the creation of
Events.
- EventBuilder() - Constructor for class io.sentry.event.EventBuilder
-
Creates a new EventBuilder to prepare a new
Event.
- EventBuilder(UUID) - Constructor for class io.sentry.event.EventBuilder
-
Creates a new EventBuilder to prepare a new
Event.
- EventBuilderHelper - Interface in io.sentry.event.helper
-
Helper allowing to add extra information to the
EventBuilder before creating the
Event itself.
- EventSampler - Interface in io.sentry.connection
-
Used by
HttpConnection to decide whether a specific event should actually be
send to the server or not.
- EventSendCallback - Interface in io.sentry.connection
-
Callback that is called upon success or failure while attempting to
send events to the Sentry server.
- EXCEPTION_INTERFACE - Static variable in class io.sentry.event.interfaces.ExceptionInterface
-
Name of the exception interface in Sentry.
- ExceptionInterface - Class in io.sentry.event.interfaces
-
The Exception interface for Sentry allowing to add an Exception details to an event.
- ExceptionInterface(Throwable) - Constructor for class io.sentry.event.interfaces.ExceptionInterface
-
Creates a new instance from the given throwable.
- ExceptionInterface(Deque<SentryException>) - Constructor for class io.sentry.event.interfaces.ExceptionInterface
-
Creates a new instance from the given exceptions.
- ExceptionInterfaceBinding - Class in io.sentry.marshaller.json
-
- ExceptionInterfaceBinding(InterfaceBinding<StackTraceInterface>) - Constructor for class io.sentry.marshaller.json.ExceptionInterfaceBinding
-
- EXTRA - Static variable in class io.sentry.marshaller.json.JsonMarshaller
-
An arbitrary mapping of additional metadata to store with the event.
- extractExceptionQueue(Throwable) - Static method in class io.sentry.event.interfaces.SentryException
-
- extraTags - Variable in class io.sentry.SentryClient
-
Extras to extract and use as tags, where applicable.
- EXTRATAGS_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option to set extras to extract and send as tags, where applicable.
- get(Throwable) - Static method in class io.sentry.jvmti.FrameCache
-
Retrieve the per-frame local variable information for the last exception thrown on this thread.
- get(int) - Method in class io.sentry.util.CircularFifoQueue
-
Returns the element at the specified position in this queue.
- getAbsPath() - Method in class io.sentry.event.interfaces.SentryStackTraceElement
-
- getAsyncEnabled(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
- getAsyncGracefulShutdownEnabled(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Whether or not to attempt the graceful shutdown of the
AsyncConnection upon close.
- getAsyncPriority(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Priority of threads used for the async connection.
- getAsyncQueueSize(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Maximum size of the async send queue.
- getAsyncShutdownTimeout(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
The graceful shutdown timeout of the async executor, in milliseconds.
- getAsyncThreads(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
The number of threads used for the async connection.
- getAuthHeader() - Method in class io.sentry.connection.AbstractConnection
-
Creates an authentication header for the Sentry protocol.
- getAuthType() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getBody() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getBreadcrumbs() - Method in class io.sentry.context.Context
-
- getBreadcrumbs() - Method in class io.sentry.event.Event
-
- getBuffer(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Get the
Buffer where events are stored when network is down.
- getBufferedConnectionGracefulShutdownEnabled(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
- getBufferedConnectionShutdownTimeout(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
- getBufferEnabled(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Whether or not buffering is enabled.
- getBufferFlushtime(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
How long to wait between attempts to flush the disk buffer, in milliseconds.
- getBufferSize(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Get the maximum number of events to cache offline when network is down.
- getBuilderHelpers() - Method in class io.sentry.SentryClient
-
- getBypassSecurityEnabled(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Whether to disable security checks over an SSL connection.
- getCategory() - Method in class io.sentry.event.Breadcrumb
-
- getChecksum() - Method in class io.sentry.event.Event
-
- getColno() - Method in class io.sentry.event.interfaces.SentryStackTraceElement
-
- getCompressionEnabled(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Whether to compress requests sent to the Sentry Server.
- getConnection() - Method in class io.sentry.connection.HttpConnection
-
Opens a connection to the Sentry API allowing to send new events.
- getContentEncoding() - Method in class io.sentry.marshaller.json.JsonMarshaller
-
- getContentEncoding() - Method in interface io.sentry.marshaller.Marshaller
-
Returns the HTTP Content-Encoding, if applicable, or null.
- getContentType() - Method in class io.sentry.marshaller.json.JsonMarshaller
-
- getContentType() - Method in interface io.sentry.marshaller.Marshaller
-
Returns the HTTP Content-Type, if applicable, or null.
- getContext() - Method in interface io.sentry.context.ContextManager
-
Returns the proper
Context instance for the given application context.
- getContext() - Method in class io.sentry.context.SingletonContextManager
-
Returns a singleton
Context instance.
- getContext() - Method in class io.sentry.context.ThreadLocalContextManager
-
Returns a unique
Context instance per thread.
- getContext() - Method in class io.sentry.SentryClient
-
- getContextManager(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
- getContexts() - Method in class io.sentry.event.Event
-
- getCookies() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getCulprit() - Method in class io.sentry.event.Event
-
- getData() - Method in class io.sentry.event.Breadcrumb
-
- getDist(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Application distribution to send with
Events that don't already
have a value for the field set.
- getDist() - Method in class io.sentry.event.Event
-
- getDist() - Method in class io.sentry.SentryClient
-
- getEmail() - Method in class io.sentry.event.interfaces.UserInterface
-
- getEmail() - Method in class io.sentry.event.User
-
- getEnvironment(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Application environmentribution to send with
Events that don't already
have a value for the field set.
- getEnvironment() - Method in class io.sentry.event.Event
-
- getEnvironment() - Method in class io.sentry.SentryClient
-
- getEvent() - Method in class io.sentry.event.EventBuilder
-
- getEvents() - Method in interface io.sentry.buffer.Buffer
-
Returns an Iterator of
Events in the buffer.
- getEvents() - Method in class io.sentry.buffer.DiskBuffer
-
Returns an Iterator of Events that are stored on disk at the point in time this method
is called.
- getExceptionClassName() - Method in class io.sentry.event.interfaces.SentryException
-
- getExceptionMessage() - Method in class io.sentry.event.interfaces.SentryException
-
- getExceptionPackageName() - Method in class io.sentry.event.interfaces.SentryException
-
Gets the exception package name.
- getExceptions() - Method in class io.sentry.event.interfaces.ExceptionInterface
-
- getExtra() - Method in class io.sentry.event.Event
-
- getExtraTags(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Extras to extract and send as tags on
Events, where applicable.
- getExtraTags() - Method in class io.sentry.SentryClient
-
- getFileName() - Method in class io.sentry.event.interfaces.SentryStackTraceElement
-
- getFingerprint() - Method in class io.sentry.event.Event
-
- getFormatted() - Method in class io.sentry.event.interfaces.MessageInterface
-
- getFramesCommonWithEnclosing() - Method in class io.sentry.event.interfaces.StackTraceInterface
-
- getFunction() - Method in class io.sentry.event.interfaces.SentryStackTraceElement
-
- getHeaders() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getHideCommonFramesEnabled(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Whether to hide common stackframes with enclosing exceptions.
- getHost() - Method in class io.sentry.dsn.Dsn
-
- getId() - Method in class io.sentry.event.Event
-
- getId() - Method in class io.sentry.event.interfaces.UserInterface
-
- getId() - Method in class io.sentry.event.User
-
- getInAppFrames(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Returns the list of package names to consider "in-app".
- getIntegrations() - Method in class io.sentry.event.Sdk
-
- getInterfaceName() - Method in class io.sentry.event.interfaces.ExceptionInterface
-
- getInterfaceName() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getInterfaceName() - Method in class io.sentry.event.interfaces.MessageInterface
-
- getInterfaceName() - Method in interface io.sentry.event.interfaces.SentryInterface
-
Gets the unique name of the interface.
- getInterfaceName() - Method in class io.sentry.event.interfaces.StackTraceInterface
-
- getInterfaceName() - Method in class io.sentry.event.interfaces.UserInterface
-
- getIpAddress() - Method in class io.sentry.event.interfaces.UserInterface
-
- getIpAddress() - Method in class io.sentry.event.User
-
- getLastEventId() - Method in class io.sentry.context.Context
-
Get the UUID of the last event sent by this thread, useful for handling user feedback.
- getLevel() - Method in class io.sentry.event.Breadcrumb
-
- getLevel() - Method in class io.sentry.event.Event
-
- getLevel(Level) - Static method in class io.sentry.jul.SentryHandler
-
Transforms a
Level into an
Event.Level.
- getLineno() - Method in class io.sentry.event.interfaces.SentryStackTraceElement
-
- getLocalAddr() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getLocalName() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getLocalPort() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getLocals() - Method in class io.sentry.event.interfaces.SentryStackTraceElement
-
- getLocals() - Method in class io.sentry.jvmti.Frame
-
Converts the locals array to a Map of variable-name -> variable-value.
- getLogger() - Method in class io.sentry.event.Event
-
- getMaxMessageLength(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
The maximum length of the message body in the requests to the Sentry Server.
- getMessage() - Method in class io.sentry.event.Breadcrumb
-
- getMessage() - Method in class io.sentry.event.Event
-
- getMessage() - Method in class io.sentry.event.interfaces.MessageInterface
-
- getMethod() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getModule() - Method in class io.sentry.event.interfaces.SentryStackTraceElement
-
- getName() - Method in class io.sentry.event.Sdk
-
- getName() - Method in class io.sentry.jvmti.Frame.LocalVariable
-
- getOptions() - Method in class io.sentry.dsn.Dsn
-
- getParameters() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getParameters() - Method in class io.sentry.event.interfaces.MessageInterface
-
- getPasswordAuthentication() - Method in class io.sentry.connection.ProxyAuthenticator
-
- getPath() - Method in class io.sentry.dsn.Dsn
-
- getPlatform() - Method in class io.sentry.event.Event
-
- getPlatform() - Method in class io.sentry.event.interfaces.SentryStackTraceElement
-
- getPort() - Method in class io.sentry.dsn.Dsn
-
- getProjectId() - Method in class io.sentry.dsn.Dsn
-
- getProtocol() - Method in class io.sentry.dsn.Dsn
-
- getProtocol() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getProtocolSettings() - Method in class io.sentry.dsn.Dsn
-
- getProxyHost(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
HTTP proxy hostname for Sentry connections.
- getProxyPass(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
HTTP proxy password for Sentry connections.
- getProxyPort(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
HTTP proxy port for Sentry connections.
- getProxyUser(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
HTTP proxy username for Sentry connections.
- getPublicKey() - Method in class io.sentry.dsn.Dsn
-
- getQueryString() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getRecommendedLockdownTime() - Method in exception io.sentry.connection.ConnectionException
-
- getRejectedExecutionHandler(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
- getRelease(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Application version to send with
Events that don't already
have a value for the field set.
- getRelease() - Method in class io.sentry.event.Event
-
- getRelease() - Method in class io.sentry.SentryClient
-
- getRemoteAddr() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getRemoteAddress(HttpServletRequest) - Method in class io.sentry.event.helper.BasicRemoteAddressResolver
-
Uses ServletRequest.getRemoteAddr() to resolve the REMOTE_ADDR.
- getRemoteAddress(HttpServletRequest) - Method in class io.sentry.event.helper.ForwardedAddressResolver
-
- getRemoteAddress(HttpServletRequest) - Method in interface io.sentry.event.helper.RemoteAddressResolver
-
Returns the REMOTE_ADDR for the provided request.
- getRemoteAddressResolver() - Method in class io.sentry.event.helper.HttpEventBuilderHelper
-
- getRemoteUser() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getRequestUrl() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getSampleRate(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Whether to sample events, and if so how much to allow through to the server (from 0.0 to 1.0).
- getSdk() - Method in class io.sentry.event.Event
-
- getSecretKey() - Method in class io.sentry.dsn.Dsn
-
- getSentryApiUrl(URI, String) - Static method in class io.sentry.connection.HttpConnection
-
Automatically determines the URL to the HTTP API of Sentry.
- getSentryInterfaces() - Method in class io.sentry.event.Event
-
- getSentryName() - Static method in class io.sentry.environment.SentryEnvironment
-
Returns sdk name+version string, used for HTTP User Agent, sentry_client, etc.
- getServerName(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Server name to send with
Events that don't already
have a value for the field set.
- getServerName() - Method in class io.sentry.event.Event
-
- getServerName() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getServerName() - Method in class io.sentry.SentryClient
-
- getServerPort() - Method in class io.sentry.event.interfaces.HttpInterface
-
- getServletRequest() - Static method in class io.sentry.servlet.SentryServletRequestListener
-
- getStackTrace() - Method in class io.sentry.event.interfaces.StackTraceInterface
-
- getStackTraceInterface() - Method in class io.sentry.event.interfaces.SentryException
-
- getStoredClient() - Static method in class io.sentry.Sentry
-
- getTags(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Additional tags to send with
Events.
- getTags() - Method in class io.sentry.event.Event
-
- getTags() - Method in class io.sentry.SentryClient
-
- getTimeout(Dsn) - Method in class io.sentry.DefaultSentryClientFactory
-
Timeout for requests to the Sentry server, in milliseconds.
- getTimestamp() - Method in class io.sentry.event.Breadcrumb
-
- getTimestamp() - Method in class io.sentry.event.Event
-
- getType() - Method in class io.sentry.event.Breadcrumb
-
- getUri() - Method in class io.sentry.dsn.Dsn
-
Creates the URI of the Sentry server.
- getUser() - Method in class io.sentry.context.Context
-
Gets the current user from the context.
- getUsername() - Method in class io.sentry.event.interfaces.UserInterface
-
- getUsername() - Method in class io.sentry.event.User
-
- getValue() - Method in enum io.sentry.event.Breadcrumb.Level
-
- getValue() - Method in enum io.sentry.event.Breadcrumb.Type
-
- getValue() - Method in class io.sentry.jvmti.Frame.LocalVariable
-
- getVersion() - Method in class io.sentry.event.Sdk
-
- SAMPLE_RATE_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option for whether to sample events, allowing from 0.0 to 1.0 (0 to 100%) to be sent to the server.
- Sdk - Class in io.sentry.event
-
Represents the current SDK and any integrations used to create an
Event.
- Sdk(String, String, Set<String>) - Constructor for class io.sentry.event.Sdk
-
- SDK - Static variable in class io.sentry.marshaller.json.JsonMarshaller
-
An object representing the SDK name and version.
- SDK_NAME - Static variable in class io.sentry.environment.SentryEnvironment
-
Name of this SDK.
- SDK_VERSION - Static variable in class io.sentry.environment.SentryEnvironment
-
Version of this SDK.
- send(Event) - Method in class io.sentry.connection.AbstractConnection
-
- send(Event) - Method in class io.sentry.connection.AsyncConnection
-
Sends an event to the Sentry server.
- send(Event) - Method in class io.sentry.connection.BufferedConnection
-
- send(Event) - Method in interface io.sentry.connection.Connection
-
Sends an event to the Sentry server.
- sendEvent(Event) - Method in class io.sentry.SentryClient
-
Sends a built
Event to the Sentry server.
- sendEvent(EventBuilder) - Method in class io.sentry.SentryClient
-
Builds and sends an
Event to the Sentry server.
- sendException(Throwable) - Method in class io.sentry.SentryClient
-
Sends an exception (or throwable) to the Sentry server.
- sendMessage(String) - Method in class io.sentry.SentryClient
-
Sends a message to the Sentry server.
- Sentry - Class in io.sentry
-
Sentry provides easy access to a statically stored
SentryClient instance.
- SENTRY_PROTOCOL_VERSION - Static variable in class io.sentry.connection.AbstractConnection
-
Current Sentry protocol version.
- SENTRY_THREAD - Static variable in class io.sentry.environment.SentryEnvironment
-
Indicates whether the current thread is managed by sentry or not.
- SentryClient - Class in io.sentry
-
Sentry client, for sending
Events to a Sentry server.
- SentryClient(Connection, ContextManager) - Constructor for class io.sentry.SentryClient
-
Constructs a
SentryClient instance using the provided connection.
- sentryClient(String) - Static method in class io.sentry.SentryClientFactory
-
Creates an instance of Sentry using the provided DSN.
- sentryClient(String, SentryClientFactory) - Static method in class io.sentry.SentryClientFactory
-
Creates an instance of Sentry using the provided DSN and the specified factory.
- SentryClientFactory - Class in io.sentry
-
- SentryClientFactory() - Constructor for class io.sentry.SentryClientFactory
-
- SentryEnvironment - Class in io.sentry.environment
-
Manages environment information on Sentry.
- SentryException - Class in io.sentry.event.interfaces
-
- SentryException(Throwable, StackTraceElement[]) - Constructor for class io.sentry.event.interfaces.SentryException
-
Creates a Sentry exception based on a Java Throwable.
- SentryException(String, String, String, StackTraceInterface) - Constructor for class io.sentry.event.interfaces.SentryException
-
Creates a Sentry exception.
- SentryHandler - Class in io.sentry.jul
-
Logging handler in charge of sending the java.util.logging records to a Sentry server.
- SentryHandler() - Constructor for class io.sentry.jul.SentryHandler
-
Creates an instance of SentryHandler.
- SentryInterface - Interface in io.sentry.event.interfaces
-
A SentryInterface is an additional structured data that can be provided with a message.
- SentryServletContainerInitializer - Class in io.sentry.servlet
-
- SentryServletContainerInitializer() - Constructor for class io.sentry.servlet.SentryServletContainerInitializer
-
- SentryServletRequestListener - Class in io.sentry.servlet
-
Request listener in charge of capturing
HttpServletRequest to allow
HttpEventBuilderHelper to provide details on the current HTTP session
in the event sent to Sentry.
- SentryServletRequestListener() - Constructor for class io.sentry.servlet.SentryServletRequestListener
-
- SentryStackTraceElement - Class in io.sentry.event.interfaces
-
Richer StackTraceElement class.
- SentryStackTraceElement(String, String, String, int, Integer, String, String, Map<String, Object>) - Constructor for class io.sentry.event.interfaces.SentryStackTraceElement
-
Construct a SentryStackTraceElement.
- SentryUncaughtExceptionHandler - Class in io.sentry
-
Sends any uncaught exception to Sentry, then passes the exception on to the pre-existing
uncaught exception handler.
- SentryUncaughtExceptionHandler(Thread.UncaughtExceptionHandler) - Constructor for class io.sentry.SentryUncaughtExceptionHandler
-
- SERVER_NAME - Static variable in class io.sentry.marshaller.json.JsonMarshaller
-
Identifies the host client from which the event was recorded.
- serverName - Variable in class io.sentry.SentryClient
-
Server name to be sent to sentry.
- SERVERNAME_OPTION - Static variable in class io.sentry.DefaultSentryClientFactory
-
Option to set the server name.
- setBaseLockdownTime(long) - Method in class io.sentry.connection.LockdownManager
-
- setBypassSecurity(boolean) - Method in class io.sentry.connection.HttpConnection
-
- setCategory(String) - Method in class io.sentry.event.BreadcrumbBuilder
-
- setCompression(boolean) - Method in class io.sentry.marshaller.json.JsonMarshaller
-
Enables the JSON compression with gzip.
- setContexts(Map<String, Map<String, Object>>) - Method in class io.sentry.event.Event
-
- setData(Map<String, String>) - Method in class io.sentry.event.BreadcrumbBuilder
-
- setDate(Date) - Method in class io.sentry.time.FixedClock
-
- setDist(String) - Method in class io.sentry.event.Event
-
- setDist(String) - Method in class io.sentry.SentryClient
-
- setEmail(String) - Method in class io.sentry.event.UserBuilder
-
Sets the email for the user.
- setEnvironment(String) - Method in class io.sentry.SentryClient
-
- setExtraTags(Set<String>) - Method in class io.sentry.SentryClient
-
Set the extras to extract and send as tags on all future
Events, where applicable.
- setFingerprint(List<String>) - Method in class io.sentry.event.Event
-
- setId(String) - Method in class io.sentry.event.UserBuilder
-
Sets the Id for the user.
- setInAppFrames(Collection<String>) - Method in class io.sentry.marshaller.json.StackTraceInterfaceBinding
-
- setIpAddress(String) - Method in class io.sentry.event.UserBuilder
-
Sets the ipAddress for the user.
- setLastEventId(UUID) - Method in class io.sentry.context.Context
-
Store the UUID of the last sent event by this thread, useful for handling user feedback.
- setLevel(Breadcrumb.Level) - Method in class io.sentry.event.BreadcrumbBuilder
-
- setMarshaller(Marshaller) - Method in class io.sentry.connection.HttpConnection
-
- setMarshaller(Marshaller) - Method in class io.sentry.connection.OutputStreamConnection
-
- setMaxLockdownTime(long) - Method in class io.sentry.connection.LockdownManager
-
- setMessage(String) - Method in class io.sentry.event.BreadcrumbBuilder
-
- setPrintfStyle(boolean) - Method in class io.sentry.jul.SentryHandler
-
- setRelease(String) - Method in class io.sentry.SentryClient
-
- setRemoveCommonFramesWithEnclosing(boolean) - Method in class io.sentry.marshaller.json.StackTraceInterfaceBinding
-
- setSdk(Sdk) - Method in class io.sentry.event.Event
-
- setServerName(String) - Method in class io.sentry.SentryClient
-
- setState(ConnectionException) - Method in class io.sentry.connection.LockdownManager
-
Enable lockdown if it's not already enabled, using the recommended time
from the provided
ConnectionException, if any.
- setStoredClient(SentryClient) - Static method in class io.sentry.Sentry
-
- setTags(Map<String, String>) - Method in class io.sentry.SentryClient
-
Set the tags that will be sent with all future
Events.
- setTimeout(int) - Method in class io.sentry.connection.HttpConnection
-
- setTimestamp(Date) - Method in class io.sentry.event.BreadcrumbBuilder
-
- setType(Breadcrumb.Type) - Method in class io.sentry.event.BreadcrumbBuilder
-
- setup() - Static method in class io.sentry.SentryUncaughtExceptionHandler
-
Configures an uncaught exception handler which sends events to
Sentry, then calls the preexisting uncaught exception handler.
- setUser(User) - Method in class io.sentry.context.Context
-
Store the current user in the context.
- setUser(User) - Static method in class io.sentry.Sentry
-
Set the
User in the current context.
- setUsername(String) - Method in class io.sentry.event.UserBuilder
-
Sets the username for the user.
- shouldSendEvent(Event) - Method in interface io.sentry.connection.EventSampler
-
Decides whether a specific event should be sent to the server or not.
- shouldSendEvent(Event) - Method in class io.sentry.connection.RandomEventSampler
-
Handles event sampling logic.
- SingletonContextManager - Class in io.sentry.context
-
- SingletonContextManager() - Constructor for class io.sentry.context.SingletonContextManager
-
- size() - Method in class io.sentry.util.CircularFifoQueue
-
Returns the number of elements stored in the queue.
- STACKTRACE_INTERFACE - Static variable in class io.sentry.event.interfaces.StackTraceInterface
-
Name of the Sentry interface allowing to send a StackTrace.
- StackTraceInterface - Class in io.sentry.event.interfaces
-
The StackTrace interface for Sentry, allowing to add a stackTrace to an event.
- StackTraceInterface(StackTraceElement[]) - Constructor for class io.sentry.event.interfaces.StackTraceInterface
-
Creates a StackTrace for an
Event.
- StackTraceInterface(StackTraceElement[], StackTraceElement[]) - Constructor for class io.sentry.event.interfaces.StackTraceInterface
-
Creates a StackTrace for an
Event.
- StackTraceInterface(StackTraceElement[], StackTraceElement[], Frame[]) - Constructor for class io.sentry.event.interfaces.StackTraceInterface
-
Creates a StackTrace for an
Event.
- StackTraceInterface(SentryStackTraceElement[]) - Constructor for class io.sentry.event.interfaces.StackTraceInterface
-
Creates a StackTrace for an
Event.
- StackTraceInterfaceBinding - Class in io.sentry.marshaller.json
-
- StackTraceInterfaceBinding() - Constructor for class io.sentry.marshaller.json.StackTraceInterfaceBinding
-
- startManagingThread() - Static method in class io.sentry.environment.SentryEnvironment
-
Sets the current thread as managed by Sentry.
- stopManagingThread() - Static method in class io.sentry.environment.SentryEnvironment
-
Sets the current thread as not managed by Sentry.
- SystemClock - Class in io.sentry.time
-
Clock implementation that defers to the system clock.
- SystemClock() - Constructor for class io.sentry.time.SystemClock
-
- withBreadcrumbs(List<Breadcrumb>) - Method in class io.sentry.event.EventBuilder
-
Adds a list of Breadcrumbs to the event.
- withChecksum(String) - Method in class io.sentry.event.EventBuilder
-
Sets the checksum for the current event.
- withChecksumFor(String) - Method in class io.sentry.event.EventBuilder
-
Generates a checksum from a given content and set it to the current event.
- withContexts(Map<String, Map<String, Object>>) - Method in class io.sentry.event.EventBuilder
-
Adds a map of map of context objects to the event.
- withCulprit(SentryStackTraceElement) - Method in class io.sentry.event.EventBuilder
-
- withCulprit(StackTraceElement) - Method in class io.sentry.event.EventBuilder
-
- withCulprit(String) - Method in class io.sentry.event.EventBuilder
-
Sets the culprit in the event.
- withDist(String) - Method in class io.sentry.event.EventBuilder
-
Sets application distribution version in the event.
- withEnvironment(String) - Method in class io.sentry.event.EventBuilder
-
Sets application environment in the event.
- withExtra(String, Object) - Method in class io.sentry.event.EventBuilder
-
Adds an extra property to the event.
- withFingerprint(String...) - Method in class io.sentry.event.EventBuilder
-
Sets event fingerprint, an array of strings used to dictate the deduplicating for this event.
- withFingerprint(List<String>) - Method in class io.sentry.event.EventBuilder
-
Sets event fingerprint, a list of strings used to dictate the deduplicating for this event.
- withLevel(Event.Level) - Method in class io.sentry.event.EventBuilder
-
Sets the log level in the event.
- withLogger(String) - Method in class io.sentry.event.EventBuilder
-
Sets the logger in the event.
- withMessage(String) - Method in class io.sentry.event.EventBuilder
-
Sets the message in the event.
- withPlatform(String) - Method in class io.sentry.event.EventBuilder
-
Sets the platform in the event.
- withRelease(String) - Method in class io.sentry.event.EventBuilder
-
Sets application release version in the event.
- withSdkIntegration(String) - Method in class io.sentry.event.EventBuilder
-
Add an integration to the
Sdk.
- withSentryInterface(SentryInterface) - Method in class io.sentry.event.EventBuilder
-
- withSentryInterface(SentryInterface, boolean) - Method in class io.sentry.event.EventBuilder
-
- withServerName(String) - Method in class io.sentry.event.EventBuilder
-
Sets the serverName in the event.
- withTag(String, String) - Method in class io.sentry.event.EventBuilder
-
Adds a tag to an event.
- withTimestamp(Date) - Method in class io.sentry.event.EventBuilder
-
Sets the timestamp in the event.
- wrapConnectionWithBufferWriter(Connection) - Method in class io.sentry.connection.BufferedConnection
-
Wrap a connection so that
Events are buffered before being passed on to
the underlying connection.
- write(int) - Method in class io.sentry.marshaller.Marshaller.UncloseableOutputStream
-
- write(byte[]) - Method in class io.sentry.marshaller.Marshaller.UncloseableOutputStream
-
- write(byte[], int, int) - Method in class io.sentry.marshaller.Marshaller.UncloseableOutputStream
-
- writeInterface(JsonGenerator, ExceptionInterface) - Method in class io.sentry.marshaller.json.ExceptionInterfaceBinding
-
- writeInterface(JsonGenerator, HttpInterface) - Method in class io.sentry.marshaller.json.HttpInterfaceBinding
-
- writeInterface(JsonGenerator, T) - Method in interface io.sentry.marshaller.json.InterfaceBinding
-
Encodes the content of a sentry interface into a JSON stream.
- writeInterface(JsonGenerator, MessageInterface) - Method in class io.sentry.marshaller.json.MessageInterfaceBinding
-
- writeInterface(JsonGenerator, StackTraceInterface) - Method in class io.sentry.marshaller.json.StackTraceInterfaceBinding
-
- writeInterface(JsonGenerator, UserInterface) - Method in class io.sentry.marshaller.json.UserInterfaceBinding
-