Documentation ¶
Index ¶
Constants ¶
View Source
const ( StartTime = "diagnosis_start_time" InstanceId = "server_instance_id" ServerStart = "server_start" ConfigProcessed = "config_processed" SourcesCount = "no_of_sources" DesitanationCount = "no_of_destinations" ServerStarted = "server_started" ConfigIdentify = "identify" GatewayEvents = "gateway_events" GatewaySuccess = "gateway_success" GatewayFailure = "gateway_failure" RouterEvents = "router_events" RouterAborted = "router_aborted" RouterRetries = "router_retries" RouterSuccess = "router_success" RouterFailed = "router_failed" RouterDestination = "router_destination" RouterAttemptNum = "router_attempt_num" RouterCompletedTime = "router_average_job_time" BatchRouterEvents = "batch_router_events" BatchRouterSuccess = "batch_router_success" BatchRouterFailed = "batch_router_failed" BatchRouterDestination = "batch_router_destination" UserID = "user_id" ErrorCode = "error_code" ErrorResponse = "error_response" Count = "count" ErrorCountMap = "error_count_map" )
Variables ¶
Functions ¶
Types ¶
type DiagnosticsI ¶ added in v0.1.10
type DiagnosticsI interface { Track(event string, properties map[string]interface{}) DisableMetrics(enableMetrics bool) Identify(properties map[string]interface{}) }
var Diagnostics DiagnosticsI
Click to show internal directories.
Click to hide internal directories.