ec2

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2020 License: MIT Imports: 14 Imported by: 0

Documentation

Overview

Package ec2 provides a plugin for Amazon Elastic Compute Cloud. The plugin collects the information of EC2 instances, and record them. The instance ID, the availability zone, the instance type, and the AMI ID are available.

If CloudWatch Agent is installed in the instance, the plugin collects the CloudWatch Logs Groups. It allows you to view the log of a trace using CloudWatch ServiceLens.

To enable this plugin, please import the ec2/init package.

import _ "github.com/shogo82148/aws-xray-yasdk-go/xray/plugins/ec2/init"

or if you want to load conditionally at runtime, use Init() function.

import _ "github.com/shogo82148/aws-xray-yasdk-go/xray/plugins/ec2"
ec2.Init()

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init()

Init activates EC2Plugin at runtime.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL