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

collecting the metrics #5

Open
ranyhb opened this issue May 30, 2022 · 1 comment
Open

collecting the metrics #5

ranyhb opened this issue May 30, 2022 · 1 comment

Comments

@ranyhb
Copy link

ranyhb commented May 30, 2022

hi,

is it possiable to change the code so the image can push the metrics into the pushgetaway of the prometheus instead of the waiting to the prometheus to collect the metrics. the reason of this change is when you use this image with the k6-operator, the prometheus isn't fast enough to collect the metrics, meaning, when the job is completed, the prometheus woudn't be able to collect to metrics.

@ranyhb ranyhb changed the title collicting the metrics collectingthe metrics May 31, 2022
@ranyhb ranyhb changed the title collectingthe metrics collecting the metrics May 31, 2022
@zibul444
Copy link

You can use the registration service when starting and stopping tests
https://prometheus.io/docs/prometheus/latest/http_sd/
We did just that

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

2 participants