Documentation ¶
Index ¶
Constants ¶
View Source
const ( CWMetricAttributeLocalService = "Service" CWMetricAttributeLocalOperation = "Operation" CWMetricAttributeEnvironment = "Environment" CWMetricAttributeRemoteService = "RemoteService" CWMetricAttributeRemoteEnvironment = "RemoteEnvironment" CWMetricAttributeRemoteOperation = "RemoteOperation" CWMetricAttributeRemoteResourceIdentifier = "RemoteResourceIdentifier" CWMetricAttributeRemoteResourceType = "RemoteResourceType" )
Metric attribute used as CloudWatch metric dimension.
View Source
const ( AttributePlatformType = "PlatformType" AttributeEKSClusterName = "EKS.Cluster" AttributeK8SClusterName = "K8s.Cluster" AttributeK8SNamespace = "K8s.Namespace" AttributeK8SWorkload = "K8s.Workload" AttributeK8SPod = "K8s.Pod" AttributeEC2AutoScalingGroup = "EC2.AutoScalingGroup" AttributeEC2InstanceId = "EC2.InstanceId" AttributeHost = "Host" )
Platform attribute used as CloudWatch EMF log field and X-Ray trace annotation.
View Source
const ( MetricAttributeECSCluster = "ECS.Cluster" MetricAttributeECSTaskId = "ECS.TaskId" MetricAttributeECSTaskDefinitionFamily = "ECS.TaskDefinitionFamily" MetricAttributeECSTaskDefinitionRevision = "ECS.TaskDefinitionRevision" )
Platform attribute used as CloudWatch EMF log field.
View Source
const ( MetricAttributeTelemetrySDK = "Telemetry.SDK" MetricAttributeTelemetryAgent = "Telemetry.Agent" MetricAttributeTelemetrySource = "Telemetry.Source" )
Telemetry attributes used as CloudWatch EMF log fields.
View Source
const ( MetricAttributeRemoteDbUser = "RemoteDbUser" MetricAttributeRemoteResourceCfnPrimaryIdentifier = "RemoteResourceCfnPrimaryIdentifier" )
Resource attributes used as CloudWatch EMF log fields.
View Source
const (
AttributeTmpReserved = "aws.tmp.reserved"
)
Variables ¶
View Source
var CWMetricAttributes = []string{ CWMetricAttributeLocalService, CWMetricAttributeLocalOperation, CWMetricAttributeEnvironment, CWMetricAttributeRemoteService, CWMetricAttributeRemoteEnvironment, CWMetricAttributeRemoteOperation, CWMetricAttributeRemoteResourceIdentifier, CWMetricAttributeRemoteResourceType, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.