Skip to content

Conversation

@yolossn
Copy link
Contributor

@yolossn yolossn commented May 16, 2021

No description provided.

@andrewpollack
Copy link

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!

@yolossn
Copy link
Contributor Author

yolossn commented May 16, 2021

@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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.
Copy link

@andrewpollack andrewpollack May 16, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/layman/layperson


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?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mhausenblas I think giving a simple yet generic example will be more apt than getting into something specific.

@andrewpollack
Copy link

@andrewpollack sorry I am not able to see any suggestions. Am I missing something here?

My bad, I think I forgot to publish! Try checking now

Copy link

@mhausenblas mhausenblas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!


### 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.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/layman/layperson


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?

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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>
@hdost
Copy link
Contributor

hdost commented Jun 14, 2021

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?
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That feels weird in an intro section.

yolossn and others added 3 commits July 27, 2021 14:19
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>
@RichiH RichiH merged commit 2ea2e45 into prometheus:master Jul 27, 2021
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.

5 participants