-
Notifications
You must be signed in to change notification settings - Fork 5
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
ModuleNotFoundError: No module named 'prometheus_ecs_discoverer #15
Comments
I got the same issue - did you find a solution? In the meantime I reverted to 3.2.1 which does not have this error. |
I will take a look at it this evening, thanks for raising the issue |
3.3.3 is working fine, but version above that has module issue. |
@lado936, @ZyanKLee, have you considered using teralytics/prometheus-ecs-discovery? I initially created this tool here because I needed a few features the other ones did not provide. Now I'm not using PromED actively anymore (though an older version is still being used in a former team I worked with) I still want to write another similar tool in Go that leverages AWS CloudMap for learning purposes. Would be much simpler than both PromED and teralytics/prometheus-ecs-discovery. Nevertheless I will yank the broken releases, images, and packages and look when I get to fix the underlying issue |
Hello @trallnag , One question that came to my mind about the CloudMap: did you look at how using a CloudMap would change API cost? Aside from that I like the idea. |
@trallnag the only reason i am not using that one is that they have no support for dynamic port discovery, i am creating services with random port and cant set static port in labels, i found one merge request which added dynamic port dyscovery but was not able to make it work on my setup |
Hey @trallnag In my team I recently stumbled upon the teralytics project as well. I'm pretty new to this topic but it seems any project is not being used or maintained anymore. Is there a shift in how to deal with discovering ecs tasks these days. I read about aws Service Connect and cloudmap and docs but it seems I'm missing some point here. I'm just generally curious how to deal with this in 2023 on aws ecs 😃 |
Hey @EAlf91, this tool sounds like what I was thinking about back when I made that comment: https://github.com/awslabs/aws-cloudmap-prometheus-sd |
Just tried to run project using docker on ECS and i am getting this error:
Error while finding module specification for 'prometheus_ecs_discoverer.main' (ModuleNotFoundError: No module named 'prometheus_ecs_discoverer
The text was updated successfully, but these errors were encountered: