Skip navigation links
A C E F G I L M O P S T X 

A

addInterceptors(InterceptorRegistry) - Method in class org.springframework.cloud.gcp.logging.LoggingWebMvcConfigurer
 
afterCompletion(HttpServletRequest, HttpServletResponse, Object, Exception) - Method in class org.springframework.cloud.gcp.logging.TraceIdLoggingWebMvcInterceptor
 

C

composeFullTraceName(String, String) - Static method in interface org.springframework.cloud.gcp.logging.StackdriverTraceConstants
Composes the full trace name as expected by the Google Developers Console log viewer, to enable trace correlation with log entries.

E

enhanceLogEntry(LogEntry.Builder) - Method in class org.springframework.cloud.gcp.logging.TraceIdLoggingEnhancer
Set the trace and span ID fields of the log entry to the current one.
extractTraceIdFromRequest(HttpServletRequest) - Method in interface org.springframework.cloud.gcp.logging.extractors.TraceIdExtractor
Extract trace ID from the HTTP request.
extractTraceIdFromRequest(HttpServletRequest) - Method in class org.springframework.cloud.gcp.logging.extractors.XCloudTraceIdExtractor
 

F

formatTraceId(String) - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
 

G

getCurrentTraceId() - Static method in class org.springframework.cloud.gcp.logging.TraceIdLoggingEnhancer
Get the current trace id.
getLoggingOptions() - Method in class org.springframework.cloud.gcp.logging.LoggingAppender
Wraps LoggingAppender.getLoggingOptions() to add UserAgentHeaderProvider configuration, so that usage can be properly attributed to Spring Cloud GCP.
getProjectId() - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
Get the project id.
getService() - Method in class org.springframework.cloud.gcp.logging.StackdriverErrorReportingServiceContext
 
getTraceIdExtractor() - Method in class org.springframework.cloud.gcp.logging.TraceIdLoggingWebMvcInterceptor
 
getVersion() - Method in class org.springframework.cloud.gcp.logging.StackdriverErrorReportingServiceContext
 

I

isIncludeExceptionInMessage() - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
check if there is an included exception in the message.
isIncludeSpanId() - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
check if the span id is included.
isIncludeTraceId() - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
check if the trace id is included.

L

LoggingAppender - Class in org.springframework.cloud.gcp.logging
A Google Cloud Java Logback LoggingAppender wrapper that configures it for Spring Cloud GCP.
LoggingAppender() - Constructor for class org.springframework.cloud.gcp.logging.LoggingAppender
 
LoggingWebMvcConfigurer - Class in org.springframework.cloud.gcp.logging
MVC Adapter that adds the TraceIdLoggingWebMvcInterceptor.
LoggingWebMvcConfigurer(TraceIdLoggingWebMvcInterceptor, GcpProjectIdProvider) - Constructor for class org.springframework.cloud.gcp.logging.LoggingWebMvcConfigurer
Constructor that accepts an TraceIdLoggingWebMvcInterceptor.

M

MDC_FIELD_SPAN_EXPORT - Static variable in interface org.springframework.cloud.gcp.logging.StackdriverTraceConstants
The name of the MDC parameter, Spring Sleuth is storing the span export information at.
MDC_FIELD_SPAN_ID - Static variable in interface org.springframework.cloud.gcp.logging.StackdriverTraceConstants
The name of the MDC parameter, Spring Sleuth is storing the span id at.
MDC_FIELD_TRACE_ID - Static variable in interface org.springframework.cloud.gcp.logging.StackdriverTraceConstants
The name of the MDC parameter, Spring Sleuth is storing the trace id at.

O

org.springframework.cloud.gcp.logging - package org.springframework.cloud.gcp.logging
 
org.springframework.cloud.gcp.logging.extractors - package org.springframework.cloud.gcp.logging.extractors
Auto-configuration for Spring Cloud GCP Logging module's request trace ID extractors.

P

preHandle(HttpServletRequest, HttpServletResponse, Object) - Method in class org.springframework.cloud.gcp.logging.TraceIdLoggingWebMvcInterceptor
 

S

SERVICE_CONTEXT_ATTRIBUTE - Static variable in interface org.springframework.cloud.gcp.logging.StackdriverTraceConstants
The JSON field name for the service context.
setCurrentTraceId(String) - Static method in class org.springframework.cloud.gcp.logging.TraceIdLoggingEnhancer
 
