Namespace Google.Cloud.Diagnostics.AspNetCore3 (4.3.1)

Classes

AspNetCoreErrorReportingExtensions

Extensions for configuring Google Cloud Error Reporting in ASP.NET Core applications.

AspNetCoreGoogleDiagnosticsExtensions

Extensions to configure Google.Cloud.Diagnostics for ASP.NET Core applications.

AspNetCoreTraceExtensions

Extensions for configuring Google Cloud Trace in ASP.NET Core applications.

AspNetCoreTraceOptions

Configuration for initializing tracing for ASP.NET Core applications.

ClientIpLogEntryLabelProvider

A ILogEntryLabelProvider implementation which adds the client's IP-address to the log entry labels.

CloudTraceExtension

Uses the Google Cloud Trace Middleware. Traces the time taken for all subsequent delegates to run. The time taken and metadata will be sent to the Google Cloud Trace API. Also allows for more finely grained manual tracing.

EnvironmentNameLogEntryLabelProvider

A ILogEntryLabelProvider implementation which adds the EnvironmentName to the log entry labels.

ErrorReportingExceptionLoggerExtension

Uses the Google Cloud Error Reporting Exception Logger Middleware. To ensure all unhandled exceptions are reported, this should be the first piece of middleware used.

ErrorReportingExceptionLoggerMiddleware

Middleware that will, when invoked, call the next RequestDelegate, catch any exception that it may throw, send that exception to the Google Cloud Error Reporting API and rethrow the given exception.

ErrorReportingServiceOptions

Configuration for initializing error reporting.

GoogleDiagnosticsWebHostBuilderExtensions

Extensions to configure Google Diagnostics on the IWebHostBuilder.

GoogleLogger

ILogger for Google Cloud Logging.

GoogleLoggerFactoryExtensions

Extensions to add GoogleLoggerProviders to an ILoggerFactory.

GoogleLoggerProvider

ILoggerProvider for Google Cloud Logging.

GoogleTraceProvider

If this is registered as a dependency, then Log Entries will be associated with the Google trace and span.

HttpLogEntryLabelProvider

Base class for ILogEntryLabelProvider implementations which needs an HttpContext instance.

LabelProviderExtensions

Provides extension methods to register ILogEntryLabelProvider implementations.

LoggerOptions

Options for a GoogleLogger.

TraceContextForLogEntry

Represents a trace context (Trace ID and Span ID) for a log entry. These values can be attached to a log entry to establish the relation of it and a trace.

TraceDecisionPredicate

Used to determine if an HttpRequest should be traced. This will not override a decision by the trace header.

TraceIdLogEntryLabelProvider

A ILogEntryLabelProvider implementation which adds the TraceIdentifier to the log entry labels.

TraceServiceOptions

Configuration for initializing tracing.

UserLogEntryLabelProvider

A ILogEntryLabelProvider which adds the information of the authenticated user to the log entry labels.

Interfaces

ICloudTraceNameProvider

Interface for implementing providers that can name trace spans

IExceptionLogger

A generic exception logger.

IExternalTraceProvider

Provides external trace information to include in a log entry if there's no Google Trace available. Implement this interface when traces are being generated by your environment and sent to Google Cloud Tracing not via the Google.Cloud.Diagnostics library.

ILogEntryLabelProvider

Provides a hook to augment labels when a log entry is being logged.