Commit Graph

134 Commits

Author SHA1 Message Date
Aliaksandr Valialkin
984b12dbb5 Add easy-to-use histograms 2019-11-23 00:16:38 +02:00
Aleksandr Razumov
42ee365914 all: fix typo lables -> labels (#3)
Thanks!
2019-09-30 00:06:17 +03:00
Artem Navoiev
cc02f82ddd [ci] update actions workflow. Run main flow when PR comes from fork 2019-09-11 09:35:50 +03:00
Artem Navoiev
a063987ba4 [ci] use github actions 2019-09-08 14:53:45 +03:00
Aliaksandr Valialkin
b9f1652800 Marshal integer *_sum metric for Summary without scientific notation 2019-08-13 13:24:46 +03:00
Aliaksandr Valialkin
c68df4bc3d Expose process_cpu_seconds_system_total and process_cpu_seconds_user_total in process metrics 2019-08-05 19:16:20 +03:00
Aliaksandr Valialkin
5a9cdd0bef Add process_* metrics similar to the metrics exposed by https://github.com/prometheus/client_golang
Updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/92
2019-07-12 17:18:57 +03:00
Aliaksandr Valialkin
2c308dd067 Properly handle metric names with lables when printing *_count and *_sum values for Summary 2019-06-28 14:14:47 +03:00
Aliaksandr Valialkin
9ee7f68256 go.mod: remove go1.13 line, so it will compile on go1.12 and go1.11 2019-06-28 14:02:13 +03:00
Aliaksandr Valialkin
d8a137bf94 Add <summary>_sum and <summary>_count values for Summary
This improves output compatibility with Prometheus Summary type
defined at https://prometheus.io/docs/concepts/metric_types/#summary
2019-06-28 13:58:41 +03:00
Aliaksandr Valialkin
6fc4c03c79 Update Summary quantiles before writing them to the output.
Previously Summary quantiles were updated after writing them to the output,
so the output contained old quantile values.
2019-06-28 11:13:39 +03:00
Aliaksandr Valialkin
2280bf270b README.md: mention the ability to export distinct metric sets via distinct endpoints 2019-06-01 23:26:53 +03:00
Aliaksandr Valialkin
0b2328476c typo fixes in ExampleSet 2019-06-01 23:24:25 +03:00
Aliaksandr Valialkin
ebce157dde Add Set for controlling metric sets to be exported via WritePrometheus call 2019-06-01 23:18:41 +03:00
Aliaksandr Valialkin
487af0fbfc Add a reference to VictoriaMetrics in package docs 2019-04-21 02:56:28 +03:00
Aliaksandr Valialkin
fb18155057 metrics.go: remove unused startTime 2019-04-17 14:43:23 +03:00
Aliaksandr Valialkin
6cd90960e1 Added GetOrCreateGauge to be consistent with Counter and Summary 2019-04-15 15:34:02 +03:00
Aliaksandr Valialkin
d8d17da673 Point to a Counter, which could be used as a gauge 2019-04-15 15:22:58 +03:00
Aliaksandr Valialkin
7c4a402be3 README.md: point to an example for CounterVec alternative 2019-04-11 17:28:52 +03:00
Aliaksandr Valialkin
bded4324a5 Added examples 2019-04-11 17:26:20 +03:00
Aliaksandr Valialkin
4ea76dd6b8 typo fix 2019-04-11 14:04:01 +03:00
Aliaksandr Valialkin
bf93e5d810 Added GetOrCreateSummary* 2019-04-11 14:03:30 +03:00
Aliaksandr Valialkin
fd3b1c9ee6 README.md: add whitespace 2019-04-11 13:07:29 +03:00
Aliaksandr Valialkin
bfffe95d07 refactored and added tests 2019-04-11 13:03:32 +03:00
Aliaksandr Valialkin
0b4667243b README.md: prettifying 2019-04-10 17:24:35 +03:00
Aliaksandr Valialkin
adb3c38465 Add FAQ section 2019-04-10 16:16:34 +03:00
Aliaksandr Valialkin
6b40edc7ad Return gauge object from NewGauge to be consistent with NewCounter and NewSummary 2019-04-10 15:14:47 +03:00
Aliaksandr Valialkin
d9e8d487bc metrics.go: improve docs 2019-04-08 21:15:17 +03:00
Aliaksandr Valialkin
a62b8e250a README.md: fixed NewGauge usage 2019-04-08 21:11:48 +03:00
Aliaksandr Valialkin
d3611a2799 Mention how to expose metrics on the /metrics page 2019-04-08 20:51:06 +03:00
Aliaksandr Valialkin
ab79b3496c README.md: remove unused badges 2019-04-08 17:10:39 +03:00
Aliaksandr Valialkin
8fa7658180 README.md: prettifying 2019-04-08 17:05:34 +03:00
Aliaksandr Valialkin
5cc39fde95 README.md: added usage section 2019-04-08 16:37:53 +03:00
Aliaksandr Valialkin
b1d3992f35 Initial commit 2019-04-08 16:29:16 +03:00