This Git repository contains software artifacts related to two different approaches for collecting Prometheus metrics from applications deployed to an Amazon ECS cluster. Both approaches employ the same custom service discovery mechanism that leverages the integration between Amazon ECS and AWS Cloud Map to dynamically discover scraping targets for Prometheus. The Golang code in the repository pertains to that of a sidecar container which impements the custom service discovery mechanism.
The two sub-directories, namely deploy-prometheus and deploy-adot contain the artifacts required to deploy the respective solutions to an Amazon ECS cluster.
-
The first approach employs a single instance of Prometheus server deployed to an ECS cluster.
-
The second approach employs a single instance of AWS Distro for OpenTelemetry Collector deployed to an ECS cluster. Prometheus metrics are collected by the Prometheus Receiver that runs in the ADOT Collector pipeline.
See CONTRIBUTING for more information.
This library is licensed under the MIT-0 License. See the LICENSE file.