setCustomJson(String) - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
set custom json data to include in log output.
setIncludeExceptionInMessage(boolean) - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
set whether the exception is included in the message.
setIncludeSpanId(boolean) - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
set whether the span id is included.
setIncludeTraceId(boolean) - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
set whether the trace id is included.
setProjectId(String) - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
set the project id.
setService(String) - Method in class org.springframework.cloud.gcp.logging.StackdriverErrorReportingServiceContext
 
setServiceContext(StackdriverErrorReportingServiceContext) - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
set the service context for stackdriver.
setVersion(String) - Method in class org.springframework.cloud.gcp.logging.StackdriverErrorReportingServiceContext
 
SEVERITY_ATTRIBUTE - Static variable in interface org.springframework.cloud.gcp.logging.StackdriverTraceConstants
The JSON field name for the log level (severity).
SPAN_ID_ATTRIBUTE - Static variable in interface org.springframework.cloud.gcp.logging.StackdriverTraceConstants
The JSON field name for the span-id.
StackdriverErrorReportingServiceContext - Class in org.springframework.cloud.gcp.logging
This class provides the service context data for stackdriver error reporting.
StackdriverErrorReportingServiceContext() - Constructor for class org.springframework.cloud.gcp.logging.StackdriverErrorReportingServiceContext
 
StackdriverErrorReportingServiceContext(String, String) - Constructor for class org.springframework.cloud.gcp.logging.StackdriverErrorReportingServiceContext
 
StackdriverJsonLayout - Class in org.springframework.cloud.gcp.logging
This class provides a JSON layout for a Logback appender compatible to the Stackdriver log format.
StackdriverJsonLayout() - Constructor for class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
creates a layout for a Logback appender compatible to the Stackdriver log format.
StackdriverTraceConstants - Interface in org.springframework.cloud.gcp.logging
Constants for Stackdriver Trace.
start() - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
 

T

TIMESTAMP_NANOS_ATTRIBUTE - Static variable in interface org.springframework.cloud.gcp.logging.StackdriverTraceConstants
The JSON field name for the nanos of the timestamp.
TIMESTAMP_SECONDS_ATTRIBUTE - Static variable in interface org.springframework.cloud.gcp.logging.StackdriverTraceConstants
The JSON field name for the seconds of the timestamp.
toJsonMap(ILoggingEvent) - Method in class org.springframework.cloud.gcp.logging.StackdriverJsonLayout
Convert a logging event into a Map.
TRACE_ID_ATTRIBUTE - Static variable in interface org.springframework.cloud.gcp.logging.StackdriverTraceConstants
The JSON field name for the trace-id.
TraceIdExtractor - Interface in org.springframework.cloud.gcp.logging.extractors
An extractor that can provide a trace ID from an HTTP request.
TraceIdLoggingEnhancer - Class in org.springframework.cloud.gcp.logging
Adds the trace ID and span ID to the logging entry, in its correct format to be displayed in the Logs viewer.
TraceIdLoggingEnhancer() - Constructor for class org.springframework.cloud.gcp.logging.TraceIdLoggingEnhancer
 
TraceIdLoggingWebMvcInterceptor - Class in org.springframework.cloud.gcp.logging
HandlerInterceptor that extracts the request trace ID from the "x-cloud-trace-context" HTTP header and stores it in a thread-local using TraceIdLoggingEnhancer.setCurrentTraceId(java.lang.String).
TraceIdLoggingWebMvcInterceptor(TraceIdExtractor) - Constructor for class org.springframework.cloud.gcp.logging.TraceIdLoggingWebMvcInterceptor
 

X

X_CLOUD_TRACE_HEADER - Static variable in class org.springframework.cloud.gcp.logging.extractors.XCloudTraceIdExtractor
The name of the header that contains the trace id.
XCloudTraceIdExtractor - Class in org.springframework.cloud.gcp.logging.extractors
Extracts trace IDs from HTTP requests using the x-cloud-trace-context header.
XCloudTraceIdExtractor() - Constructor for class org.springframework.cloud.gcp.logging.extractors.XCloudTraceIdExtractor
 
A C E F G I L M O P S T X 
Skip navigation links

Copyright © 2019 Pivotal Software, Inc.. All rights reserved.