Document metrics and update overview section#1950
Conversation
|
Thank you for the initiative @yolossn 😄 I've made some grammar suggestions to help with the overall flow, and this is a fantastic resource for people who are starting out. Apologies if I over-commented as this is my first PR review for this project, and hope this was helpful! |
|
@andrewpollack sorry I am not able to see any suggestions. Am I missing something here? |
| [Cloud Native Computing Foundation](https://cncf.io/) in 2016 | ||
| as the second hosted project, after [Kubernetes](http://kubernetes.io/). | ||
|
|
||
| Prometheus collects and stores all the metrics data as time series, i.e metrics information |
There was a problem hiding this comment.
| Prometheus collects and stores all the metrics data as time series, i.e metrics information | |
| Prometheus collects and stores its metrics as time series data, i.e. metrics information |
| as the second hosted project, after [Kubernetes](http://kubernetes.io/). | ||
|
|
||
| Prometheus collects and stores all the metrics data as time series, i.e metrics information | ||
| is stored along with the timestamp at which it was recorded, optional key-value pairs |
There was a problem hiding this comment.
| is stored along with the timestamp at which it was recorded, optional key-value pairs | |
| is stored with the timestamp at which it was recorded, alongside optional key-value pairs |
|
|
||
| Prometheus collects and stores all the metrics data as time series, i.e metrics information | ||
| is stored along with the timestamp at which it was recorded, optional key-value pairs | ||
| called as labels can also be stored along with metrics. |
There was a problem hiding this comment.
| called as labels can also be stored along with metrics. | |
| called labels. |
|
|
||
| ### What are metrics ? | ||
|
|
||
| Metrics in layman terms is a standard for measurement. What we want to measure differs from application to application. For a web server it can be request times, for a database it can be number of active connections or number of active queries etc. |
There was a problem hiding this comment.
| Metrics in layman terms is a standard for measurement. What we want to measure differs from application to application. For a web server it can be request times, for a database it can be number of active connections or number of active queries etc. | |
| In layperson terms, metrics are a standard for measurement. What we want to measure differs from application to application. For a web server it can be request times for a database it can be number of active connections or number of active queries etc. |
|
|
||
| Metrics in layman terms is a standard for measurement. What we want to measure differs from application to application. For a web server it can be request times, for a database it can be number of active connections or number of active queries etc. | ||
|
|
||
| Metrics play an important role in understanding why your application is working in a certain way. Lets assume you are running a web application and find that the application is slow. You will need some information to find out what is happening with your application. For example the application can become slow when the number of requests are high. If you have the request count metric you can spot the reason and increase the number of servers to handle the heavy load. Whenever you are defining the metrics for your application you must put on your detective hat and ask this question what all information will be important for me to debug if any issue occurs in my application? |
There was a problem hiding this comment.
| Metrics play an important role in understanding why your application is working in a certain way. Lets assume you are running a web application and find that the application is slow. You will need some information to find out what is happening with your application. For example the application can become slow when the number of requests are high. If you have the request count metric you can spot the reason and increase the number of servers to handle the heavy load. Whenever you are defining the metrics for your application you must put on your detective hat and ask this question what all information will be important for me to debug if any issue occurs in my application? | |
| Metrics play an important role in understanding why your application is working in a certain way. Let's assume you are running a web application and find that the application is slow. You will need some information to find out what is happening with your application. For example, the application can become slow when the number of requests are high. If you have the request count metric, you can spot this reason and increase the number of servers to handle the heavy load. | |
| Whenever you are defining the metrics for your application, you must put on your detective hat and ask this question: what information will be important for me to debug if any issue occurs in my application? |
There was a problem hiding this comment.
I wonder if it would help here if we would be more explicit with the example. So, rather than talking in general about a web app and requests, how about a concrete example using HTTP API, GET requests, etc.?
There was a problem hiding this comment.
@mhausenblas I think giving a simple yet generic example will be more apt than getting into something specific.
My bad, I think I forgot to publish! Try checking now |
|
|
||
| ### What are metrics ? | ||
|
|
||
| Metrics in layman terms is a standard for measurement. What we want to measure differs from application to application. For a web server it can be request times, for a database it can be number of active connections or number of active queries etc. |
|
|
||
| Metrics in layman terms is a standard for measurement. What we want to measure differs from application to application. For a web server it can be request times, for a database it can be number of active connections or number of active queries etc. | ||
|
|
||
| Metrics play an important role in understanding why your application is working in a certain way. Lets assume you are running a web application and find that the application is slow. You will need some information to find out what is happening with your application. For example the application can become slow when the number of requests are high. If you have the request count metric you can spot the reason and increase the number of servers to handle the heavy load. Whenever you are defining the metrics for your application you must put on your detective hat and ask this question what all information will be important for me to debug if any issue occurs in my application? |
There was a problem hiding this comment.
I wonder if it would help here if we would be more explicit with the example. So, rather than talking in general about a web app and requests, how about a concrete example using HTTP API, GET requests, etc.?
Signed-off-by: yolossn <nssvlr@gmail.com>
|
Relates to #1856 |
|
|
||
| Metrics play an important role in understanding why your application is working in a certain way. Lets assume you are running a web application and find that the application is slow. You will need some information to find out what is happening with your application. For example the application can become slow when the number of requests are high. If you have the request count metric you can spot the reason and increase the number of servers to handle the heavy load. | ||
|
|
||
| Whenever you are defining the metrics for your application you must put on your detective hat and ask this question what all information will be important for me to debug if any issue occurs in my application? |
There was a problem hiding this comment.
That feels weird in an intro section.
Co-authored-by: Richard Hartmann <RichiH@users.noreply.github.com>
Co-authored-by: Richard Hartmann <RichiH@users.noreply.github.com>
Co-authored-by: Richard Hartmann <RichiH@users.noreply.github.com>
No description provided.