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

Most upvoted comments

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.