Commit Graph

23 Commits

Author SHA1 Message Date
Aliaksandr Valialkin
cd448dd4c1
Revert "support push config for InitPush (#53)"
This reverts commit 42c28a8486.

Reason for revert: the provided additional public API looks not very good for future support.
See https://github.com/VictoriaMetrics/metrics/pull/53#pullrequestreview-1785442537 for details.
2023-12-17 15:39:32 +02:00
Dmytro Kozlov
42c28a8486
support push config for InitPush (#53)
PushConfig represents a struct package uses for pushing
metrics to remote destination. Having a structure
helps to extend functionality in the future, without
touching the signature of existing functions.

For example, `PushConfig` supports custom HTTP headers
via `Headers` param.

Updates https://github.com/VictoriaMetrics/metrics/issues/52
Updates https://github.com/VictoriaMetrics/metrics/issues/36 

Co-authored-by: hagen1778 <roman@victoriametrics.com>
2023-12-15 13:08:55 +01:00
Aliaksandr Valialkin
6cf96d45a0
add functionality for periodic pushing metrics to remote storage via InitPush* 2022-07-20 16:53:12 +03:00
Aliaksandr Valialkin
7fa54d40f0
README.md: rename "time series" to more clear "metrics" in the example 2022-07-20 14:56:10 +03:00
Aliaksandr Valialkin
96a67ce905
README.md: add a link to Prometheus metric naming convention 2022-07-20 12:50:30 +03:00
Aliaksandr Valialkin
264e71c98a document exported process_* metrics 2021-03-18 18:49:19 +02:00
Harmen
b862701a8d
fix example link (#20)
The link redirects to https://pkg.go.dev/github.com/VictoriaMetrics/metrics#example-Counter--Vec , which doesn't exist (note the double `--`: godoc has two slashes, pkg.go.dev only one).

It's maybe a bit weird to link to pkg.go.dev for only one link. I can switch them all over if you prefer. Or they could all go to https://godocs.io instead, which still uses the double `--`: https://godocs.io/github.com/VictoriaMetrics/metrics#example-Counter--Vec
2021-02-17 01:17:17 +02:00
Aliaksandr Valialkin
007e78a6c7 Add links to https://medium.com/@valyala/improving-histogram-usability-for-prometheus-and-grafana-bc7e5df0e350 from Histogram docs 2019-11-27 14:01:15 +02:00
Aliaksandr Valialkin
eab0e32ed4 Added docs about Histogram 2019-11-23 13:04:24 +02:00
Artem Navoiev
a063987ba4 [ci] use github actions 2019-09-08 14:53:45 +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
7c4a402be3 README.md: point to an example for CounterVec alternative 2019-04-11 17:28:52 +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
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