cwagent

package
v1.5.9 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2021 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Overview

Package cwagent implements CloudWatch agent plugin. ref. https://github.com/aws-samples/amazon-cloudwatch-container-insights/tree/master/k8s-deployment-manifest-templates/deployment-mode/daemonset/container-insights-monitoring/quickstart ref. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-metrics.html ref. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-EKS-quickstart.html ref. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-logs.html

Publishes worker nodes logs to:

  • /aws/containerinsights/[CLUSTER-NAME]/performance

Index

Constants

View Source
const CWAgentImageName = "amazon/cloudwatch-agent:1.245315.0"

CWAgentImageName is the image name of CloudWatch agent daemon set. ref. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-logs.html ref. https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-EKS-quickstart.html ref. https://hub.docker.com/r/amazon/cloudwatch-agent

View Source
const TemplateCWAgentConf = `` /* 250-byte string literal not displayed */

https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Container-Insights-setup-metrics.html

Variables

This section is empty.

Functions

func New

func New(cfg Config) eks_tester.Tester

Types

type Config

type Config struct {
	Logger    *zap.Logger
	LogWriter io.Writer
	Stopc     chan struct{}
	EKSConfig *eksconfig.Config
	K8SClient k8s_client.EKS
}

Config defines fluentd configuration.

Jump to

Keyboard shortcuts

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