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

Question about metrics #141

Closed
jhjacobs81 opened this issue Sep 9, 2022 · 4 comments
Closed

Question about metrics #141

jhjacobs81 opened this issue Sep 9, 2022 · 4 comments

Comments

@jhjacobs81
Copy link

jhjacobs81 commented Sep 9, 2022

I am very new to both Grafana and Apache exporter, and i was curious.
What is the difference between this one:

TYPE apache_accesses_total counter

and this one:

TYPE apache_duration_ms_total gauge

I am looking for a way to show the response times of how long it takes when i request a page, and when apache says its finished. For one client they have a request that it takes no longer then so many ms between request and completion :)

@jhjacobs81
Copy link
Author

i am looking for a way to show how long it takes a page to load.. not sure which one to use!

@blkperl
Copy link
Collaborator

blkperl commented Feb 17, 2023

Hey @jhjacobs81 ,

  • apache_accesses_total is good for calculating requests per second.
  • apache_duration_ms_total would tell you how long a request took. Since a page is often multiple requests to different resources it wouldn't tell you how long a page takes to load. A different tool would be more suitable to measure page load time.

@MarcinPrzadlo
Copy link

MarcinPrzadlo commented Feb 17, 2023 via email

@blkperl
Copy link
Collaborator

blkperl commented Apr 5, 2023

Let us know if you have any more questions

@blkperl blkperl closed this as completed Apr 5, 2023
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