VictoriaMetrics / metrics

Lightweight alternative to github.com/prometheus/client_golang
MIT License
525 stars 59 forks source link

go_* metrics do not use VictoriaMetrics histogram #68

Open penguinlav opened 6 months ago

penguinlav commented 6 months ago

I'm using export process metrics as described in the example.

metrics.WritePrometheus(w, true)

and the timing metrics use a Prometheus type histogram with le instead of a VM type histogram with vmrange.

go_sched_latencies_seconds_bucket{le="0"} 0

Why is that? Do you plan to support the ability to provide go_* histogram metrics using the VM way?

cristaloleg commented 6 months ago

Probably related https://github.com/VictoriaMetrics/metrics/issues/28