Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
      View Source
      
  
    const ( // AsyncOperationCount is the metric name for async operation count. AsyncOperationCount = "asyncoperation.operation" // QueuedAsyncOperationCount is the metric name for queued async operation count. QueuedAsyncOperationCount = "asyncoperation.queued.operation" // ExtendedAsyncOperationCount is the metric name for extended async operation count. ExtendedAsyncOperationCount = "asyncoperation.extended.operation" // AsyncOperationDuration is the metric name for async operation duration. AsnycOperationDuration = "asyncoperation.duration" )
      View Source
      
  
    const ( // RecipeEngineOperationExecute represents the Execute operation of the Recipe Engine. RecipeEngineOperationExecute = "execute" // RecipeEngineOperationDelete represents the Delete operation of the Recipe Engine. RecipeEngineOperationDelete = "delete" // RecipeEngineOperationDownloadRecipe represents the Download Recipe operation of the Recipe Engine. RecipeEngineOperationDownloadRecipe = "download.recipe" // RecipeEngineOperationGC represents the Garbage Collection operation of the Recipe Engine. RecipeEngineOperationGC = "garbage.collection.recipe" )
      View Source
      
  
const ( // OperationStateAttrKey is the attribute name for the operation state. OperationStateAttrKey = attribute.Key("operation_state") // TerraformVersionAttrKey is the attribute key for the Terraform version. TerraformVersionAttrKey = attribute.Key("terraform_version") // SuccessfulOperationState is the value for a successful operation state. SuccessfulOperationState = "success" // FailedOperationState is the value for a failed operation state. FailedOperationState = "failed" )
Variables ¶
      View Source
      
  
var ( // DefaultAsyncOperationMetrics holds async operation metrics definitions. DefaultAsyncOperationMetrics = newAsyncOperationMetrics() // DefaultRecipeEngineMetrics holds recipe engine metrics definitions. DefaultRecipeEngineMetrics = newRecipeEngineMetrics() )
Functions ¶
func NewRecipeAttributes ¶
func NewRecipeAttributes(operationType, recipeName string, definition *recipes.EnvironmentDefinition, state string) []attribute.KeyValue
NewRecipeAttributes generates common attributes for recipe operations.
Types ¶
This section is empty.
      
      Source Files
      ¶
    
   Click to show internal directories. 
   Click to hide internal directories.