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

Support Grafana via prom_ex #1518

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Support Grafana via prom_ex #1518

wants to merge 16 commits into from

Conversation

joshk
Copy link
Collaborator

@joshk joshk commented Sep 13, 2024

Using Grafana has become more of the norm, and this is the start of supporting all the Grafanas

Both the Web and Devices Endpoints are monitored, which gives us some initial insight into whats going on within the app.

I've implemented the /metrics route via a new MetricsEndpoint, as this allows us to expose it on its own port which isn't exposed, without SSL, which Fly can monitor via its Prometheus service.

I think these dashboards require a little more work until I'm happy with the data, and insight, they provide.

@oestrich
Copy link
Contributor

I like the idea of this a lot, do we know how to have prometheus scrape ECS tasks directly? Last time I had a chance to work with prometheus it didn't handle dynamic pods/tasks/containers well (at least with whatever set up the company had haha)

@joshk
Copy link
Collaborator Author

joshk commented Sep 16, 2024

Sorry, I'm not sure on the best way to solve the prometheus scape part of the equation.

Fly.io makes it super super easy by providing you a prometheus out of the box. We have this up and running with NervesCloud, including the correct taging of apps, instances, and hosts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants