Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test the ecs-discovery.py script in the CI #188

Open
LDiazN opened this issue Feb 18, 2025 · 0 comments
Open

Test the ecs-discovery.py script in the CI #188

LDiazN opened this issue Feb 18, 2025 · 0 comments
Assignees

Comments

@LDiazN
Copy link
Contributor

LDiazN commented Feb 18, 2025

The ecs-discovery.py script introduced in #186 allows ECS tasks discovery and it's called periodically with a cronjob in the monitoring host to collect tasks details (EC2 host with private IP, running port) that are used for file-based discovery of scrape targets in Prometheus.

This script is quite long and a bit complex, so it's a good idea to add some testing for it, see #186 (comment)

As a result, the CI should be able to check if this script is able to write the right json and that it has the right format for Prometheus

@LDiazN LDiazN self-assigned this Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant