Documentation ¶
Index ¶
Constants ¶
View Source
const ( IpAddressAttribute = "AWS_INSTANCE_IPV4" PortNumberAttribute = "AWS_INSTANCE_PORT" ClusterNameAttribute = "ECS_CLUSTER_NAME" ServiceNameAttribute = "ECS_SERVICE_NAME" TaskDefinitionAttribute = "ECS_TASK_DEFINITION_FAMILY" MetricsPortTag = "METRICS_PORT" MetricsPathTag = "METRICS_PATH" EcsMetricsPortTag = "ECS_METRICS_PORT" EcsMetricsPathTag = "ECS_METRICS_PATH" )
Variables ¶
This section is empty.
Functions ¶
func GetParameter ¶
Retrive the value for a given SSM Parameter name
func GetPrometheusScrapeConfig ¶
Retrieve a JSON object that provides a list of ECS targets to be scraped for Prometheus metrics
func InitializeAWSSession ¶
func InitializeAWSSession()
Types ¶
type CloudMapClient ¶
type CloudMapClient struct {
// contains filtered or unexported fields
}
type InstanceScrapeConfig ¶
type ServiceDiscoveryInstance ¶
type ServiceDiscoveryInstance struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.