On Thu, 9 Apr 2020 at 23:02, Jeff Berkowitz <[email protected]> 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.
>

That is valid in the exposition format, as you might have a labelled metric
that doesn't have any children yet.

Brian


>
> 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/3f6ba686-11af-48e7-8476-8abc0e801dbf%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-developers/3f6ba686-11af-48e7-8476-8abc0e801dbf%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>


-- 
Brian Brazil
www.robustperception.io

-- 
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/CAHJKeLrA5KoRCguurVR1xm%2BfBY1_hWvhC86WEyuT6fHTNP4Uyw%40mail.gmail.com.

Reply via email to