Documentation
¶
Index ¶
Constants ¶
View Source
const ( // EBServiceName is the key name for metadata of ElasticBeanstalkPlugin. EBServiceName = "elastic_beanstalk" // EC2ServiceName is the key name for metadata of EC2Plugin. EC2ServiceName = "ec2" // ECSServiceName is the key name for metadata of ECSPlugin. ECSServiceName = "ecs" )
Variables ¶
View Source
var InstancePluginMetadata = &PluginMetadata{}
InstancePluginMetadata points to the PluginMetadata struct.
Functions ¶
This section is empty.
Types ¶
type BeanstalkMetadata ¶
type BeanstalkMetadata struct { Environment string `json:"environment_name"` VersionLabel string `json:"version_label"` DeploymentID int `json:"deployment_id"` }
BeanstalkMetadata provides the shape for unmarshalling Elastic Beanstalk environment metadata.
type EC2Metadata ¶
type EC2Metadata struct { InstanceID string `json:"instance_id"` AvailabilityZone string `json:"availability_zone"` }
EC2Metadata provides the shape for unmarshalling EC2 metadata.
type ECSMetadata ¶
type ECSMetadata struct {
ContainerName string `json:"container"`
}
ECSMetadata provides the shape for unmarshalling ECS metadata.
type PluginMetadata ¶
type PluginMetadata struct { // EC2Metadata records the ec2 instance ID and availability zone. EC2Metadata *EC2Metadata // BeanstalkMetadata records the Elastic Beanstalk // environment name, version label, and deployment ID. BeanstalkMetadata *BeanstalkMetadata // ECSMetadata records the ECS container ID. ECSMetadata *ECSMetadata // Origin records original service of the segment. Origin string }
PluginMetadata struct contains items to record information about the AWS infrastructure hosting the traced application.
Click to show internal directories.
Click to hide internal directories.