Documentation ¶
Index ¶
Constants ¶
View Source
const ( ArgoHealth = "argo.health" RunId = "run.id" RunState = "run.state" StackName = "stack.name" StackId = "stack.id" StackAWSIntegrationId = "stack.aws_integration_id" SpaceId = "space.id" SpaceName = "space.name" SecretName = "secret.name" SecretKey = "secret.key" EnvironmentId = "environment.id" ContextName = "context.name" ContextId = "context.id" PolicyId = "policy.id" PolicyName = "policy.name" PolicyType = "policy.type" PolicyAttachmentId = "policy.attachment_id" )
View Source
const ( // Level0 Generally useful for this to always be visible to a cluster operator // - Programmer errors // - Logging extra info about a panic // - CLI argument handling Level0 = iota // Level1 A reasonable default log level if you don't want verbosity. // - Information about config (listening on X, watching Y) // - Errors that repeat frequently that relate to conditions that can be corrected (pod detected as unhealthy) Level1 // Level2 Useful steady state information about the service and important log messages that may correlate to significant changes in the system. // This is the recommended default log level for most systems. // - Logging HTTP requests and their exit code // - System state changing (killing pod) // - Controller state change events (starting pods) // - Scheduler log messages Level2 // Level3 Extended information about changes // - More info about system state changes Level3 // Level4 Debug level verbosity // - Logging in particularly thorny parts of code where you may want to come back later and check it Level4 // Level5 Trace level verbosity // - Context to understand the steps leading up to errors and warnings // - More information for troubleshooting reported issues Level5 // Helpers LevelInfo = Level2 LevelDebug = Level4 LevelTrace = Level5 )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.