Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upfederation endpoint should include HELP/TYPE metadata #3935
Comments
This comment has been minimized.
This comment has been minimized.
|
This is as expected, and has always worked this way. It makes more sense to ask questions like this on the prometheus-users mailing list rather than in a GitHub issue. On the mailing list, more people are available to potentially respond to your question, and the whole community can benefit from the answers provided. |
brian-brazil
closed this
Mar 8, 2018
This comment has been minimized.
This comment has been minimized.
|
Sorry - it did not seem like a "how to use" question but a problem. I understand it's always worked this way. Is the opinion that this is good and should stay that way? |
This comment has been minimized.
This comment has been minimized.
|
That is a complicated question. This is not what federation is for in any case, if you need this use the text format parser directly on the targets. |
This comment has been minimized.
This comment has been minimized.
|
Federation could be useful if it federates (centralizes/abstracts) the targets. Often one does not even have access to the individual targets (because they're on an isolated network vlan as in kubernetes). To what extent would a higher-tier prometheus server be able to do all the same calculations on a federated data stream (sans metadata) as it could if it did reach the targets directly? |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
fche commentedMar 8, 2018
•
edited
What did you do?
Started consuming /federate?match[]= data by other tools, as though it were a normal prometheus-exporter format.
What did you expect to see?
HELP and TYPE metadata passed through from the upstream exporters.
What did you see instead? Under which circumstances?
Always
# TYPE .... untyped
This makes the federation facility lossy in terms of information, especially with respect to summary/histogram types.
This was with prometheus 2.0.0