micrometer: Prometheus Push Gateway - error during metrics collection
Hi
I am using prometheus gateway and I have a problem. Gateway reporting this error:
An error has occurred during metrics collection:
gathered metric family process_start_time_seconds has help "The start time of the Java virtual machine" but should have "Start time of the process since unix epoch in seconds."
So it cannot be scraped any data from push gateway into prometheus server.
Any idea how to solve this?
Used versions (all latest):
Micrometer (core, spring-legacy, registry-prometheus) 1.0.0-rc.4
Prometheus Java client (simpleclient, pushgateway) 0.1.0
Prometheus Push Gateway 0.4.0
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 16 (10 by maintainers)
Commits related to this issue
- Sample to diagnose description text problem on Prometheus Pushgateway (issue #243) — committed to micrometer-metrics/micrometer by jkschneider 7 years ago
- Fixed help message to conform to prometheus-pushgateway Because of https://github.com/micrometer-metrics/micrometer/issues/243, you'll get an error from prometheus-pushgateway: ``` An error has o... — committed to tsl-karlp/micrometer by tsl-karlp 6 years ago
- Fixed help message to conform to prometheus-pushgateway Because of https://github.com/micrometer-metrics/micrometer/issues/243, you'll get an error from prometheus-pushgateway: ``` An error has o... — committed to micrometer-metrics/micrometer by tsl-karlp 6 years ago
- Fixed help message to conform to prometheus-pushgateway Because of https://github.com/micrometer-metrics/micrometer/issues/243, you'll get an error from prometheus-pushgateway: ``` An error has o... — committed to micrometer-metrics/micrometer by tsl-karlp 6 years ago
Please see #758 for further details. The PR might fix it by adjusting the metric name we expose. But in the end it’s a regression in pushgateway:0.5.0+ which is being worked on. In the meantime, you can downgrade to pushgateway:0.4.0 in case you are not requiring any features/fixes from the 0.5.x line.