Skip to Content
Hands-On Software Engineering with Golang
book

Hands-On Software Engineering with Golang

by Achilleas Anagnostopoulos
January 2020
Intermediate to advanced
640 pages
16h 56m
English
Packt Publishing
Content preview from Hands-On Software Engineering with Golang

Supported metric types

When it comes to a sophisticated metrics collection system such as Prometheus, you would normally expect support for a wide array of metric types. Unless you have prior experience using Prometheus, you will probably be surprised to find out that it only supports four types of metrics. In practice, however, when these metric types are combined with the expressiveness of the PromQL language, these are all we need to model any type of SLI we can think of! Here is the list of metrics supported by Prometheus:

  • Counters: A counter is a cumulative metric whose value increases monotonically over time. Counters can be used to track the number of requests to a service, the number of downloads for an application, and so on.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hands-On Software Architecture with Golang

Hands-On Software Architecture with Golang

Jyotiswarup Raiturkar

Publisher Resources

ISBN: 9781838554491Supplemental Content