This is valid. The HELP do not change per labelset and you don't always know the labels in advance, so you can register metrics before they actually have a value or labelsets.
On Friday, April 10, 2020 at 12:02:49 AM UTC+2, Jeff Berkowitz wrote: > > The Pushgateway (1.2.0) accepts "# TYPE metric-name metric-type" lines > even when the metric-name does not occur in the push data. > > Is this a quirk in the Pushgateway implementation or is it an intentional > feature? The exposition spec covers the case of a metric-name without an > explicit metric-type. The spec does not mention the case of an explicit > metric-type without a metric-name. > > I am an employee of Oracle USA. > > -- You received this message because you are subscribed to the Google Groups "Prometheus Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-developers/2c717a72-fdcb-4187-8edb-33189b9ca969%40googlegroups.com.

