Facilitates service discovery using AWS ECS and/or CloudMap, exposes Prometheus compatible endpoint.
10K+
This application facilitates discovery of ECS and/or CloudMap resources, specifically tailored to be compatible with Prometheus HTTP Service Discovery.
This solution leverages AWS API to dynamically discover:
making it easier for Prometheus to monitor these services without hardcoding their addresses or ports, or using any kind of file-based service discovery.
Below is a high level overview of what application is capable of. For the full list of supported configuration parameters and how to override these using Docker Environment Variables please refer to appsettings.json
Prometheus Compatibility: By default, exposes 9001:/prometheus-targets endpoint which response is compatible with <http_sd_config> of Prometheus configuration file, as well as with OpenTelemetry Prometheus Receiver (see example below).
ECS Discovery: Supports discovery of ECS clusters, services, running tasks
EcsClusters as semicolon separated string of ECS clusters to include: "cluster1;cluster2;"EcsServiceSelectorTags configuration property)EcsTaskTags, EcsServiceTags configuration properties)AWS CloudMap Integration: Supports discovery of CloudMap namespaces, services and instances
CloudMapNamespaces as semicolon separated string of CloudMap namespaces to include: "namespace1;"CloudMapServiceSelectorTags configuration property)CloudMapServiceTags, CloudMapNamespaceTags configuration properties)Scalable and Flexible: Built to be scalable and flexible, adapting to changes in the service infrastructure
MetricsPathPortTagPrefix configuration property for more details.ExtraPrometheusLabels configuration property)RelabelConfigurations configuration property for more details./healthAt least one of EcsClusters or CloudMapNamespaces must be provided for application to work. If you would like to include both Service Connect and Service Discovery targets, CloudMapNamespaces must be supplied (with or without EcsClusters). When both parameters are supplied, the end result is only an intersection of targets that exist in ECS clusters supplied and CloudMap namespaces provided.
Content type
Image
Digest
sha256:ec6692ceb…
Size
37 MB
Last updated
about 2 years ago
docker pull apptality/aws-ecs-cloudmap-prometheus-discovery