Module: LogBrew
- Defined in:
- lib/logbrew.rb,
lib/logbrew/trace.rb,
lib/logbrew/traceparent.rb,
lib/logbrew/support_ticket.rb,
lib/logbrew/product_timeline.rb,
lib/logbrew/operation_tracing.rb
Defined Under Namespace
Modules: OperationTracing, SupportTicketDraft, Trace, TraceClientMethods, TraceLoggerMethods, TraceRackMiddlewareMethods, TraceRailsErrorSubscriberMethods, Traceparent, Validation Classes: Client, HttpTransport, Logger, ProductTimeline, RackMiddleware, RailsErrorSubscriber, RecordingTransport, SdkError, TraceContext, TraceScope, TraceparentContext, TraceparentSpanInput, TransportError, TransportResponse
Constant Summary collapse
- SEVERITY_VALUES =
%w[trace debug info warn warning error fatal critical].freeze
- SEVERITY_ALIASES =
{ "trace" => "info", "debug" => "info", "info" => "info", "warn" => "warning", "warning" => "warning", "error" => "error", "fatal" => "critical", "critical" => "critical" }.freeze
- SPAN_STATUSES =
%w[ok error].freeze
- ACTION_STATUSES =
%w[queued running success failure].freeze
- METRIC_TEMPORALITIES_BY_KIND =
{ "counter" => %w[delta cumulative].freeze, "gauge" => %w[instant].freeze, "histogram" => %w[delta cumulative].freeze }.freeze
- METRIC_KINDS =
METRIC_TEMPORALITIES_BY_KIND.keys.freeze
- NON_NEGATIVE_METRIC_KINDS =
%w[counter histogram].freeze