Repository navigation
Migrate from kube-prometheus-metrics to victoria-metrics-k8s-stack - #592
Conversation
41e8cb5 to
b9a2863
Compare
b9a2863 to
7ae7462
Compare
|
@lhotari could you share some details on impact of staying with |
@mrtworo I had limited time to spend on it and I seemed to have ran into some Prometheus bugs. one of them contained similar error messages as prometheus/prometheus#16160 . To be actually sure about the reasons, it would require time and effort that I don't have. With victoria-metrics-k8s-stack, I didn't run into problems and I was able to get the dashboards into a usable state. |
PR apache#592 migrated all *-podmonitor.yaml templates to use the shared pulsar.podMonitor helper in _monitor.tpl, which renders either a Prometheus PodMonitor or a VictoriaMetrics VMPodScrape resource. Adapted the customLabels feature to the new structure by injecting the labels in the shared helper instead of in each individual file, so they apply to both resource kinds and to all components covered by the helper (broker, bookkeeper, autorecovery, proxy, zookeeper, oxia-coordinator, oxia-server, standalone).
Motivation
kube-prometheus-stack has been replaced by victoria-metrics-k8s-stack for Pulsar Helm Chart version 4.0.0 due to
Prometheus incompatibility with Pulsar metrics since Pulsar 2.11.0 . Pulsar exposes metrics in a format that is partially OpenMetrics 1.0.0 text format, but isn't fully compatible. Prometheus doesn't provide proper support for OpenMetrics 1.0.0 text format, even in Prometheus version 3.2.1 where it was extensively tested before making the switch to Victoria MetricsVictoria Metrics is Apache 2.0 Licensed OSS and it's fully compatible with Prometheus.
Modifications
Additional context