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

how to store metrics to external prometheus database #29

Closed
tsaibabu4u opened this issue Jan 26, 2021 · 6 comments
Closed

how to store metrics to external prometheus database #29

tsaibabu4u opened this issue Jan 26, 2021 · 6 comments

Comments

@tsaibabu4u
Copy link

Hi There,
I was able to run the docker image and able to see the collected metrics information but I dont see any prometheus url to query ?
is it possible to push these metrics to my own prometheus databse ?

@mblaschke
Copy link
Member

mblaschke commented Jan 26, 2021

metrics are available via /metrics endpoint, you just need to scrape the endpoint like any other service.

@tsaibabu4u
Copy link
Author

Thank you for the response. I don't see any service running on any port while running this docker image in local
will it generate any endpoint ? if so what would be the url

CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
478b2e3f8d5a webdevops/azure-devops-exporter "/azure-devops-expor…" 4 hours ago Up 4 hours awesome_hugle

@Sreekanth-BM
Copy link

@tsaibabu4u : Did you find a way to get metrics to any endpoint? (http:https://localhost:9090)

@Sreekanth-BM
Copy link

@tsaibabu4u : Thanks!

Referred your reply on other issue to map 8080.

@mblaschke
Copy link
Member

Use the container IP or hostname and fetch it directly from the container (recommended) or map the port to the host.

@Sreekanth-BM
Copy link

Yes, it worked!

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

No branches or pull requests

3 participants